2. Soldering the headers Before using your click board, make sure to solder 1x8 male headers to both left and right side of the board. Two 1x8 male headers are included with the board in the package. 1 IR reflect click 2 3 4. Essential features These sensors are used to detect an objects presence or motion, such as a piece of paper passing through a printer. To avoid setting off false alarms, avoid exposing the sensor to other sources of infrared light (which could come from an ordinary incandescent Turn the board upside down so that Turn the board upward again. Make sure light bulb). Also, black objects wont reflect the bottom side is facing you upwards. to align the headers so that they are infrared so the click wont detect them. On Place shorter pins of the header into the perpendicular to the board, then solder the the other hand, reflective metalic surfaces will 1. Introduction appropriate soldering pads. pins carefully. trigger the sensor from a larger range. IR reflect click carries a GP2S700HCP reflective photointerrupter. On this type of photointerrupter the infrared emitter and 3. Plugging the board in receiver are facing the same direction the click infrared beam from the emitter gets bounced Once you have soldered the headers your back to the receiver when an object is placed board is ready to be placed into the desired BOARD within the detecting range of the sensor mikroBUS socket. Make sure to align the www.mikroe.com (Optimal Sensing Distance is 3mm). IR reflect cut in the lower-right part of the board with click communicates with the target board the markings on the silkscreen at the microcontroller through mikroBUS AN and mikroBUS socket. If all the IR reect click manual ver 1.02 INT pins (an onboard potentiometer sets pins are aligned correctly, the Interrupt threshold). Its designed to use push the board all the way either a 3.3V (by default) or 5V power supply. into the socket. 01000000772908. Code examples 5. Schematic Once you have done all the necessary VCC VCC preparations, its time to get your click board R10 R8 up and running. We have provided examples 4K7 5K6 P1 for mikroC , mikroBasic and mikroPascal compilers on our Libstock website. Just download them and you are ready to start. R9 0R LD2 R11 0R C2 GND VCC VCC VCC VCC VCC VCC .com 100nF R5 R2 M1 3.3V 5V 4K7 120 DMG3420U R1 GND 2K2 U1 R6 1 8 1OUT VCC DETECTING OBJECT SURFACE 2 7 1IN- 2OUT 1K 3 LM2903 6 9. Support 1IN+ 2IN- 4 5 GND 2IN+ LM2903 S1 AN PWM EMITTER ANODE 1 4 MikroElektronika offers free tech support RST INT VCC CS TX (www.mikroe.com/support) until the end of SCK RX LD1 SCL C1 MISO the products lifetime, so if something goes MOSI SDA 2.2uF 2 3 +3.3V +5V COLLECTOR CATHODE GND GND wrong, were ready and willing to help R7 R3 MIKROBUS DEVICE CONN. N/A 3K3 R4 6K8 GND GND GND GND GND GND GND GND GND 6. Dimensions 7. IR eclipse click 10. Disclaimer MikroElektronika assumes no responsibility mm mils or liability for any errors or inaccuracies that may appear in the present document. LENGTH 57.15 2250 Specification and information contained in WIDTH 25.4 1000 the present schematic are subject to change HEIGHT* 7.62 300 A different type of photo interrupter, one in at any time without notice. which the emitter and receiver face each other 57.15 / 2250 mils * without headers is also available, with IR eclipse click . Visit: Copyright 2015 MikroElektronika. www.mikroe.com/click/ir-eclipse All rights reserved. 25.4 mm / 1000 mils GP2S700HCP 3mm 1 2 3