Skip to content

thesfinox/arducandle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ArduCandle

The ArduCandle is a simple project for a candle flickering effect using an Arduino Nano (ESP32), LEDs, and a button.

Step 1: Installation

The development kit used for this project is a Arduino Nano ESP32, and the documentation refers to that module. However, any board should do the trick.

Step 2: Assemble the circuit

The circuit is very simple:

  1. connect the two LEDs to the ground with 220 Ohm resistors;

  2. connect the anodes to pins 2 and 3 of the Arduino Nano;

  3. connect the button to ground using a 10 kOhm resistor;

  4. connect the grounded side of the button to pin 7 of the Arduino Nano;

  5. (optional) for better deboucing, insert a 2 uF capacitor between the connection to the board and ground.

Folder structure

  arducandle              => Arduino sketch folder
  ├── arducandle.ino      => main Arduino file
  └── ReadMe.adoc         => this file

License

This project is released under a GNU General Public License v3.0.

Bill Of Material

Part name

Quantity

Arduino Nano ESP32

1

Coloured LEDs

2

220 Ohm resistor

2

10 kOhm resistor

1

Button (6 mm)

1

2 uF capacitor

1