Twitter: lvl1hackerspace

Upcoming Workshop! Arduino: Beyond the Blink

Sign up for the workshop HERE: http://lvl1arduinobeyond.eventbrite.com/

Workshop is BYOA (bring your own arduino).

Another Arduino workshop at LVL1!

On August 26th, from Noon to 4pm, we’re going to cover software on the Arduino.

This is different from other workshops we’ve done on Arduino.  We’ll cover the IDE, built-in Libraries, their uses and pitfalls.  We’ll go over the current Arduino sheild ecosystem, investigate embedded C best-practices, and more!

This workshop will be strictly BYOA (bring your own Arduino), and will run about 4 hours.  Feel free to stick around afterwards to ask any questions we didn’t cover.  Buy your Arduino from Radioshack, Sparkfun, or any number of other online vendors.  Bring your laptop and a USB cable, and we’ll make the Arduino sing.

Here’s a detailed list of topics covered:

  • What is a Microcontroller?
  • What training wheels does Arduino provide?
  • What are sheilds?
  • What are libraries?
  • Getting into the IDE
  • Blinkenlights
  • Built-in Peripherals
  • Pitfalls
  • Basic embedded C techniques
  • Going beyond Arduino
If there’s any particular topic you’d like to dive deep into, email me at BradLuyster@gmail.com

February Freeduino Frenzy Workshop 2/13

Greetings -

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.

Brian Wagner 1/31/11

More Info Here!

Freeduino Workshop 1/29/2011

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.

Limited Seating!

More information and registration here!

Fun with the LOLShield

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
*/

uint16_t BitMap[][9] PROGMEM = {
{ 16382 , 8193 , 10501 , 11525 , 10581 , 10581 , 11053 , 8193 , 8191 , },
{ 16381 , 8193 , 10501 , 11525 , 10581 , 10581 , 11053 , 8193 , 12287 , },
{ 16379 , 8193 , 10501 , 11525 , 10581 , 10581 , 11053 , 8193 , 14335 , },
{ 16379 , 8193 , 10501 , 11525 , 10581 , 10581 , 11053 , 8193 , 15359 , },
{ 16375 , 8193 , 10501 , 11525 , 10581 , 10581 , 11053 , 8193 , 15359 , },
{ 16367 , 8193 , 10501 , 11525 , 10581 , 10581 , 11053 , 8193 , 15871 , },
{ 16351 , 8193 , 10501 , 11525 , 10581 , 10581 , 11053 , 8193 , 16127 , },
{ 16319 , 8193 , 10501 , 11525 , 10581 , 10581 , 11053 , 8193 , 16255 , },
{ 16255 , 8193 , 10501 , 11525 , 10581 , 10581 , 11053 , 8193 , 16319 , },
{ 16127 , 8193 , 10501 , 11525 , 10581 , 10581 , 11053 , 8193 , 16351 , },
{ 15871 , 8193 , 10501 , 11525 , 10581 , 10581 , 11053 , 8193 , 16367 , },
{ 15359 , 8193 , 10501 , 11525 , 10581 , 10581 , 11053 , 8193 , 16375 , },
{ 14335 , 8193 , 10501 , 11525 , 10581 , 10581 , 11053 , 8193 , 16379 , },
{ 12287 , 8193 , 10501 , 11525 , 10581 , 10581 , 11053 , 8193 , 16381 , },
{ 8191 , 8193 , 10501 , 11525 , 10581 , 10581 , 11053 , 8193 , 16382 , },
{ 16383 , 1 , 10501 , 11525 , 10581 , 10581 , 11053 , 8192 , 16383 , },
{ 16383 , 8193 , 2309 , 11525 , 10581 , 10581 , 11052 , 8193 , 16383 , },
{ 16383 , 8193 , 10501 , 3333 , 10581 , 10580 , 11053 , 8193 , 16383 , },
{ 16383 , 8193 , 10501 , 11525 , 2388 , 10581 , 11053 , 8193 , 16383 , },
{ 16383 , 8193 , 10501 , 11524 , 10581 , 2389 , 11053 , 8193 , 16383 , },
{ 16383 , 8193 , 10500 , 11525 , 10581 , 10581 , 2861 , 8193 , 16383 , },
{ 16383 , 8192 , 10501 , 11525 , 10581 , 10581 , 11053 , 1 , 16383 , },
{18000}
};

void setup() {
LedSign::Init(); //Initializes the screen
}
void loop() {
DisplayBitMap(); //Displays the bitmap

}

void DisplayBitMap()
{
boolean run=true; //While this is true, the screen updates
byte frame = 0; //Frame counter
byte line = 0; //Row counter
unsigned long data; //Temporary storage of the row data

while(run == true) {
for(line = 0; line < 9; line++) {

//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.

Freeduino Spring training materials

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!

http://wiki.lvl1.org/Freediuino_Spring_Training

Brian

Freeduino Spring Training Workshop


LVL1 is proud to announce it’s latest class- the Freeduino Spring Training Workshop. Time and place is May 18, 2010 from 7-10 pm at the U of L Speed School Room 210. This workshop will help you learn the skills to be able to play with that shiny Arduino or Freeduino that you have been dying to figure out! Our coaches will step you through building several fun circuits that demonstrate how to interface your Arduino with LED’s, LCD’s, switches, sensors, potentiometers, motors and sound. After taking this class, you should be able to breadboard a circuit and then program your Arduino. We know this class will be a GRAND SLAM!

The cost of the workshop is $50 ($80 if you need a Freeduino). Besides the world class instruction, you will get your very own breadboard, several LED’s (even a tri-colored one), a cool blue LCD display, a temperature sensor, a photo sensor, several switches, many resistors (with brightly colored bands!), a few potentiometers, a motor and a speaker… everything you need to batter up!

OK, enough with the cheezy baseball references. This highly requested workshop will be just what you need to get started learning electronics, bit-banging, embedded computer interfacing and programming. It is sure to be a h.. good time.

Sign up is easy. GO HERE!

Here is a copy of the flyer if you would like to read it, or post it somewhere. Hope to see you there!

Solder your own Freeduino Feb. 27th

UPDATE: SOLD OUT on Feb. 14th.

ONE TICKET LEFT AT THE TIME OF THIS POST!

If it’s sold out and you want to attend, never fear there will be more coming soon! These workshops are proving to be very successful and we’ll keep doing them as long as there’s interest. Keep watching the calendar on this blog and the Google Group for more info!

Upcoming Events

Loading...

814 East Broadway

Photos