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]
Rating:
Author: MikroElektronika Team
Last Updated: 2012-04-24
Category: Measurement
Downloaded: 301 times
Not followed.
This project demonstrates working with TSL230RD.
Pulses from TSL230BR are counted using RB0/INT interrupt on rising edge on pin RB0 of PIC18F45K22 MCU. Timer1 generates interrupt after 1/4 second for calculating frequency.
Do you want to subscribe in order to receive notifications regarding "LightHz click - Example" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "LightHz click - Example" changes.
Do you want to report abuse regarding "LightHz click - Example".
| DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
|---|---|---|
| 1335281151_lighthz_click____mikroc_pic.rar [66.87KB] | mikroC PRO for PIC |
|
| 1335281161_lighthz_click____mikrobasic_pic.rar [67.29KB] | mikroBasic PRO for PIC |
|
| 1335281169_lighthz_click____mikropascal_pic.rar [67.36KB] | mikroPascal PRO for PIC |
|
Front and back view of LightHz click board designed in mikroBUS form factor. mikroBUS is specially designed pinout standard with SPI, I2C, Analog, UART, Interrupt, PWM, Reset and Power supply pins.
View full imageTSL230BR is a programmable light-to-frequency converter. The output can be either a pulse train or a square wave (50% duty cycle) with frequency directly proportional to light intensity. Device sensitivity and frequency scaling can be selected using available SMD jumpers.
PIC examples are written for:
- EasyPIC v7 - PIC18F45K22
- EasyPIC PRO v7 - PIC18F87K22
Board is set to use 3.3V power supply by default. Solder PWR SEL SMD jumper to 5V position if used with 5V systems.
View full image