Archive for the ‘freeduino’ Category

February Freeduino Frenzy is a workshop that will happen on Feb 13, 2011. It will consist of several experiments that will teach the student how to do basic circuits and coding on the Freeduino (Arduino) platform. Some of the projects will closely follow the Spring Training from the Spring of ’10, some of the projects are brand new! Sign up and lean valuable skill on how to use and program your Freeduino.

You will need to bring a laptop and a Freeduino or Arduino or clone. Do not sign up if you do not have a laptop or Freeduino! You will need the laptop to program the Freeduino.

If you can, please download and install the Arduino Programming Software on your laptop as described here. That would save some time.

BTW – this is called a Frenzy because I know I have too much stuff packed into an afternoon. All of my instructions will remain online so you can revisit them whenever you want. I hope we will make it through everything – but no promises.

Learn soldering and basic Arduino programming in this workshop. The cost of this workshop also covers the materials cost for a freeduino microcontroller kit. Your assembled Freeduino is yours to keep! Use the vast open resources of the Arduino community to come up with your own electronic applications. This workshop is intended to teach you necessary skills for further exploration in the world of Arduino.

We had a fantastic weekend at LVL1. Not only was LVL1 at an awesome Actors Theater event, we also had some important visitors at the space on Saturday! On Saturday, Mitch Altman (of TV-B-Gone fame) and Jimmy Rodgers (of LOLshield fame) presented a soldering workshop. There must have been 50 people around! Also Matt Mets and Dale Dougherty were here from Make Magazine. Big thanks to Mitch, Jimmy, Matt and Dale for being part of the LVL1 experience. Our doors are always open to you!

During the soldering workshop, I built at LOLShield. Nice kit – lots of LEDs to solder. Jimmy was really good at making his LEDs come out in neat little rows – mine, not so much. Here is my video

I came upon this post and decided to make an animated LOLShield LVL1 logo. I had to download python 2.6 and the PIL library and the script ran perfectly. I created an animated gif using Gimp. Set up an image to be 9X14 in grayscale. Then draw your picture (zoomed in) and animate it using multiple layers. When you save as a gif, Gimp will make the layers into a animated gif. It is not hard. Here is my gif…

It is tiny! Next run the script in the command line and then cut and paste the code. Here is the Arduino program I am using.

/*
Basic LoL Shield Test

Writen for the LoL Shield, designed by Jimmie Rodgers:

http://jimmieprodgers.com/kits/lolshield/

This needs the Charliplexing library, which you can get at the
LoL Shield project page: http://code.google.com/p/lolshield/

Created by Jimmie Rodgers on 12/30/2009.
Adapted from: http://www.arduino.cc/playground/Code/BitMath

History:
December 30, 2009 - V1.0 first version written at 26C3/Berlin

This is free software; you can redistribute it and/or
modify it under the terms of the GNU Version 3 General Public
License as published by the Free Software Foundation;
or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include //AVR library for writing to ROM
#include //Imports the library, which needs to be
//Initialized in setup.

int blinkdelay = 100; //Sets the time each frame is shown

/*
The BitMap array is what contains the frame data. Each line is one full frame.
Since each number is 16 bits, we can easily fit all 14 LEDs per row into it.
The number is calculated by adding up all the bits, starting with lowest on
the left of each row. 18000 was chosen as the kill number, so make sure that
is at the end of the matrix, or the program will continue to read into memory.

Here PROGMEM is called, which stores the array into ROM, which leaves us
with our RAM. You cannot change the array during run-time, only when you
upload to the Arduino. You will need to pull it out of ROM, which is covered
below. If you want it to stay in RAM, just delete PROGMEM
*/

//Here we fetch data from program memory with a pointer.
data = pgm_read_word_near (&BitMap[frame][line]);

//Kills the loop if the kill number is found
if (data==18000){
frame = 0;
data = pgm_read_word_near (&BitMap[frame][line]);
//run=false;
}

//This is where the bit-shifting happens to pull out
//each LED from a row. If the bit is 1, then the LED
//is turned on, otherwise it is turned off.
else for (byte led=0; led<14; ++led) {
if (data & (1<
LedSign::Set(led, line, 1);
}
else {
LedSign::Set(led, line, 0);
}

}

}

//Delays the next update
delay(blinkdelay);
frame++;
}
}

I had to adjust the code to keep it from blinking at the end of the animation.

I have put the materials on line for the Freeduino Spring Training class if you want to take a look. In these lessons you will find sample circuits for most of the things you might want to do with your Freeduino/Arduino. All of the code examples work and are debugged. Enjoy!