In this video, Zahraa explains what is meant by a digital value or signal, then introduces the digital pins used on the Arduino Uno board.
- [Instructor] Let's take a look at the Arduino digital pins. Digital values or signals simply mean zero or one. So, it's either on or off. So, the voltage that comes out of the digital pin is zero volt when the pin is set low, or five volt when the pin is set high. An example is an LED, the light is either on or off. The pins in Arduino that we used for sending or receiving digital values are zero to thirteen, when using Arduino Uno, and using Arduino Mega, zero to thirteen and twenty-two all the way to fifty-three.
Some of the digital pins can be used for other secondary purposes now depending on the program inside the micro-controller. Example is, pin zero and pin one are communication pins. Pin zero is a receive and pin one is transmitter. If you don't have any experience with serial communication, don't worry. I'll explain more about it later in the course. The other example that the digital pins are used for is pulse with modulation.
Pulse with modulation is used for applications like running water. So in Arduino Uno, there are six pins for pulse with modulation. The pins are three, five, six, nine, ten and eleven. You notice the tilde symbol beside the number. Each of the Arduino models provides a number of digital interfaces, and each of the digital interfaces on the Arduino can be used as either an input or output.
- What's an Arduino?
- Creating an Arduino program
- Using the setup() and loop() functions
- Using the pinMode() and digitalWrite() commands
- Creating your first sketch
- Writing code to turn LEDs on and off
- Wiring a pushbutton to Arduino
- Activating an LED with a pushbutton