Introduction: Arduino - Standalone Atmega328p TIMER - TIME BOMB MOVIE PROP
Hello world! Today i made a standalone arduino timer with a relay. We are going to build our own arduino with this tutorial. follow the next step for the schematic, code & Parts list! This instructable is somehow more advanced on the electronics side!
We need to Burn the bootloader if there is no bootloader on your AtMega328p yet!
Then we need to upload the code to the AtMega328p.
Follow this LINK to find out how these 2 steps work.
Step 1: Schematic, Code & Parts List.
MAKE SURE YOU HAVE THE LIBRARY INSTALLED SevenSeg.h
BEWARE that there are common cathode and common anode displays.
//Only for common cathode 7segments
disp.setCommonCathode(); <--- just comment this in the code when using common anode.
Simply wire everything up like the schematic. It should work fine after uploading the code.
- Atmega328p Microcontroller
- 16 Mhz Crystal
- 220 K resistor
- Transistor L7805CV
- 4 x push button
- 2x 1 Digit 7 Segment Display
- 2x Capacitor 10uF
- 2x Ceramic Capacitor 22pF
- Jumper wire Set MM/FF/MF
- KY-019 Relay Module
- Arduino uno to program your Atmega328p
Good luck! Follow me for more cool stuff!