TOP Contributors

  1. MIKROE (2655 codes)
  2. Alcides Ramos (353 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136784 times)
  2. FAT32 Library (69980 times)
  3. Network Ethernet Library (55950 times)
  4. USB Device Library (46274 times)
  5. Network WiFi Library (41889 times)
  6. FT800 Library (41184 times)
  7. GSM click (28988 times)
  8. PID Library (26419 times)
  9. mikroSDK (26374 times)
  10. microSD click (25382 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

UVC Light click

Rating:

5

Author: MIKROE

Last Updated: 2020-06-19

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: LED Drivers

Downloaded: 1756 times

Not followed.

License: MIT license  

UVC Light Click is Click board with ultraviolet LEDs with 275nm wavelength. UVC radiation refers to wavelengths shorter than 280 nm. Because of the spectral sensitivity of DNA, only the UVC region demonstrates significant germicidal properties.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "UVC Light click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "UVC Light click" changes.

Do you want to report abuse regarding "UVC Light click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

UVC Light Click

UVC Light Click

Native view of the UVC Light Click board.

View full image
UVC Light Click

UVC Light Click

Front and back view of the UVC Light Click board.

View full image

Library Description

The library contains basic PVM LED control functions.

Key functions:

  • uint32_t uvclight_pwmInit(uint16_t freq) - PWM init functions
  • void uvclight_pwmSetDuty(uint16_t duty) - PWM set duty cycle

Examples description

The application is composed of three sections :

  • Application Initialization - Initialize PWM module and sets frequency
  • Application Task - Increases and decreases the pwm duty cycle.
void application_task ( )
{
    int32_t duty_cycle;
    
    for ( duty_cycle = 0; duty_cycle < pwm_max_duty; duty_cycle+= pwm_degree )
    {
        uvclight_pwm_set_duty( duty_cycle );
        Delay_ms( 10 );
    }
    Delay_ms( 500 );
    for ( duty_cycle = pwm_max_duty; duty_cycle >= 0; duty_cycle-= pwm_degree )
    {
        uvclight_pwm_set_duty( duty_cycle );
        Delay_ms( 10 );
    }
    Delay_ms( 500 );
}

Other mikroE Libraries used in the example:

  • PWM Library

Additional notes and informations

Depending on the development board you are using, you may need USB UART clickUSB 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.

ALSO FROM THIS AUTHOR

LightRanger click

0

LightRanger click is a proximity sensor carrying STs VL6180X IC. This chip is based on STs patented FlightSense technology...

[Learn More]

USB to I2C 2 click

0

USB to I2C 2 Click is a compact add-on board that contains a general-purpose USB to I2C serial interface. This board features the FT201X, a full-speed USB to I2C protocol converter from FTDI. The FT201X converts USB2.0 full-speed to an I2C serial interface capable of operating up to 3.4MBit/s, with low power consumption (typical 8mA). The entire USB protocol is handled on the chip itself, where no USB-specific firmware programming is required. It also has a fully-integrated 2048 byte Multi-Time-Programmable (MTP) memory for storing device descriptors and CBUS I/O user-desirable configuration. This Click board™ includes the complete FT-X series feature set and enables USB to be added into a system design quickly and easily over an I2C interface.

[Learn More]

1-Wire I2C click

10

1-Wire I2C click converts the 1-wire signal from the MCU to I2C signal, which is then sent to the slave, and vice versa. The click carries DS28E17 1-Wire-to-I2C master bridge from Maxim Integrated. 1-Wire I2C click runs on a 3.3V power supply.

[Learn More]