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 Light click 2 3 4. Essential features 1. Introduction Light Click with its PD15-22C-TR8 and MCP3201 ICs is a high photosensitive light sensor with fast response time. The board is capable of measuring ambient light intensity and provides a signal (analog or Turn the board upside down so that Turn the board upward again. Make sure digital) to the main board microcontroller. bottom side is facing you upwards. Place to align the headers so that they are All these features make this board ideal for shorter parts of the header pins in both perpendicular to the board, then solder the high speed photo detector, copier, game soldering pad locations. pins carefully. machine and many more. Light Click is an accessory board in mikroBUS form factor. Its a compact 3. Plugging the board in and easy solution for adding light sensor click to your design. It features PD15-22C- Once you have soldered the headers your TR8 PIN photodiode, MAX6106 voltage board is ready to be placed into desired BOARD reference and MCP3201 ADC with SPI mikroBUS socket. Make sure to align the www.mikroe.com interface. Light Click communicates cut in the lower-right part of the board with the target board microcontroller via with the markings on the silkscreen at the Light click Manual mikroBUS SPI (MISO, SCK, CS) and AN mikroBUS socket. If all of the pins are ver. 1.01 lines. The board is designed to use 3.3V aligned correctly, push the board all and 5V power supply. LED diode (GREEN) the way into the socket. indicates the presence of power supply. 0 100000 0237616. SMD Jumpers 5. Light Click Board Schematic The Light Click board communicates with the main board microcontroller 2 via IC interface (ADC) or directly through the analog pin (AN) depending on the position of the J2 SMD jumper (ADC position by default). There is one zero-ohm SMD jumper J1 used to select whether 3.3V or 5V power supply will be VCC VCC VCC-3.3V VCC-3.3V used. (3.3V position by default). C3 C4 100nF 1uF C1 C2 100nF 1uF 7. Code Examples VCC REF1 PWR SEL VCC-3.3V VCC 1 Once you have done all the necessary VIN 3 J1 VSS 2 VOUT preparations, its time to get your click MAX6106EUR+ VCC board up and running. We have provided R3 R4 C9 A/D SEL 100nF 27K4 100K the examples for mikroC, mikroBasic and J2 R5 U2B U3 AN OUT AN PWM mikroPascal compilers on our Libstock 10K 6 1 8 Vref Vdd RST INT 7 2 7 SCK CS R2 R6 IN+ CLK CS TX website. Just download them and you are 5 3 6 SDO SCK IN- Dout SCK RX 4 5 CS SDO 1M 150K Vss CS SCL MISO ready to start. LM358 SDA MOSI VCC-3.3V MCP3201 C8 +3.3V +5V U1 100nF U2A GND GND VCC VCC 1 2 2 LM358 MIKROBUS DEVICE CONN. 1 .com 3 1 2 C5 C6 100nF 1uF PD15-22C-TR8 AN OUT 8. Support MikroElektronika oers ff Free Tech Support (www.mikroe.com/esupport) until the end of product lifetime, so if something goes wrong, we are ready and willing to help MikroElektronika assumes no responsibility or liability for any errors or inaccuracies that may appear in the present document. Specification and information contained in the present schematic are subject to change at any time without notice. Copyright 2013 MikroElektronika. All rights reserved. 4 8