“A simple Arduino Nano LED candle for 2 to 6 LEDs.
You will need
A computer with Arduino IDE installed and a mini USB cable.
Soldering iron, solder and flux.
Hot glue gun and glue.
9v battery connector.
2 - 6x LEDs (a mixture of red, yellow and/or orange work best).
2 - 6x appropriate resistors for your LEDs (use this calculator or 220 Ohm resistors if unsure).
A small amount of thin wire (~26AWG) (ideally in two colors; positive and negative).
Liquid electrical tape (or standard electrical tape).
Cable tie (optional).”