Introduction to Arduino Chris Meyer Enlight Tech Talk
Arduino ARRRR, like a pirate / / DWEE, just say "do we“ fast / / NO, as in no. ”ARRR-DWEE-NO”
What is Arduino? Open Source Hardware Development Platform USB Programmable Microcontroller (MCU) $30 Investment!
Microcontroller? Miniature Computer Processor, Storage and RAM all in one tiny package! Atmel Microcontroller (MCU), typically Atmega328 Atmega328 Information ComponentSpecification Clock Speed16MHz Flash Memory32K EEPROM1K SRAM2K Analog -> Digital6Ch 10bit CommunicationSPI Digital14 I/O PWM6 Channel (Digital)
Shields? Shields break-out/wire-up additional components to MCU PrototypingAudio / MP3 Ethernet GPS Servo/Stepper/ DC Motors
More Shields! LCD WIFI Zigbee MIDI LED Display
So What? Previously, MCU’s were very difficult to learn to use Required learning libraries, specialized protocols, timings, code minimization, 1,000+ page documentation
Arduino makes it Arduino.cc
Use Arduino to Control Things We’re going to: – Drive Servo – LED – Buzzer – Read analog voltage in
Servo Control Pulse Width Modulation (PWM) We Provide: +5VDC PWM Signal Ground Degree Range of Motion We Get:
Transistor Output Use a transistor to “multiply” low power output from MCU to higher power to drive something RelayTransistor
Take voltage signal and convert to discrete digital signal 5V 0V 1024 Bits 0 Bits Analog -> Digital Analog Input Digital Equivalent
Analog -> Digital Also have to worry about resolution of acquisition (Bit-Noise)
Pinout
Demo Time!
Questions?