0% found this document useful (0 votes)
62 views19 pages

Arduino

Arduino is an open-source hardware platform for building electronics projects. It can be used to develop interactive objects or environments. The Arduino Uno is a microcontroller board based on the ATmega328 chip and contains everything needed to support the microcontroller. It has digital and analog input/output pins that can be used to control LEDs, motors, and other devices. The Arduino IDE software is used to write programs, or sketches, that can be loaded onto the board. These sketches use functions like digitalWrite(), analogWrite(), and serial communication to control the board's input and output behavior. Common projects include blinking an LED or reading sensor values.

Uploaded by

disha singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views19 pages

Arduino

Arduino is an open-source hardware platform for building electronics projects. It can be used to develop interactive objects or environments. The Arduino Uno is a microcontroller board based on the ATmega328 chip and contains everything needed to support the microcontroller. It has digital and analog input/output pins that can be used to control LEDs, motors, and other devices. The Arduino IDE software is used to write programs, or sketches, that can be loaded onto the board. These sketches use functions like digitalWrite(), analogWrite(), and serial communication to control the board's input and output behavior. Common projects include blinking an LED or reading sensor values.

Uploaded by

disha singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 19

INTRODUCTION

TO ARDUINO
ARDUINO
 Arduino is the go-to gear for artists, hobbyists, students, and anyone with a gadgetry dream.

 Arduino rose out of another formidable challenge: how to teach students to create electronics,
fast. 

 With Arduino, you can control almost everything around you be it simple LED or giant Robots.

Pune Makers ( http://www.meetup.com/Pune-Makers/ ) 2


ARDUINO
 Basically Arduino is Microcontroller.

 Microcontroller is microprocessor with memory, RAM and some other peripheral connected
with it.

 The Arduino Uno is a microcontroller board based on the ATmega328 . The ATmega328 has


Flash memory of 32 KB (with 0.5 KB used for the bootloader). It also has 2 KB of SRAM and 1
KB of EEPROM

Pune Makers ( http://www.meetup.com/Pune-Makers/ ) 3


DIFFERENT TYPES OF
ARDUINO
Boarduino Kit

Arduino LilyPad
DIY Arduino

Arduino Uno 

Arduino Mega 2560 

Pune Makers ( http://www.meetup.com/Pune-Makers/ ) 4


ARDUINO UNO
 What does it have?
 14 Digital In/Out pins (6 can be used as PWM)
 6 Analog Inputs
 A USB Connection
 A Power Jack
 Reset Button
 On-board LED
 SCL/SDA pins (Serial Clock/ Serial Data pins)

 In short, it contains everything needed to support the microcontroller; simply connect it to a


computer with a USB cable or power it with a AC-to-DC adapter or battery to get started.

Pune Makers ( http://www.meetup.com/Pune-Makers/ ) 5


USB
PWR IN
(to Computer)

RESET

SCL\SDA
(I2C Bus)

POWER
5V / 3.3V / GND
Digital I\O
PWM(3, 5, 6, 9, 10, 11)

Analog
INPUTS

Pune Makers ( http://www.meetup.com/Pune-Makers/ ) 6


HOW TO CODE IN ARDUINO
 You need to download Arduino IDE (Integrated Development Environment).
 Arduino IDE is available for all Mac, Windows.and Linux.

Pune Makers ( http://www.meetup.com/Pune-Makers/ ) 7


HOW TO CODE IN ARDUINO
 Once you have downloaded and
installed/extracted the folder, you can
directly run Arduino.exe, which will take
you to its IDE.
 The IDE will look like the shown
screenshot.

error & status messages

Pune Makers ( http://www.meetup.com/Pune-Makers/ ) 8


PROGRAM YOUR ARDUINO
 Before you start programming, double
check that correct board is selected under
Tools  Board.
 Now, you can start playing with Arduino.

Pune Makers ( http://www.meetup.com/Pune-Makers/ ) 9


PROGRAM YOUR ARDUINO
 The Arduino Uno can be programmed
with the Arduino software. Select
"Arduino Uno from the Tools >
Board menu (according to the
microcontroller on your board).
 All the peripheral connected with
Computers are using Serial Port.
 You can check port for Arduino Uno in
Device Manger.

Pune Makers ( http://www.meetup.com/Pune-Makers/ ) 10


INPUT VS OUTPUT

Pune Makers ( http://www.meetup.com/Pune-Makers/ ) Image from Theory and Practice of Tangible User Interfaces at UC Berkley 11
6 MAJOR CONCEPTS
 digitalWrite()
 analogWrite()
 digitalRead()
 If (statements) / Boolean
 analogRead
 Serial Communication

Pune Makers ( http://www.meetup.com/Pune-Makers/ ) 12


ANALOG VS DIGITAL
Microcontrollers are digital devices – ON or OFF. Also called – discrete.

Analog signals are anything that can be a full range of values.

5V 5V

0V 0V

Pune Makers ( http://www.meetup.com/Pune-Makers/ ) 13


ANALOG VS DIGITAL
Analog Sensors Digital Sensors
• Digital sensors are more straight
forward than Analog.
Sensors Variables • No matter what the sensor there
Mic soundVolume are only two settings: On and Off
Photoresistor lightLevel
•Example, Push button, Switch
Potentiometer dialPosition
Temp Sensor temperature
Flex Sensor bend
Accelerometer tilt/acceleration

Pune Makers ( http://www.meetup.com/Pune-Makers/ ) 14


SERIAL COMMUNICATION
 “Serial” because data is broken into bits, each sent one after another in a single wire.

 Compiling turns your program into binary data (ones and zeros)

 Uploading sends the bits through USB cable to the Arduino

 The two LEDs near the USB connector blink when data is transmitted.
 RX blinks when the Arduino is receiving data.
 TX blinks when the Arduino is transmitting data

Pune Makers ( http://www.meetup.com/Pune-Makers/ ) 15


LET’S START
CODING
PROJECT #1 LED BLINK
 digitalWrite()

Pune Makers ( http://www.meetup.com/Pune-Makers/ ) 17


Upload

Compile

Status Message

Pune Makers ( http://www.meetup.com/Pune-Makers/ ) 18


THANK YOU
Pune Makers
16th May 2015

You might also like