Candle LED
Hardware and software design for a ATTiny85 based LED candle effect.
Based on this post, information found on Ohmify and this avrlibc example
Quick start
Make sure you have a hardware setup to flash an ATtiny85. This repo uses PlatformIO for tooling, you might be able to
change the target env config to match. Then run
$ platformio run -t upload -vvv
Software
UART communication to the BLE module is done with the picoUART library on PB3 and baud rate 9600 (default HM-10).
Hardware
Extra
Links
- Simple ATtiny USI UART
- Simple Serial Communications With AVR libc
- Four PWM Outputs from the ATtiny85
- AVR Timer Programming
- USI Serial UART Receive on ATtiny
- AVR half-duplex software UART supporting single pin operation
Contributing
Authors
TODO
- Check howto do basic HM-10 controlled LED.
- Check ISP wiring, does it need protective/isolating R's?
- Control Hub based on Nerves for multiple lamps/single control point.
On this page
Contributors
Created September 24, 2021
Updated October 7, 2021