TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (352 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 (136721 times)
  2. FAT32 Library (69930 times)
  3. Network Ethernet Library (55939 times)
  4. USB Device Library (46265 times)
  5. Network WiFi Library (41885 times)
  6. FT800 Library (41168 times)
  7. GSM click (28979 times)
  8. PID Library (26412 times)
  9. mikroSDK (26357 times)
  10. microSD click (25355 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
Example

LightHz click - Example

Rating:

5

Author: MIKROE

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Optical

Downloaded: 5909 times

Followed by: 2 users

License: MIT license  

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.

No Abuse Reported

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".

  • mikroSDK Library 2.0.0.0
  • Comments (0)

Example Blog

LightHz click

LightHz click

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 image

TSL230BR 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.

Examples are written for:
- EasyPIC v7 - PIC18F45K22
- EasyPIC PRO v7 - PIC18F87K22
- EasyMx PRO v7 for Stellaris(R)  - LM3S9B95, LM4F232H5QD
- EasyMX PRO v7 for ST - STM32F107VC
- EasyPIC v7 for dsPIC30 - dsPIC30F4013
- EasyAVR v7 - ATmega32

LightHz click schematics

LightHz click schematics

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

ALSO FROM THIS AUTHOR

BEE click

0

This project is a simple demonstration of working with the BEE click board. The on-board MRF24J40MA is a 2.4 GHz IEEE 802.15.4 radio transceiver module and operates in the 2.4GHz frequency band.

[Learn More]

Temp-Log click

5

Temp-Log click uses for temperature measurement. This click reads temperature and shows this temperature data in decimal and celsius value with determined resolution. Temp-Log click also has ALERT pin for checking high temperature limit.

[Learn More]

Angle 5 click

5

Angle 5 Click is a compact add-on board that detects the absolute angular position of a permanent magnet, typically a diametrically magnetized cylinder on a rotating shaft.

[Learn More]