Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (42 codes)
  2. Alcides Ramos (30 codes)
  3. Dany (24 codes)
  4. NART SCHINACKOW (22 codes)
  5. Rajendra Bhatt (6 codes)
  6. Roman Black (6 codes)
  7. Alberto Trasimeni (6 codes)
  8. Andrew Hazelden (6 codes)
  9. Russell Kelly (5 codes)
  10. Peter Erasmus (5 codes)
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:

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.

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

  • Information
  • 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.

PIC examples are written for:
- EasyPIC v7 - PIC18F45K22
- EasyPIC PRO v7 - PIC18F87K22

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

ADC click - Example

Simple example which demonstrates working with the 4-Channel 12-bit A/D Converter (MCP3204) with SPI Serial Interface. The example shows how to measure analog inputs on Channels 0, 1, 2 and 3 and display the results on LCD.

[Learn More]

FAT32 Library

FAT32 Library. File features: -open, read, write, rename, delete, existence check, multiple file operation -file cursor manipulation -swap file creation, sector-level and file-level access Directory features: -create, rename, delete (with contents), change current directory -folder content listing -card format (MMC/SD only)

[Learn More]

GPS click - Example

Simple example which demonstrates usage of the GPS Click board.
It displays a map of the world on the Glcd and shows the location of the GPS module on it.

[Learn More]