Get PDF

Programmed PUSH button to control both ON/OFF using Arduino [v2]


Hello friends,

  This is the second version of project which we already posted using PLC controller. We know that in some application single push button is used for both ON/OFF.  For example in TV to Power ON/OFF, a single push button is used.
Some times, due to the presence of lot number of switches in control panel more chances are there to complicate to find ON or OFF switch. Alternatively, Using this type of switch can reduce the number of switches and hence saves  space making it more integrated. For the purpose of ON and OFF, two inputs are required but in this method it can achieved by using a single switch.
The circuit used in the project is controlled by arduino.

Connection:


The main circuit is shown above. The PUSH Button is connected to Pin No 8 of arduino and VCC. Pull up resistor is connected to the same pin. It means Pin No 8 is Normally LOW. Motor and Arduino are electrically isolated by a Relay. Relay is connected to Pin No. 7. Diode D2 is a freewheeling Diode connected across the Relay coil. To indicate ON, LED is connected Pin 9 in series with a Resistor. Motor should connected to NO (Normally Open) contact of Relay.

Working :

The Arduino detects the position of switch. Initially if the switch is ON it makes the Relay ON by turning Pin 7 High. At the same time,  the Indicator LED will turn ON. Motor Starts to RUN. If the Button is pressed more than 5 seconds, arduino makes  Relay OFF.  The program should be written such that if switch is Pressed less than 5 seconds, motor should RUN and if the Button is pressed more than 5 seconds, motor should go to OFF condition.

Program:


Power Circuit:
 
Components Required:


Any Queries please comment.

All the best

Thank you all...
Share on Google Plus

About Praveen S

Hello everyone, I am Praveen S, currently employed as "Technical Design Engineer" for Polycab Wires Pvt Ltd , I am a BE Graduate in EEE from NMAMIT Nitte (Karnataka, India). I am very passionate about learning and sharing my knowledge relating to the areas of "Electrical and Electronics". Here's my blog to share my ideas and to improve myself.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment