Arduino Leonardo Setup CTY SAR FCPS Shawn Lupoli, Elliot Tan
Hardware Arduino Leonardo Boards Microcontroller board based on ATmega32u4 20 digital input/output pins Built-in Micro USB connection Powered via USB connection OR with external power supply
Hardware Arduino Uno Boards Microcontroller board based on ATmega32u4 20 digital input/output pins Built-in Micro USB connection Powered via USB connection OR with external power supply
Hardware EITHER WILL WORK!!! But in programming, (within the IDE), pick the right board!!
Two ways to access the IDE!! As of 1/1/17 https://create.arduino.cc/ Web/cloud based Still has issues (as of 2/20/17), but not bad Normal download Which ever way you want is up to you!!
Downloading Software I swear this changes every week. If anything on the next page (about installing is critically wrong, let us know)
Downloading Software Arduino IDE (v 1.0.5) Download from: http://arduino.cc/en/Main/Software Find “Arduino IDE” Select “WINDOWS ZIP” and install Open arduino.exe, and then select “Extract All” Extract to the D: drive so that Arduino.exe will not be wiped during computer shut down After extraction of arduino.exe, install the USB drivers arduino-1.0.5-r2 -> drivers - > run “dpinst-amd64.exe”
Interacting with IDE How to communicate with hardware? IDE Contains With the Arduino IDE IDE Contains Text editor Message area Text console Toolbar with buttons for common functions (e.g. Serial Monitor) Series of menus
Sketches Sketches are programming files written for Arduino Saved with file extension .ino Console displays error messages and other information Toolbar buttons allow compiling, uploading, creating, opening and saving of sketches Can also open Serial Monitor, which can be used for debugging
Uploading to Arduino Board Plug in Arduino and open Arduino IDE Select Tools Board Arduino Leonardo OR UNO Select Tools Port COM # To Check COM #, go to Device Manager Ports (COM & LPT) Select Files Example 01. Basics Blink Select Sketch Verify/Compile Code Upload Blink to Arduino (Check Console) On the board, RX and TX LEDs start blinking Successful upload: L LED blinks every second
Troubleshooting Make sure to press the “Upload” button If COM port does not appear unplug cable and try again If Upload fails press reset button when “Uploading…” appears Questions?