Step 3Program your Arduino...
Set the USB|EXT jumper on your BBB to the USB side so that we can program it using the USB-BUB without supplying an external power-supply. (Or, supply a 9 volt power supply on the D.C. input jack and keep the jumper on the EXT side.) When this step is completed you want to move the jumper back to the EXT side!
The other jumper with +5v|EXT|+V should be on the +5v side always.
FAT16 Library Installation:
Next, download the FAT16 library and the DigitalWindowSticker.pde file below. The FAT16 library needs to be unzipped/untared into the hardware/libraries directory where your Arduino IDE is located. On my Windows system, I keep the current version of the Arduino IDE in c:\temp\arduino-0017\. Once the FAT16 library is in place there should be a set of files in [c:\temp\arduino-0017\\hardware\libraries\Fat16\. The FAT16 library is also available here: http://code.google.com/p/fat16lib/. It is written by Bill Grieman. A copy of this library that is known to work with the Digital Window Sticker is available in the files below (Fat16.tar.gz or Fat16.zip).
Arduino IDE:
Start the Arduino IDE.
Open the DigitalWindowSticker.pde file using the IDE. There are two ways you can do this:
1) Download and open the file in a text editor, copy the contents to the clipboard, paste the contents into a new sketch in the Arduino IDE, and then save the sketch as DigitalWindowSticker.
2) Download the DigitalWindowSticker.zip or DigitalWindowSticker.tar.gz file and extract the files to the directory containing your sketches. Then open the DigitalWindowSticker sketch in the Arduino IDE.
Next, compile the sketch. If there are any errors, make sure you are using version 0017 of the Arduino IDE, with the Atmega328 board selected (Arduino Duemilanove or Nano w/Atmega328). Also make sure you've properly unpacked the FAT16 library, into the hardware/libraries directory, where other Arduino libraries reside.
Program the Arduino:
Plug-in the USB-BUB, and wait for for the drivers to be installed, or coach your system into loading the drivers. In the Arduino IDE, a new COM port should show up under Tools|Serial Port. Select the new port for the USB-BUB.
Plug the USB-BUB into the BBB as shown in the photo in Step 2, and Upload the compiled code from the Arduino IDE.
Prepare for External Power Source:
Now that the Arduino is programmed, move the BBB jumper back to the EXT side (not the USB side) so that it will be powered by the external 9 volt source.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|























































