Arduino - Emad Taleb
Arduino - Emad Taleb
Arduino Uno
Arduino Mega
2560
TYPES OF ARDUINO
USB (to Computer)
PWR IN
RESET
SCL\SDA
(I2C Bus)
POWER
5V / 3.3V /
GND
Digital I\O
PWM(3, 5, 6, 9, 10,
Analog 11)
INPUTS
Arduino component
Arduino work steps
Upload: Sends
your code to
the RedBoard.
When you click
it you should
see lights on
your board
blink rapidly.
Know The Arduino GUI
New:
Opens up
a new
code
window
tab.
Know The Arduino GUI
Open: Open an
existing sketch,
which is where
you write your
code.
Know The Arduino GUI
Save: Saves
the currently
open sketch.
Know The Arduino GUI
Serial Monitor:
Opens a window
that displays any
serial info the
RedBoard is
transmitting.
Very useful for
debugging.
What is Serial?
Process of
sending data one
bit (0 or 1) at a
time.
Know The Arduino GUI
Sketch Name:
Name of the
sketch you
are currently
working on.
Know The Arduino GUI
Code Area:
Area where
you compose
the code for
your sketch.
Know The Arduino GUI
Message Area:
Where the IDE
tells you if
there were
any errors in
your code.
Arduino Programming
Terminology
Arduino Programming
void loop() {
// put your main code here, to run repeatedly:
}
Arduino Programming
PinMode:
analogWrite(2,128);
BREADBOARD
2- Pulse sensor
This sensor measures heart beat. It
is very easy to use with your Arduino,
as it only requires one analog data pin,
VCC and GND. The sensor can be
easily powered up using the Arduino
5V pin.
This sensor has an optical heart rate
sensor with amplification and circuit
for noise reduction, giving fast and
reliable pulse readings.
Compatible Biometric Sensors with Arduino
}
Learning Resources
www.arduino.cc
www.ladyada.net/learn/arduino
www.EarthshineElectronics.com