Here's how to load the Arduino code on Blimduino:
First, you need to download and install the latest Arduino IDE
Then, download the latest Blimpduino code from the code repository
Unzip the file. You should have a directory that looks like this:
Now plug in your FTDI cable into the six-pin FTDI port on the Blimpduino board. Make sure the BCK and GRN labels on the board correspond to the matching black and green labels or wires on your FTDI cable.
If you're using the Sparkfun FTDI board
(it requires a USB cable
, if you don't already have one), it will look like this:
If you're using the DIY Drones FTDI cable
, it will look like this:
To load this code, power on the Blimpduino board with the battery or using some other 5v power source (do not attempt to just power the board with the FTDI cable. We did not connect the power pins on the FTDI port to the processor to avoid power conflict when the board is powered by the Rx and you're using the FTDI as a serial monitor). The red power LED should go on.
Then in the Arduino software in the "Tools" menu make sure you've selected the right serial port (the FTDI cable will create a new one, which is probably port 5 or higher). Also ensure that the board selected is "Arduino Pro or Pro Mini (8 Mhz)"
Load the BlimpDuino "sketchfile", blimpduino[version].pde, which will load the rest of files in tabs.
Your interface should look like this:
Now press the "Upload to I/O board" icon (the little arrow pointing to the right). If you have the Sparkfun board, after about 20 seconds you should see a red LED flash a few times and then stay on for a while as the code is being uploaded. On the DIY Drones cable, which doesn't have a LED, just wait. After about 30 seconds the software should report that the sketch was successfully uploaded by reporting "Done uploading" and reporting the Sketch size. If not, check out the Arduino debugging tips here
Note: the Arduino IDE has a handy built-in serial monitor, which is a great way to watch Blimpduino work. The code reports a lot of status messages over serial, which you can see while your FTDI cable is plugged in. Just click on the little box icon on the far right and ensure that the baud rate is set for 38400, as shown: