# Title: UVB Click Board™ ## Description: How Does The UVB Click Board™ Work? The UVB Click Board™ is based on the GUVB-C31SM, a Digital UV Sensor from GENUV Technology. The sensor detects UVB light, as it includes on-chip GaN Sensors for UVB. The current generated by photo detectors is converted and measured by ADC and changed to 16-bit resolution digital data. The measured data can be delivered to host via I2C serial interface. Spectral responsivity of sensor is from 240nm up to 320nm which covers full range of UVB spectrum that's defined as light with wavelength from 280nm up to 315nm. The atmosphere blocks about 77% of the Sun's UV, of the ultraviolet radiation that reaches the Earth's surface, more than 95% is the longer wavelengths of UVA, with the small remainder UVB. Overexposure to UVB radiation not only can cause sunburn but also some forms of skin cancer. UVB radiation can cause direct DNA damage. This cancer connection is one reason for concern about ozone depletion and the ozone hole. One of the benefits of UV light is that it causes the body to produce vitamin D (specifically, UVB), which is essential for life. The human body needs some UV radiation to maintain adequate vitamin D levels; however, excess exposure produces harmful effects that typically outweigh the benefits. With all of this in mind it's very useful to know the amount of UVB radiation that you are exposed to, and the UVB Click Board™ is perfect solution for such purpose, and perfect tool for developing wearable devices or weather stations that can report amount of UVB light intensity. Since sensor is supplied with 3.3V only, also featured on the UVB Click Board™ is voltage level shifter. For the level shifting, the PCA9306 dual bidirectional I2C bus and SMBus voltage level shifter is used. This level shifter IC allows shifting (converting) the I2C signal levels to the voltage level selected by the VCC SEL onboard SMD jumper. This allows both 3.3V and 5V capable MCUs to be interfaced with the UVB Click board™. SPECIFICATIONS Type Optical Applications It can be used for UV measurement applications, sun exposure protection devices, prototyping of wearables, handsets, and various consumer electronics based on received UV light On-board modules GUVB-C31SM Key Features UVB sensing with 16-bit resolution, Support UV index measurement (0~16), Response at only UV range Interface I2C Compatibility mikroBUS Click board size S (28.6 x 25.4 mm) Input Voltage 3.3V or 5V PINOUT DIAGRAM This table shows how the pinout on UVB Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes NC 1 AN PWM 16 NC NC 2 RST INT 15 NC NC 3 CS RX 14 NC NC 4 SCK TX 13 NC NC 5 MISO SCL 12 SCL I2C Clock NC 6 MOSI SDA 11 SDA I2C Data Power Supply 3.3V 7 3.3V 5V 10 5V Power Supply Ground GND 8 GND GND 9 GND Ground ONBOARD SETTINGS AND INDICATORS Label Name Default Description PWR LD1 - Power LED Indicator VCC SEL JP1 Left Logic level voltage selection: left position 3V3, right position 5V TECHNICAL SPECIFICATION Characteristic Value UVB sensing resolution 16-bit UV index measurement 0~16 Spectral responsivity 240nm - 320nm ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Click Board, Genicom, MikroE, Optical, Sensor ## Price range: 20.3 - 20.3 GBP ## Link: https://thedebugstore.com/products/uvb-click-board-mikroe-4145-uk ## Compare-at price range: 29.0 - 29.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [Sensor Click Boards™](https://thedebugstore.com/a/llms/collections/sensor-click-boards-catalogue) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Optical Sensor Click Boards™](https://thedebugstore.com/a/llms/collections/optical-sensor-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [Genicom Co., Ltd. UV Sensor Development Boards and Tools | Debug Store](https://thedebugstore.com/a/llms/collections/genicom-co-ltd-uv-sensor-device-support) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-4145, Available: yes, Inventory: 1 ## Metafields - full_description:
The UVB Click Board™ is based on the GUVB-C31SM, a Digital UV Sensor from GENUV Technology. The sensor detects UVB light, as it includes on-chip GaN Sensors for UVB. The current generated by photo detectors is converted and measured by ADC and changed to 16-bit resolution digital data. The measured data can be delivered to host via I2C serial interface. Spectral responsivity of sensor is from 240nm up to 320nm which covers full range of UVB spectrum that's defined as light with wavelength from 280nm up to 315nm.

The atmosphere blocks about 77% of the Sun's UV, of the ultraviolet radiation that reaches the Earth's surface, more than 95% is the longer wavelengths of UVA, with the small remainder UVB. Overexposure to UVB radiation not only can cause sunburn but also some forms of skin cancer. UVB radiation can cause direct DNA damage. This cancer connection is one reason for concern about ozone depletion and the ozone hole.
One of the benefits of UV light is that it causes the body to produce vitamin D (specifically, UVB), which is essential for life. The human body needs some UV radiation to maintain adequate vitamin D levels; however, excess exposure produces harmful effects that typically outweigh the benefits. With all of this in mind it's very useful to know the amount of UVB radiation that you are exposed to, and the UVB Click Board™ is perfect solution for such purpose, and perfect tool for developing wearable devices or weather stations that can report amount of UVB light intensity.
Since sensor is supplied with 3.3V only, also featured on the UVB Click Board™ is voltage level shifter. For the level shifting, the PCA9306 dual bidirectional I2C bus and SMBus voltage level shifter is used. This level shifter IC allows shifting (converting) the I2C signal levels to the voltage level selected by the VCC SEL onboard SMD jumper. This allows both 3.3V and 5V capable MCUs to be interfaced with the UVB Click board™.
| Type | Optical |
| Applications | It can be used for UV measurement applications, sun exposure protection devices, prototyping of wearables, handsets, and various consumer electronics based on received UV light |
| On-board modules | GUVB-C31SM |
| Key Features | UVB sensing with 16-bit resolution, Support UV index measurement (0~16), Response at only UV range |
| Interface | I2C |
| Compatibility | mikroBUS |
| Click board size | S (28.6 x 25.4 mm) |
| Input Voltage | 3.3V or 5V |
This table shows how the pinout on UVB Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
| Notes | Pin | ![]() |
Pin | Notes | |||
|---|---|---|---|---|---|---|---|
| NC | 1 | AN | PWM | 16 | NC | ||
| NC | 2 | RST | INT | 15 | NC | ||
| NC | 3 | CS | RX | 14 | NC | ||
| NC | 4 | SCK | TX | 13 | NC | ||
| NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
| NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
| Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
| Ground | GND | 8 | GND | GND | 9 | GND | Ground |
| Label | Name | Default | Description |
|---|---|---|---|
| PWR | LD1 | - | Power LED Indicator |
| VCC SEL | JP1 | Left | Logic level voltage selection: left position 3V3, right position 5V |
| Characteristic | Value |
|---|---|
| UVB sensing resolution | 16-bit |
| UV index measurement | 0~16 |
| Spectral responsivity | 240nm - 320nm |
We provide a library for the UVB Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The library contains basic functions for working with the UVB click.
void uvb_configuration ( uint8_t reg, uint8_t cfg ) - Configuration registeruint8_t uvb_check_communication ( void ) - Check communicationuint16_t uvb_get_uv_data ( void ) - Get UVB dataThe application is composed of three sections :
void application_task ( )
{
uint16_t uvb_data;
char demo_text[ 20 ];
uvb_data = uvb_get_uv_data( );
IntToStr( uvb_data, demo_text );
mikrobus_logwrite( ">> UVB data: ", _LOG_TEXT );
mikrobus_logwrite( demo_text, _LOG_LINE );
mikrobus_logwrite( "--------------------------", _LOG_LINE );
Delay_ms( 1500 );
}
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
The UVB Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
- attachments: [{"download_file":[{"download_file":"UVB Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"GenUV GUVB-C31SM UVB Sensor Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - condition: new - custom_product: false - mpn: MIKROE-4145 - google_product_category: Electronics - custom_label_0: Click Board - device_vendor: Genicom Co., Ltd., Texas Instruments - device_type: GUVB-C31SM, PCA9306DCUR - warranty: 12 months - brand: MikroE - key_feature_1: For UV B Measurement Applications - manufacturer: Mikroelektronika d.o.o. - badge: - widget:The UVB Click Board™ is an ultraviolet sensing board based on GUVB-C31SM sensor from GenUV, capable of measuring UV index between 0 to 16. UVB Click supports integrated functions of ultraviolet light sensors that can be easily configured and used in user applications. Overexposure to UVB radiation not only can cause sunburn but also some forms of skin cancer, so knowing the amount of UVB light can be quite important and this Click Board™ is the perfect solution for that task. This board can be used for various applications where measuring UV light is needed such as wearable devices, weather stations, bicycle navigation and many more.
The UVB Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click Board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.