Introduction: Arduino Timing Switch Circuit

About: MAGNUM TECHNICAL ACADEMY is an education institute, that base its activities to the enrichment and enhancement of technical knowledge to her students, through a practical justification of the explained theorie…
In this instruction, we will be looking at the third Topology of Developing a Timing Switch Circuit.

Step 1: INTRODUCTION

Controlling time based electronic and mechanical system,can be efficiently done using the arduino board.
We have taken through this course to explain and demonstrate,how timing can be achieved.
We stipulated three main topology of achieving timing functions,which includes,

- Passive electronics topology
- Integrated circuit topology and
- Micro-controller topology

Step 2: Video Presentation

https://www.youtube.com/watch?v=qjt35CDRxYk&lc=UgzKNzIQNWLuGFW-osJ4AaABAg

Step 3: OVERVIEW

This instruction covers the last topology which is the micro-controller based topology,where in this case;we are using the ATmega328 chip, commonly found in arduino-uno board.

If you have not watched the video of the first and second topology,
We recommend that you do so,in order to grasp the basis of timing in these various topology.

Back to the arduino, in achieving timing in switching either ON or OFF any load,which in this case was a simple incandescent bulb. We will need a physical electronics hardware,and a sketch,which we write shortly.

Step 4: SCHEMATIC DIAGRAM

The circuit diagram is evidently presented...

Step 5: HARDWARE IMPLEMENTATION

We will implement the presented schematics,by first sorting and developing the hard ware.

Step 6: COMPLETION

After the soldering,the board should look like this.

Step 7: WRITING THE PROGRAM

Next, we move to the sketch,we will plug the arduino board to computer and open the arduino I D E.

Step 8: SKETCH

We define the pin out used.
Moving to the set up function,
We set up the pins for which is either input or output pin.
The blue pin is the input,and the white pin is the output pin.
We set the initial state of the hardware to ACTIVE.
Moving to the loop function,
We will be making decision using the “if” statement.

If the switch is pressed, then the arduino should run the code below.

The code below,will have the hardware go LOW, and will remain low,for 10 seconds,and after that, it will return HIGH.
Completing the sketch, we verify it. Once this is done, we upload to the arduino board.

Step 9: TEST

We will test the system now, connecting the wires and the entire system as indicated from the schematic diagram.
Completing the set up, we plug the system to electricity.
Here ,we have the bulb glowing, and once the button is pressed,the circuit deactivates itself and wait till 10 seconds.

This cycle repeats itself,as long as you keep triggering the circuit,using the push button.
You can as well,adjust the time,by altering the delay value. Also,you can chose to either ON or OFF a load,and this is dependent on your relay configuration.

Step 10: CALL TO ACTION

Leave a comment below,and tell us what you will try to configure.
Remember to check the previous topology after now.

Finally, check out our Facebook page and join our community,the links, you will find at the video description.

Remember to subscribe to our channel,and click the bell icon to get personally notified once we make any upload.

See you in the next project.