HIGH and LOW Arduino Pin States [Beginners Guide]
If you are just getting started with Arduino, you might be wondering what the heck all this HIGH and LOW stuff everyone is talking about really means.
At first I just figured everyone using micro-controllers was just on some type of emotional roller-coaster, until I began to realize that HIGH and LOW are actually abstractions.
But let us not talk in abstractions – let us talk in concrete numbers and get down to the bottom of what HIGH and LOW actually mean.
Programming Electronics Academy members, use the coding challenges in the Bread and Butter: I/O section of the Arduino Course for Absolute Beginners to drive home these basic coding skills.
Not a member yet? Sign up here.
This Tutorial Will Include:
- What the heck is a PIN state?
- What are the values for Arduino Pin States?
- Practical Application: What do we see in practice?
[…] So all we have to do is bring the pin LOW – which is as easy to connecting it to ground through a pushbutton. So when the button is not pressed, the pin is in its normal state. When the pushbutton is pressed, the pin “see’s” ground voltage (i.e. 0 volts), and is brought LOW – which according to the documentation will reset the Arduino for us. […]
you have not show any connection to digital pin2 in last part of video.
Your right! Thanks for pointing that out. The center pin of the potentiometer should also be connected to digital pin 2.
As the other person said, there is something wrong with the code. you quote D2 and then still read voltage at A0. Is this a sample of your free training ?
Thanks for pointing this out Lyndon. I forget to show that the center pin of the potentiometer should also be connected to digital pin 2. I will have to rework that video.
[…] analog sensors, digital sensors only output two voltages: High & Low. Usually the high voltage is the same as your power rail, and the low voltage is your system […]