This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorials:make:ledbelt:index.html [2012/01/09 17:58] ladyada |
tutorials:make:ledbelt:index.html [2016/01/28 18:05] (current) |
||
---|---|---|---|
Line 162: | Line 162: | ||
+ | We'll have to install a version of the Arduino IDE called Teensyduino and our LED strip library, so we can program the controller chip. | ||
- | We'll have to install the Arduino 1.0 IDE and our LED strip library, so we can program the controller chip. To download Arduino 1.0 (or greater) [[http://code.google.com/p/arduino/wiki/Arduino1|visit this download page]] and pick out the right one for your operating system. Uncompress the downloaded ZIP - this will take a bit of time. Run the IDE once to create your sketch folder, which will be in your Documents folder. | + | **[[http://www.ladyada.net/products/atmega32u4breakout/teensyduinov21b.zip|If you're running Windows, you can just download this ready-to-go zip package. Uncompress it and inside will be an Arduino IDE ]]** |
- | OK welcome back! Now you will install the 'library' for the Digital LED strip. [[https://github.com/adafruit/LPD8806|Visit our github repository]] and click on the **Downloads** button in the middle of the screen to download a zip of the library and examples. Uncompress the folder and rename it **LPD8806** make sure that inside that folder is the **.cpp** and **.h** files. Then copy it to your **arduinosketchfolder**/libraries folder. [[http://www.ladyada.net/library/arduino/libraries.html|See our tutorial for more details. ]] | + | **[[http://www.adafruit.com/downloads/teensyduino_v21.dmg|If you're running Mac OS X, you can just download this ready-to-go dmg package. Uncompress it and inside will be an Arduino IDE]]** |
- | Restart the Arduino software. You should see a new **example** folder called **LPD8806** and inside, an example called **LEDbeltKit**. Open up the LEDbeltKit example. | + | Download and install whichever matches your setup. Uncompress it onto your desktop or where ever you want to store the IDE folder. This will take a while so we'll wait here for you. |
- | Be sure to select **Leonardo** in the **Board** menu. Also select the Serial Port that is made when you plug in the Atmega32u4 board to USB. | + | OK welcome back! Now you will install the 'library' for the Digital LED strip. [[https://github.com/adafruit/LPD8806|Visit our github repository]] and click on the **Downloads** button in the middle of the screen to download a zip of the library and examples. Uncompress the folder and rename it **LPD8806** make sure that inside that folder is the **.cpp** and **.h** files. Then copy it to your **arduinosketchfolder**/libraries folder. You may have to create the **arduinosketchfolder**/libraries if it doesn't exist yet. [[http://www.ladyada.net/library/arduino/libraries.html|See our tutorial for more details. ]] |
- | {{ :tutorials:make:ledbelt:selectleo.gif? |}} | + | Restart the downloaded Arduino software. You should see a new **example** folder called **LPD8806** and inside, an example called **LEDbeltKit**. Open up the LEDbeltKit example. |
+ | |||
+ | Be sure to select **Atmega32u4 breakout** in the **Board** menu. Also select the Serial Port that is made when you plug in the Atmega32u4 board to USB. | ||
+ | |||
+ | |||
+ | {{ products/atmega32u4breakout/selectatmega32u4.gif? |}} | ||
{{ :tutorials:make:ledbelt:leocom.gif? |}} | {{ :tutorials:make:ledbelt:leocom.gif? |}} | ||
- | To upload the LEDbeltKit sketch, simply have the board plugged in, and click the Upload button in the IDE | + | To upload the LEDbeltKit sketch, simply have the board plugged in, click the Upload button in the IDE and press the **RESET** button on the breakout board |
+ | |||
+ | <class notewarning> | ||
+ | Don't forget to press the reset button on the blue 32u4 PCB right after clicking upload to launch the bootloader and get it ready for programming! | ||
+ | </class> | ||
+ | |||
{{ :tutorials:make:ledbelt:leoupload.gif? |}} | {{ :tutorials:make:ledbelt:leoupload.gif? |}} | ||
- | Once you've uploaded you should see the LED belt perform the blinky test! | + | Once you've uploaded you should see the LED belt perform the blinky test! It will look a little similar to this: |