-
Notifications
You must be signed in to change notification settings - Fork 55
Arduino IDE Setup
If you haven't already, download and install the latest version of the Arduino IDE here.
Since I didn't want to re-invent the wheel, the Reflowduino uses a modified version of the Arduino Leonardo bootloader kindly supplied by Adafruit Industries for their Adafruit Feather 32u4 boards, which also run on 3.3V/8MHz. This bootloader is already loaded to the ATmega32u4 when you receive your board. This means you can simply following their tutorial for installing the Adafruit boards package. The main thing you need is to see "Adafruit Feather 32u4" under Tools -> Boards in the Arduino IDE.
- Now that you have the board package installed, connect your Reflowduino to your computer via micro USB. When you connect your Reflowduino your computer may give you a message saying something like "Device unsupported" but no worries!
- Open the blink sketch (File -> Examples -> 01.Basics -> Blink). The LED on the Reflowduino is also on pin 13, so you don't need to modify the sketch
- Under Tools -> Port select the port that appears. Note that this may just be a debug port for the ATmega32u4 but that doesn't matter because the Arduino IDE will find the right port
- Click the Upload button. You should see something like "{COM20, } / {} => {}" scrolling at the bottom of the screen. When this happens, press the RESET button on the Reflowduino. Right after doing this it should find the port and you should see something like "PORTS {} / {COM21, } => {COM21, }" and "Found upload port: COM21", after which it proceeds to upload
- Check if the red LED blinks! If so, you're good to go for loading the Reflowduino Demo sketch or other functional test sketches!
For the Reflowduino Demo code you will need a couple libraries:
Click on the links above to open the Github pages of each library and click "Clone or download" and "Download ZIP"
Extract the files to your Arduino libraries folder which by default is "C:\Users{USER_NAME}\Documents\Arduino\libraries" for Windows. Do this for both libraries and restart Arduino IDE if you had it open. An alternative way to install would be to place the ZIP files to a convenient location (like Desktop) without extracting them, and in Arduino IDE go to Sketch -> Include Library -> Add .ZIP Library... and select the ZIP files one at a time.