3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Digital Window Sticker (Arduino Controlled)

Step 3Program your Arduino...

Program your Arduino...
«
  • DWSJumper2.JPG
  • DWS_Jumper_ExtPower.JPG
  • OpenDWS.png
  • compile.png
  • compiling.png
  • compiled.png
  • selectboard.png
  • selectport.png
  • upload.png
  • last photo ←
»
BBB Jumpers:
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 StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
11
Followers
2
Author:als_liahona(Andrew L. Sandoval)
I've been writing software since I was in the 6th grade. In recent years I've developed for Blue Coat Systems, what I believe is the most advanced code injection and API hooking engine for Windows ev...
more »