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 UV click 2 3 4. Essential features With UV click , you can measure ultraviolet 1. Introduction light intensity both indoors and outdoors. The photodiode on the ML8511 IC is sensitive to UV-A (365315 nm) and UV-B (315-280 nm) rays. You can use UV click to design devices that protect the user against excesive sun exposure, or for Turn the board upside down so that Turn the board upward again. Make sure industrial purposes where UV light is used the bottom side is facing you upwards. to align the headers so that they are for sterilization. When using UV click , be Place shorter pins of the header into the perpendicular to the board, then solder careful not to rub or press the surface of appropriate soldering pads. the pins carefully. the ML8511 IC. UV click is a simple solution for adding an ultraviolet light sensor to your design. 3. Plugging the board in It carries the ML8511 IC UV sensor with click analog voltage output and a MCP3201 ADC. Once you have soldered the headers your UV click can output either analog or digital board is ready to be placed into the desired BOARD signals (determined by the position of the mikroBUS socket. Make sure to align the www.mikroe.com A/D SEL jumper). Therefore, it communicates cut in the lower-right part of the board with with the target board either through the markings on the silkscreen at the UV click manual mikroBUS SPI (CS, SCK, MISO), or AN lines mikroBUS socket. If all the pins ver. 1.00 additionally, the sensor can be enabled or are aligned correctly, push the disabled from the MCU through the RST (EN) board all the way into the socket. 0 100000 026984 pin. UV click uses a 3.3V power supply. 5. UV click board schematic 6. A/D SEL jumpers To switch between analog and digital output options, resolder the onboard J1 SMD jumper (zero-ohm resistor). By default, its VCC-3.3V VCC-3.3V VCC-3.3V soldered in the ADC position. C5 C4 C3 100nF 100nF 1uF A/D SEL J1 VCC-3.3V GND VCC-3.3V 7. Code examples VCC-3.3V U1 VCC-3.3V Once you have done all the necessary NC NC R2 NC NC U2 preparations, its time to get your click board 10K NC TR 1 8 AN OUT EN TP Vref Vdd AN PWM up and running. We have provided examples 2 7 CLK EN GND OUT IN+ CLK RST INT 3 6 SDO CS for mikroC , mikroBasic and mikroPascal NC VDD IN- Dout CS TX 4 5 CS CLK ML8511 Vss CS SCK RX compilers on our Libstock website. Just SDO SCL MISO MCP3201 MOSI SDA download them and you are ready to start. VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V +3.3V +5V C6 C7 GND GND GND 1nF 1nF R1 MIKROBUS DEVICE CONN. 2K2 R3 C2 C1 10K GND GND GND 100nF 1uF .com LD1 GND GND AN OUT EN 8. Support MikroElektronika oers ff free tech support (www.mikroe.com/support) until the end of the products lifetime, so if something goes wrong, were 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 2014 MikroElektronika. All rights reserved.