Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion Arduino Microcontrollers Made Easy Serge Wroclawski February 19, 2009 This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 License. Arduino
26
Embed
Arduino - Microcontrollers Made Easy · The Arduino Hardware Arduinos di er in design but all share some basic functionality I AVR Microcontroller I Amtel AVR Mega168 or AVR Mega8
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion
ArduinoMicrocontrollers Made Easy
Serge Wroclawski
February 19, 2009
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 License.
Arduino
Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion
What is Arduino?
I Microcontroller PlatformI Provides one standard set of assumed hardware, interfaces, etc.
I HardwareI MicrocontrollerI IO (USB or Serial)I Power
I SoftwareI The Arduino LanguageI Tools to flash to Arduino
Arduino
Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion
Arduino is Free/Open Source
I Programming environment is all Free Software
I The bootloader is Free Software
I The PCB board is under a Creative Commons License
Arduino
Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion
What is Arduino used for?
I InputI SensorsI Digital Input (Serial, SPI, I2C)
I OutputI LEDsI DisplaysI Speakers
I Control and CommunicationI Drive other machineryI Directly or using a communuication protocol
Arduino
Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion
The Arduino Hardware
Arduinos differ in design but all share some basic functionalityI AVR Microcontroller
I Amtel AVR Mega168 or AVR Mega8 (older models)
I Power SupplyI Either directly or via USB power
I CommunicationsI Serial (older models)I USB (most models)I Connections to a USB interface (smaller models)
I Pins for various functions
Arduino
Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion
The AVR Mega148
I 1 - 16Mhz CPU (20 MIPS)
I 1Kb SRAM
I 16Kb Flash (2Kb used for Arduino bootloader)
I 512 bytes EEPROM
I 14 Digital IO Pins
I 6 PWM Pins (included in the 14 digital)
I 8 Analog Input Pins (10 bit)
Arduino
Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion
The Arduino vs Do It Yourself AVR
AVR Mega148 $4Breadboard $5FTDI Chip/Cable $20
Parts $29 Arduino $35 assembledIn the end, you can use microcontroller outside the Arduino PCB,so feel free to mix n match.
Arduino
Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion
The Original
I First Arduino
I ATA Mega8 Microcontroller
I Serial Connection
I No LEDs on board
I Several DIPs to changesettings
Arduino
Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion
Duemilanove
I Current generation Arduino
I Automatic DC/USB Power
Arduino
Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion
The Diecimilia
I AVR Mega148
I USB or DC Power via DIPSwitch
Arduino
Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion
LillyPad
I 2inch Arduino model
I Designed to be sewen intoclothing
I Uses FTDI connector (nodirect USB)
I Slightly lower powerrequirements than othermodels
Arduino
Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion
Nano
I Smallest Arduino available
I USB connector directly onthe unit (no FTDI cableneeded)
Arduino
Introduction The Hardware Arduino Models The Software Add-Ons Projects & Kits Learning More Conclusion
Boarduino
I Arduino Clone fromAdaFruit
I Available assembled, in partskit, or PCB-only
I 100% Arduino Compatible(though not quite the sameHW)
I Clones are legal, as long asthey don’t use ArduinoTrademark