Arduino - Standalone Atmega328p TIMER - TIME BOMB MOVIE PROP

Published

Introduction: Arduino - Standalone Atmega328p TIMER - TIME BOMB MOVIE PROP

About: Hello world! I make simple & Advanced projects for people who want to learn programming and electronics. Most of my Instructables are about arduino and the wide range of sensors you can use with it. I ma...

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!

AT FIRST:

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.

Parts list:

  • 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!


Share

    Recommendations

    • Water Contest

      Water Contest
    • Oil Contest

      Oil Contest
    • Creative Misuse Contest

      Creative Misuse Contest

    Discussions

    Follow me for more cool stuff!