Technogyan: - Arduino
Technogyan: - Arduino
Technogyan: - Arduino
• Arduino
TechnoGyan
• Arduino Microcontroller
• Arduino is an open-source platform used for
building electronics projects. Arduino consists
of both a physical programmable circuit board
(often referred to as a microcontroller) and a
piece of software, or IDE (Integrated
Development Environment) that runs on your
computer, used to write and upload computer
code to the physical board.
Say Hello to arduino
Know bout me!
• GND (3): Short for ‘Ground’. There are several GND pins on the Arduino, any of which can be used
to ground your circuit.
• 5V (4) & 3.3V (5): As you might guess, the 5V pin supplies 5 volts of power, and the 3.3V pin
supplies 3.3 volts of power. Most of the simple components used with the Arduino run happily off
of 5 or 3.3 volts.
• Analog (6): The area of pins under the ‘Analog In’ label (A0 through A5 on the UNO) are Analog In
pins. These pins can read the signal from an analog sensor (like a temperature sensor) and convert
it into a digital value that we can read.
• Digital (7): Across from the analog pins are the digital pins (0 through 13 on the UNO). These pins
can be used for both digital input (like telling if a button is pushed) and digital output (like powering
an LED).
• PWM (8): You may have noticed the tilde (~) next to some of the digital pins (3, 5, 6, 9, 10, and 11
on the UNO). These pins act as normal digital pins, but can also be used for something called Pulse-
Width Modulation (PWM). We have a tutorial on PWM, but for now, think of these pins as being
able to simulate analog output (like fading an LED in and out).
• AREF (9): Stands for Analog Reference. Most of the time you can leave this pin alone. It is
sometimes used to set an external reference voltage (between 0 and 5 Volts) as the upper limit for
the analog input pins.
Say Hello to arduino
Get challenged
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(8, OUTPUT);
pinMode(7, OUTPUT);
}