RedBoard Edge Hookup Guide
Uploading Blink
Note: This example assumes you are using the latest version of the Arduino IDE on your desktop. If this is your first time using Arduino, please review our tutorial on installing the Arduino IDE.
Now it's finally time to open up the Arduino IDE Software. You'll be presented with a window that looks a little something like this:
Lets upload a Blink sketch to make sure our new RedBoard Edge setup is totally functional. Go up to the File menu in Arduino, then go to Examples > 01.Basics > Blink to open it up.
Before we can send the code over to the RedBoard Edge, there are a couple adjustments we need to make.
Select a Board
This step is required to tell the Arduino IDE which of the many Arduino boards we have. Go up to the Tools menu. Then hover over Board and make sure Arduino Uno is selected.
Select a Serial Port
Next up we need to tell the Arduino IDE which of our computer's serial ports the RedBoard is connected to. For this, again go up to Tools, then hover over Serial Port and select your RedBoard's COM port.
If you've got more than one port, and you're not sure which of the serial ports is your RedBoard Edge, unplug it for a moment and check the menu to see which one disappears.
Upload!
With all of those settings adjusted, you're finally ready to upload some code! Click the Upload button (the right-pointing arrow) and allow the IDE some time to compile and upload your code. It should take around 10-20 seconds for the process to complete. When the code has uploaded, you should see something like this in your console window:
And if you look over to the RedBoard Edge, you should see the blue LED turn on for a second, off for a second, on for a second, off for a second...ad infinitum (at least until it loses power). If you want to adjust the blink speed, try messing with the "1000" value in the delay(1000);
lines. You're well on your way to becoming an Arduino programmer!
Something Wrong?
Uh oh! If you didn't get a "Done Uploading" message, and instead got an error, there are a few things we can double-check.
If you got an avrdude: stk500_getsync(): not in sync: resp=0x00
error in your console window.
Either your serial port or board may be incorrectly set. Again, make sure Arduino Uno is the board selection (under the "Tools > Board" menu). The serial port is usually the more common culprit here. Is the Serial Port correctly set (under the "Tools > Serial Port" menu)? Did the drivers successfully install? To double check your RedBoard Edge's serial port, look at the menu when the board is plugged in, then unplug it and look for the missing port. If none of the ports are missing, you may need drivers.