Documente Academic
Documente Profesional
Documente Cultură
ARDUINO
ARDUINO TRAINING COURSE
http://www.free-powerpoint-templates-design.com
Course Outline
01 Introductions of Arduino
05 Mobile Robot
Introductions of Arduino
The Introduction and Spec.
Introduction to Arduino
Hardware and Software
Hardware Software
LED ARDUBLOCK
DC MOTOR
BUTTON
HARDWARE SOFTWARE
Resistor
Basic Circuit
5v
• Are you understand about the
basic of electronic circuits?
LED
light-emitting diode • Are you ready for the next stage
of this course?
Breadboard
• Are you understand about the
breadboard connection?
Arduino integrated
development
environment (IDE),
which is a cross-
Ardublock is a
platform application
graphical
written in the
programming
programming
language for
language Java.
Arduino.
It originated from the
IDE for the
languages Processing
and Wiring.
Arduino Interface
Let’s Start
Practical1:Blinking LED
Application of blinking LED such as car signal, light house, alarm
lamp and indicator lamp
Let Do Practical
asher
void loop() {
digitalWrite(ledPin, HIGH);
delay(1000);
digitalWrite(ledPin, LOW);
delay(1000);
}
void setup() {
port #
pinMode(9, OUTPUT);
Input or Output
}
Coding Explanations
How To Set Up Blinking LED
digitalWrite(9, HIGH);
delay(1000);
digitalWrite(9, LOW);
delay(1000);
Turn the LED on
or off
} Wait for 1 second
or 1000 milliseconds
Let Do It Step by Step
Blinking LED
2.Try to Blink
3 LED with
Different Color
Practical 2:
Running LED
Let Do It Step by StepRunning LED
void loop(){
2.Try to Running
And Blink
03
void setup() {
// initialize the LED pin as an output:
pinMode(ledPin, OUTPUT);
// initialize the pushbutton pin as an input:
pinMode(buttonPin, INPUT);
}
Coding Explanations
Button Input
void loop() {
// read the state of the pushbutton value:
buttonState = digitalRead(buttonPin);
Syntax
tone(pin, frequency)
tone(pin, frequency, duration)
Parameters
pin: the pin on which to generate the tone
frequency: the frequency of the tone in hertz - unsigned int
duration: the duration of the tone in milliseconds (optional) - unsigned long
Practical 4:
Play Music With
Buzzer
Let Do It Step by Step
Play Music With Buzzer
Mobile Robot
Bluetooth Mobile Robot
Mobile Robot
Robot Car
Practical 6:
Mobile Robot
Let Do It Step by Step
Mobile Robot
Play
Wiring Mobile Robot With
Connect HP to Bluetooth Arduino
Install on smartphone Find Bluetooth name same with
setting
Real
Thank you
PragmaticEdu Hope U Enjoy This Training