Skip to content

Arduino IDE sketch for a simple – but not very simple – LED candlelight/flame effect for microcontrollers such as ATtiny85.

License

Notifications You must be signed in to change notification settings

etkaar/CandleLight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

CandleLight

Simulates a candlelight/flame effect while brightness is smoothly raised and smoothly or rapidly reduced. Thus, even if the sketch is still simple, it is a little bit more complex than the very easy candlelight sketches.

https://github.com/etkaar/CandleLight/blob/main/CandleLight.ino

Requirements

  • ATtiny85 microcontroller (or similar); see comparison chart.
  • Arduino IDE with ATTinyCore by Spence Conde.
  • A programmer for the microcontroller. You can use an Arduino Uno, ELEGOO UNO (or similar).

Settings

  • Set your ATtiny on 1 MHz (burn bootloader before uploading the sketch).

Real Life Example

See: https://www.youtube.com/watch?v=NNBb8YCEBaA

LED Candlelight Effect Example using ATtiny85

About

Arduino IDE sketch for a simple – but not very simple – LED candlelight/flame effect for microcontrollers such as ATtiny85.

Topics

Resources

License

Stars

Watchers

Forks

Languages