Note
The UV Light Bricklet is discontinued and is no longer sold. The UV Light Bricklet 2.0 is the recommended replacement.
The UV Light Bricklet can be used to extend the features of Bricks with the capability to measure UV light. The measured UV light can be read out in µW/cm². 1 µW/cm² equals 0.004 UV Index. With configurable events it is possible to react on changing values without polling.
Typical applications are sunscreen warning and environmental data logging.
Property | Value |
---|---|
Sensor | VEML6070 |
Current Consumption | < 5mW (< 1mA at 5V) |
Measurement Range | 0mW/cm² to 328mW/cm² |
Resolution | 1µW/cm² (0.004 UV Index) |
Spectral Range | 320nm to 410nm (UVA) |
Dimensions (W x D x H) | 25 x 15 x 5mm (0.98 x 0.59 x 0.19") |
Weight | 2g |
To test a UV Light Bricklet you need to have Brick Daemon and Brick Viewer installed. Brick Daemon acts as a proxy between the USB interface of the Bricks and the API bindings. Brick Viewer connects to Brick Daemon. It helps to figure out basic information about the connected Bricks and Bricklets and allows to test them.
Connect the UV Light Bricklet to a Brick with a Bricklet Cable.
If you connect the Brick to the PC over USB, you should see a new tab named "UV Light Bricklet" in the Brick Viewer after a moment. Select this tab. If everything went as expected the Brick Viewer should look as depicted below.
After this test you can go on with writing your own application. See the Programming Interface section for the API of the UV Light Bricklet and examples in different programming languages.
A laser-cut case for the UV Light Bricklet is available.
The assembly is easiest if you follow the following steps:
Below you can see an exploded assembly drawing of the UV Light Bricklet case:
Hint: There is a protective film on both sides of the plates, you have to remove it before assembly.
See Programming Interface for a detailed description.
Language | API | Examples | Installation |
---|---|---|---|
C/C++ | API | Examples | Installation |
C# | API | Examples | Installation |
Delphi/Lazarus | API | Examples | Installation |
Go | API | Examples | Installation |
Java | API | Examples | Installation |
JavaScript | API | Examples | Installation |
LabVIEW | API | Examples | Installation |
Mathematica | API | Examples | Installation |
MATLAB/Octave | API | Examples | Installation |
MQTT | API | Examples | Installation |
openHAB | API | Examples | Installation |
Perl | API | Examples | Installation |
PHP | API | Examples | Installation |
Python | API | Examples | Installation |
Ruby | API | Examples | Installation |
Rust | API | Examples | Installation |
Shell | API | Examples | Installation |
Visual Basic .NET | API | Examples | Installation |
TCP/IP | API | ||
Modbus | API |