Presentation on theme: "Arduino/C++ WEEK 3 – ARDUINOS ARE HERE! PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER."— Presentation transcript:
Arduino/C++ WEEK 3 – ARDUINOS ARE HERE! PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER
OMG ARDUINOs!!! THE EXCITEMENT OF CHILDREN ADULTS EVERYWHERE
Just kidding, Breadboards First. THESE ARE FUN TOO.
But first, what is a breadboard? Full name is “Solderless Breadboard”; the solderless part is assumed Essentially, a breadboard is a things with a bunch of holes that you stick parts in. The solderless part means you don’t actually have to solder the parts together in order to have electrical connectivity* *But ask Nic how many times he’s spent hours tracking down a loose connection…
Arduino Time! Care is of the utmost importance NO STATIC!! – try to touch something metal (preferably grounded) Avoid lovely, warm, fleecy clothing Avoid stomping around on carpets Avoid plastic chairs + movement Don’t breathe Until you know better, only use USB for power Automagical anti-static protection It’s current-limited by your computer, and only supplies a max of 5V Nothing you do with the Arduino (or USB cable) will damage your computer* *unless of course you find some higher voltage somehow to pump through, but that might still be fine
What you got VS. What we said ATmega32u4 16MHz 8-bit AVR architecture 32kiB of flash/program memory (non-volatile) 2.5kiB SRAM 1kiB EEPROM Storage (electrically- erasable programmable read-only memory) Full-Speed USB (12Mib/s or 1.5MiB/s) Can act as any device!! ATmega328p 16MHz 8-bit AVR architecture 32kiB of flash/program memory (non-volatile) 2.0kiB SRAM 1kIB EEPROM Storage
Arduino IDE Setup Launch the Arduino IDE Click through Tools Board, select Arduino Micro Yes, you have to do this every time. Click through Tools Serial Port, select the right one We’ll figure this out Yes, this every time as well. Some computers even assign a new COM port when you unplug/plug-in the Arduino to the same USB port. Click through File Examples 01.Basic Blink Stare at code intensely until it does something cool