AVR LED Candle using ATtiny85 microcontroller

Summary of AVR LED Candle using ATtiny85 microcontroller


This project builds an LED candle that mimics a traditional candle without fire, using a high-brightness LED and ATtiny85 microcontroller; it uses an LDR and fixed resistor as a voltage divider to feed the ATtiny85 ADC for ambient-light sensing, sampling at intervals. It’s suited for props or locations unsafe for real candles.

Parts used in the AVR LED Candle:

  • High-brightness LED
  • ATtiny85 microcontroller
  • Light Dependent Resistor (LDR)
  • Fixed resistor (for voltage divider with LDR)
  • Wiring/headers
  • Power source (battery or appropriate supply)
  • Resistor(s) for LED current limiting
  • Enclosure or candle housing

This LED candle is built to mimic the look of a traditional candle without the dangers associated with an open flame. It uses high brightness LED and is controlled by ATtiny85. It could be useful as movie props where you cannot afford to have a candle go out during a take or in your home in places not suitable for traditional candles such as in a wall niche or alcove.
AVR LED Candle
Pete made this candle with a Light Detecting Resistor ( LDR ) and a fixed resistor acting as a voltage divider. This is fed to one of the ATtiny85′s ADC inputs and sampled at discrete time intervals.
For more detail: AVR LED Candle using ATtiny85 microcontroller

Quick Solutions to Questions related to the AVR LED Candle:

  • What does this LED candle use instead of a flame?
    It uses a high-brightness LED to mimic a traditional candle without an open flame.
  • Which microcontroller controls the LED candle?
    The ATtiny85 microcontroller controls the LED candle.
  • How does the project detect ambient light?
    It uses a Light Dependent Resistor (LDR) and a fixed resistor as a voltage divider fed to an ATtiny85 ADC input.
  • How is the sensor data sampled?
    The ATtiny85 samples the voltage divider input at discrete time intervals using its ADC.
  • Where is this LED candle particularly useful?
    It is useful as movie props or in home locations not suitable for traditional candles such as wall niches or alcoves.
  • Does the project eliminate dangers of open flames?
    Yes, it mimics a candle appearance without the dangers associated with an open flame.
  • Is a fixed resistor used in the circuit?
    Yes, a fixed resistor is used with the LDR to form a voltage divider.
  • Does the ATtiny85 read the voltage divider directly?
    Yes, the voltage divider output is fed to one of the ATtiny85 ADC inputs for reading.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top