https://github.com/romaindoyen/led-chase
Led chase project : creation of a LED Christmas tree strip
https://github.com/romaindoyen/led-chase
arduino cpp fritzing
Last synced: 9 months ago
JSON representation
Led chase project : creation of a LED Christmas tree strip
- Host: GitHub
- URL: https://github.com/romaindoyen/led-chase
- Owner: RomainDoyen
- Created: 2020-10-19T12:58:57.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-11T15:45:21.000Z (over 3 years ago)
- Last Synced: 2025-07-26T09:13:19.841Z (11 months ago)
- Topics: arduino, cpp, fritzing
- Language: C++
- Homepage:
- Size: 956 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Material used :
* 8 LED
* 1 potentiometer
* 1 push button
* 8 resistors of 220 Ohm for the leds
* 1 resistor of 10 kOhm for the push button
* Arduino
-------------------------------------------------------------------------------------------------------
reset and start by push button / PWM LED / PWM potentiometer
the first and last LED remains at either `0` or `1`.
----------------------------------------------------------------------------------
**Context :** When the button is pressed, the 8 LEDs light up one after the other with a `delay()` of 100 ms. If you press the button again, all the LEDs are reset, i.e. they go out one after the other.
We have integrated a potentiometer that allows you to change the mode.
In our case there are two modes:
* Initial state, the LEDs light up one after the other.
* In the second state, the LEDs light up one after the other, but one with a shorter flicker and `delay()`.
### Input :
* Push button, Potentiometer
### Output :
* LED
--------------------------------------------------
## Wiring diagram of the Christmas garland

