Program the LoL Shield

Program the LoL Shield

The Arduino

First step is to be able to program the Arduino. The recommended Arduino for the LoL Shield is the Diavolino from Evil Mad Science, but the official one, or any of the clones that have the same footprint will work just fine. You will need to download the Arduino software on their website and get the FTDI driver installed (comes with the software). If you are using a Diavolino, then I have special instructions up here.

Once you have the Arduino software up and running, you should make sure that you can upload a sketch to it. Try to get something like “Blink” running on it first. After you’ve programmed your Arduino, go and grab the LoL Shield library from the google code project. You’ll need to unzip the file into your libraries folder. That will be located in the Arduino sketch folder that is created when you run it for the first time. There is some information on the Arduino site on how to install libraries located here.

Once that is installed, you should find the LoL Shield under Examples. Select Basic_Test and hopefully all 126 of your LEDs light up appropriately! If some LEDs do not light up, check the solder joints and just re-heat them. Also look for any joints that may be connected with stray blobs of solder or leads. Also make sure that you are not shorting against the USB port. A bit of electrical tape will keep that from being a problem.

If you are seeing LEDs light up that shouldn’t be, then there is a short somewhere on the board. There is also an LED on most Arduinos connected to pin13, and drains to ground. This causes ghosting on some of the LEDs. I usually just cut the resistor out, because it is easily replaced later. This will be up to you though.