Top Banner
Arduino/C++ WEEK 3 – ARDUINOS ARE HERE! PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER
12

Arduino/C++ WEEK 3 – ARDUINOS ARE HERE! PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER.

Dec 15, 2015

Download

Documents

Romeo Monfort
Welcome message from author
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
Page 1: Arduino/C++ WEEK 3 – ARDUINOS ARE HERE! PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER.

Arduino/C++WEEK 3 – ARDUINOS ARE HERE!

PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER

Page 2: Arduino/C++ WEEK 3 – ARDUINOS ARE HERE! PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER.

OMG ARDUINOs!!!THE EXCITEMENT OF CHILDREN ADULTS EVERYWHERE

Page 3: Arduino/C++ WEEK 3 – ARDUINOS ARE HERE! PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER.

Just kidding, Breadboards First.THESE ARE FUN TOO.

Page 4: Arduino/C++ WEEK 3 – ARDUINOS ARE HERE! PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER.

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…

Page 5: Arduino/C++ WEEK 3 – ARDUINOS ARE HERE! PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER.

But first, what is a breadboard?

Page 6: Arduino/C++ WEEK 3 – ARDUINOS ARE HERE! PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER.
Page 7: Arduino/C++ WEEK 3 – ARDUINOS ARE HERE! PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER.

Basically, avoid this.

Page 8: Arduino/C++ WEEK 3 – ARDUINOS ARE HERE! PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER.

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

Page 9: Arduino/C++ WEEK 3 – ARDUINOS ARE HERE! PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER.

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

Page 10: Arduino/C++ WEEK 3 – ARDUINOS ARE HERE! PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER.

CHINA vs. AMERICA (via China)

Page 11: Arduino/C++ WEEK 3 – ARDUINOS ARE HERE! PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER.

ARDUINO TIME!!COMMENCE FUN.

Page 12: Arduino/C++ WEEK 3 – ARDUINOS ARE HERE! PRESENTED BY: UBCO IEEE STUDENT BRANCH & NICHOLAS KROEKER.

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