arduino ppt
DESCRIPTION
arduino hardware board.TRANSCRIPT
![Page 1: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/1.jpg)
Arduino
A free development system based on Atmel AVR 8 bit microcontrollers.
LB8X Tom
![Page 2: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/2.jpg)
What is AVR• RISC architecture microcontroller• Designed for high level languages, developed in
Trondheim, Norway in 1996• Classic: AT90S1200, AT90S2343, AT90S2313,
AT90S4433, AT90S8515, AT90S8535• ATtiny22, ATtiny25-85, ATtiny2313 ...• ATmega8, ATmega16, ATmega 48-328 ...• Flash programmable memory• ATmega self programming• RAM, EEPROM and peripherals
![Page 3: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/3.jpg)
What is Arduino
• Open Source Hardware, you can make your own board, or buy one.
• Cheap, easily available.• Open Source Software.• Very widespread, many projects openly
available.• Extra HW (shields) available.
![Page 4: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/4.jpg)
Arduino Duemilanove (2009)
![Page 5: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/5.jpg)
![Page 6: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/6.jpg)
![Page 7: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/7.jpg)
![Page 8: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/8.jpg)
Arduino Uno
![Page 9: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/9.jpg)
Arduino Mega 2560
![Page 10: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/10.jpg)
Original Arduino with RS-232
![Page 11: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/11.jpg)
Arduino on breadboard
![Page 12: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/12.jpg)
Arduino Nano
![Page 13: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/13.jpg)
Ardweeny
![Page 14: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/14.jpg)
![Page 15: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/15.jpg)
![Page 16: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/16.jpg)
![Page 17: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/17.jpg)
Arduino IDE
![Page 18: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/18.jpg)
Arduino Language• C like syntax, but simplified• Abstracts the pin naming to numbers• Trades efficience for ease of use• Easy to learn, yet powerful• Lots of example code • Easy to reuse C-code from other projects• Libraries can be written in C++• Lots of libraries available
![Page 19: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/19.jpg)
int ledPin = 13; // LED connected to digital pin 13
// The setup() method runs once, when the sketch starts
void setup() {
// initialize the digital pin as an output:
pinMode(ledPin, OUTPUT);
}
// the loop() method runs over and over again,
// as long as the Arduino has powervoid
loop()
{
digitalWrite(ledPin, HIGH); // set the LED on
delay(500); // wait for half a second
digitalWrite(ledPin, LOW); // set the LED off
delay(500); // wait for half a second
}
![Page 20: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/20.jpg)
BascomAVR IDE
![Page 21: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/21.jpg)
BascomAVR Language• Structured basic• Uses AVR pin naming• Easy to learn, yet powerful• Very efficience, and compact• Can use inline assembly code• Built in simulator• Lots of example code • Must have paid version to make libraries• Lots of libraries available
![Page 22: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/22.jpg)
BascomAVR advantages• Free demo version, up to 4kB code• Supports most AVRs• Commercial version is inexpensive• Excellent support• Active community• Supports bootloaders• Supports many programmers• Can work with AVR Studio
![Page 23: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/23.jpg)
$regfile = "m8def.dat"$crystal = 16000000
Led Alias Portb.5 'Arduino digital pin 13
Config Led = OutputReset Led 'Turn off LED
' Main program
Do Waitms 500 Toggle Led Waitms 500 Toggle LedLoop
End 'End program
![Page 24: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/24.jpg)
Prototype shield
![Page 25: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/25.jpg)
Proto shield w/mini breadboard
![Page 26: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/26.jpg)
Ethernet shield w/micro-SD reader
![Page 27: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/27.jpg)
Argentdata radio shield for APRS
![Page 28: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/28.jpg)
Extreme shield stacking
![Page 29: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/29.jpg)
Bluetooth to TTL 5V module
![Page 30: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/30.jpg)
USB to TTL module
![Page 31: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/31.jpg)
RS-232 to TTL module
![Page 32: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/32.jpg)
Approximate pricing eBay
• Arduino Duemilanove $25• Proto shield from $5• Ethernet shield $18• Bluetooth module $17• USB to TTL module $5• RS-232 to TTL module $6
![Page 33: Arduino ppt](https://reader035.vdocuments.net/reader035/viewer/2022081515/55cf9dba550346d033aeed5d/html5/thumbnails/33.jpg)
Resources• www.atmel.com/avr• www.avrfreaks.net• www.arduino.cc• en.wikipedia.org/wiki/Arduino• www.mcselec.com (BascomAVR)• www.argentdata.com• www.ebay.com• www.sparkfun.com