* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Arduino
Electrical substation wikipedia , lookup
Three-phase electric power wikipedia , lookup
Variable-frequency drive wikipedia , lookup
Mercury-arc valve wikipedia , lookup
History of electric power transmission wikipedia , lookup
Electrical ballast wikipedia , lookup
Pulse-width modulation wikipedia , lookup
Switched-mode power supply wikipedia , lookup
Resistive opto-isolator wikipedia , lookup
Voltage regulator wikipedia , lookup
Voltage optimisation wikipedia , lookup
Surge protector wikipedia , lookup
Buck converter wikipedia , lookup
Stray voltage wikipedia , lookup
Power MOSFET wikipedia , lookup
Semiconductor device wikipedia , lookup
Rectiverter wikipedia , lookup
Current source wikipedia , lookup
Mains electricity wikipedia , lookup
Alternating current wikipedia , lookup
Where we are going: ◦ ◦ ◦ ◦ ◦ ◦ ◦ Basics Types of Arduino Software Shields Basic electronics Examples of arduino projects Where to go from here Processor (Like a motherboard) The Arduino is based on Atmel's ATMEGA8, ATMega8U2 and ATMEGA168 microcontrollers. Input/Output Onboard USB hardware 13 digital pins (6 PWM, Serial) 6 analog pins (1024 resolution over 5 volts, sample rate at <10MH) Developed in Italy for students to replace BASIC stamp Named after a local bar, means strong friend Completely open source from the beginning Need for small embedded systems ◦ UAVs ◦ Robotics ◦ Hacking Small means hard to prototype Solution: Arduino ◦ ◦ ◦ ◦ Small Powerful Easy to prototype Open Source Arduino ◦ ◦ ◦ ◦ Open Source Easy to use Premade “sketches” Easy serial monitoring RobotC ◦ Proprietary ◦ Quick prototyping ◦ More features Shield are stackable circuit boards All different kinds ◦ ◦ ◦ ◦ ◦ ◦ ◦ Ethernet Wireless (Xbee) Motor Controller LCD Prototyping Ardupilot (UAV) The list goes on! A Quick, Practical (hopefully painless) Intro Voltage (Volts) ◦ Electromotive Force ◦ How “fast” electrons are moving Current (Amperes) ◦ How many electrons are moving Current flows from positive to negative. + - (Generally red to black) Earth Ground: Resistors ◦ ◦ ◦ ◦ “resists” current Units in Ohms “Ω” Converts voltage to heat Make sure Wattage (current times voltage) limit is high enough Potentiometer ◦ Variable Resistor ◦ Three Pins ◦ Multi-Turn available Capacitor ◦ Stores Electrical Energy ◦ Units in Farads (capacitance) ◦ Like a battery, but electrical instead of chemical Diode ◦ Conducts current only one way ◦ Protects from backwash ◦ Special uses: Light Emitting Diode (LED) Voltage regulator (Zener diodes) generate radio frequency oscillations (tunnel diodes) Transistor ◦ Can act like a switch or amplifier ◦ Useful for controlling large currents ◦ Three Pins Emitter Collector Base Names don’t communicate function ◦ Names (PNP, NPN) not important RC car controlled through the web: ◦ Uses a premade frame ◦ It has a webcam! ◦ WRT54G router communicates with base station http://www.youtube.com/watch?v=sLVXmsb VwUs&feature=player_embedded Mows your lawn without you having to lift a finger! Quadrocopter uses 3-axis accel and gyros with compass to stabilize My first arduino project. http://arduino.cc/en/Main - Main Site http://www.sparkfun.com – Primary Supplier http://shieldlist.org/ - Helpful shield Reference http://vimeo.com/18539129 - Arduino Documentary http://hacknmod.com/topics/arduino/ Example Projects