is an open-source hardware and software company, project and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices and interactive objects that can sense and control both physically and digitally.
We will discuss only the basic board of an arduino, the Arduino Uno because this is the most available board and easy to interface with the arduino ide.
Analog Pins of an Arduino Uno are A0-A5, while Digital Pins of an Arduino Uno are, 2,4,7,8,12,13. You can use the remaining pins for Analog/Digital Input/Output.
DigitalRead--
When you use a pin to read an input, there will be problem for the bouncing of input this is because of the unstable input voltage to the pin of the arduino board.
The Solution for this is to place a 10k-100k Resistor to the input pin parallel to the input voltage.
The Resistor will the element to isolate the low-high voltage from the 0 volts input. for example, with no input voltage the voltage that goes to the arduino input pin will be 0 volts because it goes directly to ground, and with input pin the voltage that goes to the resistor is also equal to the voltage that goes to the arduino pin. This setup is different when you use AnalogRead because bouncing is only for Digital Parameters.
For your tutorial needs about Electronics and Microcontroller programming, you can contact us at 09355802416, or thru my email kelvinrtatoy@gmail.com.
Engr. Kelvin Tatoy
5 yrs in experience in programming and Electronics Circuit Assembly and Design.