Interfacing Push Button Switch to Arduino
There are many electronic circuits can be used to interface with the device in the real world using switches as inputs. The simplest type of interfacing device is push button switches due to its low price and simple interfacing with any kind of electronic circuit. Push button switches are widely used in many electronic projects so knowledge of their interfacing is extremely essential in designing projects. So during this article, we learn how to interface push button switches with arduino. I hope you have knowledge about Arduino Board and led interfacing. Push button has four terminal and its allow current to pass through it when you press it down.
Push Button |
Here we use PULL-UP or PULL DOWN resistor while using switches. PULL-UP register is a register connected between power supply and connector to give an electricity on certain condition.To understand the working of Pull-UP resistor look the image how its work.
Pull-Up Resister |
Circuit Diagram
Circuit Diagram |
Source Code |
Download source code and circuit diagram file from here
Video
Comments
Post a Comment