Download presentation
1
Getting Started With the Arduino Uno
Richard T. Vannoy II
2
Arduino Flavors Mega $70 LilyPad $20 Nano $26 Uno $37
4
Pin Assignments 14 Digital I/O Pins (pins 0-13)
5
Pin Assignments DC Current Limit = 40 mA
Means you can drive an LED or the base of a transistor, but not a motor or a relay or other high current device.
6
[Converts 0-5 Volts to digital 0-1023]
Pin Assignments 6 Analog In Pins [Converts 0-5 Volts to digital ] (pins 0-5)
7
6 pins can be reprogrammed as
Pin Assignments 6 pins can be reprogrammed as Analog Out Pins (pins 11, 10, 9, 6, 5, 3)
8
The USB Port supplies power to the board.
USB Port and AC Adapter The USB Port supplies power to the board.
9
USB Port and AC Adapter If the user connects a standard 9 Volt adapter to the power connector, Arduino will shift to the adapter power supply.
10
USB Port and AC Adapter Recommended input voltage: 7-12V
Input voltage limits: 6-20V (Less than 7 volts, board may be unstable. More that 12 volts may overheat and damage the board!)
11
Pin Assignments vin: This pin comes from the external power, whatever that is. You can tap off that power here for other uses.
12
Pin Assignments 5V: This pin comes from the internal regulated 5 volt supply.
13
Pin Assignments 3V3: A 3.3 volt supply from the FTDI chip. Max current draw = 50 mA.
14
3.3 Volt Power Supply
15
Uno Pin Assignments GND: Ground pins
16
Pin Assignments TX: Used to transmit/send serial data.
RX: Used to receive serial data.
17
Pin Assignments Pins 3, 5, 6, 9, 10, 11 can be used for PWM.
Pulse Width Modulation (PWM): A way of sending variable width digital pulses that are seen as a discrete DC voltage by DC motors. Controls the effective voltage, therefore the speed of the motor.
18
Duemilanove Pin Assignments
This LED lights when pin 13 is HIGH. Pin 13 connects to a built-in LED, labeled “L”.
19
Pin Assignments When receiving an analog input (say temperature), you sometimes want to compare that reading with some reference (say desired temperature). The REF pin can supply that reference voltage.
20
Pin Assignments Sending a LOW to the reset pin will reset the board.
23
Shields MP3 RS232 Smoke Detector Voltage regulator Ethernet Wifi GPS
Data Logging Cell Video Audio Acelerometer XBee MP3 RS232 Smoke Detector Voltage regulator
24
Integrated Development Environment (IDE)
As with any IDE, the software allows you to: - Write source code (called sketches by Arduino ) - Compile and test code - Load a program into the board
25
IDE Installation Download the IDE from:
And follow the installation instructions. 2. Install the USB drivers (They allow your computer to talk to the board through the USB port). In the “Found New Hardware” Wizard, direct the wizard to the folder where the IDE was installed. Look for the folder: Drivers\FTDI USB Drivers 3. Launch the IDE.
26
Port Identification In “My Computer Properties”, navigate to the “Device Manager” dialog box. Under “Ports (COM & LPT), look for an entry like: “USB Serial Port (COMx)”, where x is some COM port. In the IDE, select that port from the “Tools Serial Port” menu to identify to the IDE which port you are using.
27
The End Any questions?
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.