0% found this document useful (0 votes)
35 views

Technogyan: - Arduino

Arduino is an open-source platform used for building electronics projects. It consists of a programmable microcontroller board and software IDE. The board contains pins for ground, power supply, analog and digital input/output, and PWM output. Digital pins can be used for input such as buttons or output such as LEDs. Analog pins read sensor input as digital values. The code example turns on a green LED for 2 seconds, then turns it off and turns on a red LED for 2 seconds, repeating the cycle.

Uploaded by

Dhanraj Bhosale
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

Technogyan: - Arduino

Arduino is an open-source platform used for building electronics projects. It consists of a programmable microcontroller board and software IDE. The board contains pins for ground, power supply, analog and digital input/output, and PWM output. Digital pins can be used for input such as buttons or output such as LEDs. Analog pins read sensor input as digital values. The code example turns on a green LED for 2 seconds, then turns it off and turns on a red LED for 2 seconds, repeating the cycle.

Uploaded by

Dhanraj Bhosale
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

TechnoGyan

• 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

• Try to implement code which glow green bulb


first and after a delay of 2.0 sec red bulb will
glow and green will turn off?
code

void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(8, OUTPUT);
pinMode(7, OUTPUT);
}

// the loop function runs over and over again forever


void loop() {
digitalWrite(8, HIGH);
digitalWrite(7, LOW); // turn the LED on (HIGH is the voltage level)
delay(2000); // wait for a second
digitalWrite(8, LOW);
digitalWrite(7, HIGH); // turn the LED off by making the voltage LOW
delay(2000); // wait for a second
}
Boost yorself by..!
Link 2 LINK
• Link Info
• http://yeahblogger7797.blogspot.in/2017/09/
let-start-with-arduino_25.html?m=1
Link 2 LINK
• THANK YOU

You might also like