Documentos de Académico
Documentos de Profesional
Documentos de Cultura
An Intro to Arduino
From Zero to Hero in an Hour !
Hardware Software
Microcontroller
‘ATMega328P’
Microcontroller ?
Shields
Additionally, there are these things called shields – basically they
are pre-built circuit boards that fit on top of your Arduino and
provide additional capabilities – controlling motors, connecting to
the internet, providing cellular or other wireless communication,
controlling an LCD screen, and much more.
The Arduino Software (IDE)
Factoid !
The name Arduino comes from a bar in Ivrea, Italy where some of the
founders of the project used to meet.
The bar was named after Arduin of Ivrea, who was the margrave of the
March of Ivrea and King of Italy from 1002 to 1014 !
Part 2 – The Arduino UNO
Output
Input
https://www.arduino.cc/en/Main/Software
Part 4 – Lets Code !
setup()
loop()
The loop() function is called over and over in a loop and is heart of most sketches.
You need to include both functions in your sketch, even if you don't use them for anything.
‘Blink’ Sketch Example – Line by Line
Output
Input
digitalWrite() - Writes a HIGH (on) or a LOW (off) value to a digital pin (+5v or 0v)
delay() - Pauses the program for the amount of time (in miliseconds, 1000 milliseconds in a
second)
Select your board from the ‘Tools’ menu
Select your board:-
‘Tools’
‘Board’
‘Arduino UNO’
Task 3 – Make your LED flash 3 times and then stop until the reset
button is pressed
Other Sketches to play with
• Button
• SerialEvent
Congratulations !
Resources: Web