Friday, February 3, 2012

The Sheeva Plug and tiny computers in general

Ever since Bloominglabs hackerspace actually became a space in the physical sense, we wanted to put together an RFID access system for our space. After some experimentation and false starts, we came across 23b Shop’s open-access-control system, which essentially is the largest Arduino shield you’ve ever seen. It handles such matters as storing user tags in EEPROM, unlocking electric strikes via relays, and a bunch of other stuff. In the Open Source sense, it does what it does out of the box, plus it does anything you decide to add to it, should you follow the advice of American poet laureate Henry Rollins - ‘Don’t think about it, do it!’

Among other things, visits (and alarms and sensors being set off) are logged to the serial port. So if you connect it to a server via a USB cable, you can do all sorts of things with this info. In arclight of 23b Shop’s case, he used a very small, low power (5W) ‘plug computer’ called the SheevaPlug as a server, installed ArmedSlack on it, and set up some scripts to mail people when somebody is at the space (or an alarm goes off).

As an Arduino fan I like really small computers, and I generally like things that provide ‘the right amount of power for the job’. For example, I think it’s dopey to drive a Hummer not only because it’s a stupid car that wastes gas and generally stinks up the place with pollution, but also because from an engineering standpoint, using all that gas to move a 200 pound individual from point a to point b seems like the stupidest and least elegant fucking thing ever. Sorry for the language.

So I ordered a SheevaPlug from Globalscale technologies for $99 (the low price is another thing I liked), and not long after that it arrived. I immediately was a bit disappointed that it came with Jaunty Jackalope, so any attempts to install anything or update anything were for naught, because Jaunty Jackalope is no longer supported. I’m not sure why they felt like this was the thing to do. It was pretty clear now why arclight had installed another distribution.

I ended up going with Debian instead of ArmedSlack, because I like Debian and it seemed like the thing to do. It ended up being a good choice in part because I used this guide, and the guy (Martin) who wrote it was extremely responsive and helpful with some questions I had about the process. I created a filesystem and installed Debian on an 8GB SD card, and I was on my way, or so I thought. After a couple of days, the thing just died. A bit of forum searching turned up some frustration people had involving the power supply, including some not very flattering critiques of the soldering technique of the manufacturers. I returned the Plug asking for a replacement, and after a somewhat frustrating couple of weeks, I received my repaired SheevaPlug, with Jaunty Jackalope helpfully installed.

This was a couple of months ago. While I was waiting for my SheevaPlug to be fixed, we set up a server running Fedora in what we’ve decided is the server room at Bloominglabs. Since the RFID system sits on top of the rack the server is housed in, we set up the monitoring system on that server, along with a bot in our irc channel that helpfully welcomes people with small talk about ‘that local sports team’ and so on.

I ended up using the Sheeva plug for some experiments w/ sending info from sensors to Pachube. It’s been running fine for over a month now, and it’s nice to have a server I can leave running around the clock that doesn’t use much power or make annoying fan noises. I do have a problem where when I reboot, it doesn’t always recognize the SD Card, but for now I’ve attributed that to a crummy SD card and moved on. The Sheeva plug is worth checking out if you want to see what plug computing is about. Needless to say my experience was not optimal, but to their credit GlobalScale sorted out my problem with minimal fuss or hassle.

By the way, if you haven’t heard about it, the Raspberry Pi project is in a similar vein and looks VERY interesting. It’s an ARM/Linux box for $25! My initial feeling is that although they’ve already started manufacturing them, it will be very hard to get a hold of one for some time, but this is one of those things I’d be happy to be wrong about.

Saturday, December 31, 2011

Bloominglabs 2011 in review, Part II

Events

We were involved in a couple of other events the past year in addition to the Workshops I mentioned last time and our Open House. The big ones being another BugBot workshop at Wonderlab, the 4th of July parade, and the Indy Mini Maker Faire.

Bugbots at Wonderlab

The Bugbot workshop was a bit of a step up for us. Our previous workshop was part of the Metal Mayhem Robot Day, but this one the workshop was the main event at Wonderlab, one of our favorite Bloomington institutions and one we look up to as a big success story in going from an idea to a very real and very cool place. Several people and their kids came out for this, and we had some valuable help from Wonderlab people in addition to the Bloominglabs members that came out for it. Many bugbots were built, and then when head to head (kind of) in the Bugbot arena. I've done this workshop a few times and am still impressed by how something so simple manages to navigate around and keep going for so long with obstacles and other bots in its way.

4th Of July Parade

This one was a bit funny, as while we were smart enough to start pretty early brainstorming for it (months ahead), we kind of fell short of our grand vision when the day rolled around. There were plans including a 'human bugbot', an infrared LED sign that could only be seen thru a digital camera (you can see how this would work using a TV remote), and a circuit bent band. Some of these grand plans fell victim to proof of concept research (LEDs in full sunlight? Maybe not.), others to the fact that we all have jobs and/or school or what not, or other projects drew us in (about which, more shortly).

Enough suggested projects came through that we went ahead with the float - we had smoke cannons that were suggested and put together by Jenett and some others, Joe brought his guitar he had built himself and played it (alas there was no circuit bent band - the Steel Band behind us didn't know about the bullet they'd dodged there), and we had Twinkie cannons although we were not allowed to use them (the idea at one point made me think of Homer Simpson firing a shotgun outside the bowling alley as a 'promotion', so I wasn't entirely surprised by this). The big project and feature of the float was the Straandbeest. While as is often the case, this proved to be way more complicated than anticipated, I also saw it as a model of future projects I hope to see more of in Bloominglabs' future.

Charlie suggested the idea, and then rather than sit back and congratulate himself on his mental and verbal work and waiting for the project to spontaneously organize and implement itself, he and Ross dug in heavily to researching and prototyping and making the thing happen. Toward the end, some 'build days' were organized where everybody could pitch in, and even if we were just drilling holes or sawing or hammering, the feeling of everybody pitching in to make it happen was a great thing I hope we see more of in 2012. As I said, it turned out to be far more complicated than anticipated, and installing motors and a drive system to make the thing walk around didn't happen in time for the parade, but all the structural parts including the walking motion were in place.

The parade itself was great fun and helped us get the word out to the community that we existed, and in 2012 we'll see if we can pull off something on a grander scale.

Indianapolis Mini-Maker Faire

Indiana is doing well for itself this year in the Maker department. There were two Maker Faires in 2011, this one in Indianapolis, and one in Fort Wayne. Rex had the idea of putting together a Bloominglabs booth at the Indiana Mini-Maker Faire, and more importantly he put considerable effort and energy into making it happen, along with several other members. I kind of lamed out and wasn't part of the booth, but I did make it to the Maker Faire and was quite impressed with the booth and the Faire itself. Rex brought several robots and soldering stations, and showed how he designs and etches circuit boards, and Jay brought many Arduinos and laptops for people to play with. Jonathan helped out all-around as did Rex's son and wife and others.

Projects

A hackerspace is nothing without some cool projects. Well, that's not entirely true, it's a fun place to hang out and talk to really interesting people and have beer and pizza, but you can do that at Geek Dinners, too, and hackerspaces are all about doing things. At any given time people are working on individual projects - soldering together and playing with shields and Arduino kits, trying out ideas for bigger projects, and so on, but we do same bigger scale projects, too.

RFID Access System

This project took some time to get fully operational, but it's in place at the new space and is pretty cool. After some initial prototypes that ran into some interference problems, we ended up putting together and installing the Open Access Control kit the good people at Shop 23b have released to the hackerspace world in the open source spirit. Being open source it is nicely hackable and customizable, and I'm working on a database-backed app that lets you manage and track users beyond the RFID tag values (0x324153 for example) stored in the EEPROM. There are also all kinds of cool things you can do with logging and tracking people's comings and goings, you can add sensors and alarms to the board - it's nicely open ended in the 'we can always add another cool thing to it' way of the Open Source and Open Hardware world.

Reverse Geocache

In what was probably not a highlight of 2011 for Bloominglabs, we were approached by the TEDxBloomington people to do a collaboration with the Geocaching community on a Toybox project. Initial enthusiasm about the project kind of ran into reality and some other factors including the fact that people were already pretty into 4th of July projects, the project idea was kind of open ended to the point where we weren't sure if our ideas were really appropriate to the vision of the project, and the fact that for whatever reason, the Bloominglabs and Geocache crews never really gelled, and the always important matter of funding and money.

I did have a couple ideas I got jazzed about and plowed ahead with. One involved labelling Geocache boxes with a phone number or QR code so people could log their visits vocally or by text using the Twilio API. I put the code for the prototype together over a weekend, but at that point things kind of fizzled. I did try the idea with easter eggs I left in the park near our house on Easter, but either my daughter and I did too well hiding the eggs, or people are afraid to call numbers found in eggs left by strangers in the woods, or both. I may try some other variant of this (maybe a proper geocache) in the future.

The other idea was for a Reverse Geocache (trademarked by Mikal Hart). I dug into this and put considerable effort and not inconsiderable money into it (the GPS unit alone was $60). In the end it was successful and I let some people play with it at the Open House (I really need to do a write up on it), but by the end of the project it was so much 'my baby' that I began in engineer fashion thinking of all the things that could go wrong if I released it into the wild (people dropping it, or trying to pry it open and destroying the lock, or other damage intentional or unintentional) and was by the end not about to let it go for the funding that was available at the time. That and none of the other boxes getting fully completed made this less than a high point for the group, but we learned a lot from the experience. I ended up pretty happy w/ the results and the people who've seen it and played with it like it, though.

IR Harp

The IR Harp is an ongoing project led by Jenett. This one's based on a project on the Cornell EE website, and I wrote about it in an earlier post. Ultimately it is to be a part of 'True Dungeon', as an interactive puzzle, and it is a really cool project that's been fun to watch take shape.


A high point of the past year for us was having the 'Rumble Challenge' combo lock picking and drinking game which was part of the FOOLs lockpicking village at Louisville's Derbycon featured in hack-a-day. dosman was the lead on this one (he also made a really cool fireworks control panel and other cool projects over the course of the year). I made some very modest contributions in the form of a Processing based scoreboard that communicated w/ the lockpicking stations via serial port communication. This one was great fun to demo - the rumbling is VERY loud and it makes quite an impression.

That's it (but not all of it) for now

This post has exceeded the usual preferred blogpost length. I've left a lot out, I'm sure, and I'm happy about that as it's because more happened in the past year than is easy to summarize. Our main goal for the new year is to do even more, especially in terms of big projects and we hope to draw in more interesting and interested people of all levels of skill and knowledge (serious about this - teaching people and bringing them into the making/hacking fold is a big part of what we do, and one of the most fun things besides).

Among other things I need to post more in the blog and elsewhere (we're on the usual social media things, Twitter and Facebook, and we've got our wiki/website). Hope to meet some new people next year at our Wednesday 7pm meetings. Happy 2012 to all!

Monday, December 26, 2011

2011 at Bloominglabs Part I


A lot happened at Bloominglabs over the past year. It was a better year for us than 2010, which in turn was better than 2009. Hopefully this trend continues. I'll try to sum it up for you here. This is not meant to be like a holiday 'Danny Jr. got a job at Wal-Mart in the summer' family update letter, but one of those magazine 'a look back at 2011' issues, so here we go.

The Big Move
In 2010 we moved out of the basement and into a shared space with The Collaboration Room. We continued to meet and work there for the first half of the year, moving to our grand new much bigger (1000 sq ft) space in early July. We had an Open House late in July that was pretty well attended, and aside from the location being less ideal than the Collaboration Room's (we got spoiled being downtown in walking or biking distance of many members' homes) it has been really great to have a good HQ with room for workshops and our ever-growing collection of tools. Sadly the Collaboration Room is no longer in existence and currently the space is one of many commercial spaces around town that's empty. I know the owners have to make money, but in our search we did find that a lot of commercial spaces are pretty pricey even with a lot of them vacant, and they aren't exactly making money w/ nobody in them.

Fortunately there are plenty of people in Bloomington determined enough to make cool things happen not to be discouraged by that, and I'm not just saying, 'yay for us' here, I'm thinking of other Bloomington institutions for creative types like The Bloomington Print Collective and The Paper Crane Gallery, too.


Workshops
Our workshops started out with a Contact Microphone Workshop conducted by the rock/circuit bending band CMKT4 at Russian Recording (yet another cool Bloomington organization) in February. This brought out some new people and worked out really well - much fun was had with soldering irons and hot glue, and the band gave a performance while we waited for the plasti-dip coating the mics to dry. Joe S. was the main organizer/coordinator/flyer maker for this one, and a fine job he did.

Jay S., who does training on Kuali Software professionally, put together and conducted a super-slick and professional Intro to Arduino Workshop that went beyond the standard blinky lights to temperature sensors and other applications. We're hoping to get Jay to host this one again in 2012.

Jenett T. conducted a two-part workshop on AVR programming for those who wanted to go deeper into the AVR toolchain. This is one of the classic Bloominglabs workshops, in fact it's one of the first things we did when we started meeting. It was a fun workshop - as with the Arduino workshop, once people got things up and running, they really got into changing the code to try out their ideas.

We had a visit from Catarina Mota that I mentioned in my previous blog post at the end of November. She talked about materials like conductive threads, fabric, and paint, quantum tunneling composites, all kinds of cool stuff, with of course several projects she'd made that demonstrated their use. One of the fun things I learned in this workshop was that there's a site that caters to people who want more fashionable versions of the fabled tinfoil hats that's a great source of conductive material. It's: lessemf.com

In mid-December we held our second 'Holiday Mini-Workshops'. Mid December is not really a great time to schedule things in Bloomington, but we had a good turnout, and people brought along their kids. The most popular activity, as at last year, was making molds of pretty much anything people could think of with the vacuum former, and using the molds to make soap. Two new molds added to the collection were a Blackberry phone mold and a Buddha figurine (the mold was only good for one use due to the Buddha figurines' lack of convexity).

In Part II:

Cool events and projects of 2011

Wednesday, December 14, 2011

Quick 'n' Easy Polyphony for the Arduino

Bloominglabs was lucky enough to have Catarina Mota of OpenMaterials, NYCResistor, ITP, and more visit our space last month to give us a demo on open materials - conductive threads and fabrics, materials for modeling parts (e.g., Sugru), quantum tunneling composites, conductive paint - it was very cool and we came away from it inspired to make projects using the things she showed us.

Catarina is partially known as co-creator of the Jeltone Jello piano, which she brought to show us. Later during a health food stop a few of us made at the local Denny’s (the first time I’d eaten at one in at least 15 years) the subject of polyphony using the Arduino came up. Jennet, one of Bloominglabs’ founders, has been working on an IR harp based on a project some students did at Cornell. The site is a great resource of project ideas, and the projects are very well documented.

Anyhow, the code for the IR Harp was written for the ATMega644, and as the user plucks the strings, the notes ring out in some sweet sounding (for 8 bit) chords. This gave us the idea that it could definitely be done, although of course it would require something more than the Tone library.

I took a look at the code to see about porting it. Fortunately the Atmega328 the Arduino Uno is built around has pretty much the same registers and so on as the ATMega644, the main differences being the 644 has a lot more pins, and twice the memory.

I had an AD5330 DAC I had played w/ before, inspired by this tutorial over at Sparkfun, so I decided to use that.

To convert the code, I first switched over from using Timer0 to Timer2. Timer0 is used for millis() on the Arduino, so if you try to compile the code w/ Timer0, it will error out. I also had to add the code to accomadate my DAC (adapting for others shouldn’t be too tricky), and fiddled around a bit with which pins are used for what. I stuck with using the ‘PORT’ approach to I/O instead of the Arduino functions, b/c as we know they are way faster, and generally you want an interrupt routine to do its thing as fast as possible and get out.

Another change was to have a function to load the different waveforms on the fly as needed. These were all being loaded up front, and like I said, the 328 has only half the memory. Also, the waveforms are calculated, so you do not need to store a table.

The demo code goes thru all the waveforms, plucking out the same chord for each. Feel free to use it for whatever instrument you want. Maybe an Arduino-based 8bit clock tower/carillon. Why not?

Thursday, March 4, 2010

The Collaboration Room in Bloomington: You and Your Thoughts are Welcome

When last we left our heroes from the Bloomington hackerspace, they were working on robotic cats, robotic robots, game controllers, laser harps, 3-D printers, and blinky microcontroller projects in member and laser harp designer Jenette's basement. Fun was had, knowledge was shared, beer was consumed, and Nerf battles were waged.

A month or so ago, we were alerted to the existence of The Collaboration Room, a fairly new place in town that makes the very cool town of Bloomington even cooler. It's a house on 214 N Rogers Street where artists and other collaborators can gather to work on projects. I visited a couple of weeks ago during a Friday night session (these are held every Friday from 5-8pm) with my daughter. We met Matthew and Matisse, and in no time we were contributing to prints that had been started by previous visitors. After doing that for a bit Matthew taught my daughter how to make prints with brayers, barens (new terminology to both of us) and colorful ink. Matthew is a good teacher who works well with kids, so it was not surprising to find out he works for the Boys and Girl's Club of Bloomington.

Some other members of the hackerspace dropped by, so we talked about what hackerspace was about and what we'd been up to, and were graciously invited to have meetings at the Collaboration Room Tuesday nights. It seems to be working out very well, as the 2 groups have the same goal of working on creative projects with people with a variety of skills and different levels of expertise. At the first meeting, the collaborative spirit overtook us, and we put aside individual projects to work on a robotic (servo powered flapping wings) parrot we were determined to put together that night. It was not unlike a reality show challenge, only our opponents were the clock and boredom, both of whom we defeated.

A few days later, some of us went to the Collaboration Room's first benefit at the Bishop. This featured a performance art work involving a guy mowing a small indoor lawn and several local bands. People were invited to participate in the Collaboration Room's Red Circle Animation project (I drew a red unicycle). Prints, including two my daughter and I had worked on, were on the wall for sale. I bought the one my daughter had worked on, so now she has sold work.

Matisse runs an animation workshop on Saturday Morning. Spaces are very limited, so interested parents should contact Matisse via the website. At the first session, we watched some animated works made by previous kids for inspiration. One involved a pair of Gwar/Transformer hybrid characters in a guitar battle. After that, no time was wasted, and the kids dove right in to making clay characters and choosing or making sets for their works. By the end of the session, they had made 3 cartoons.

While The Collaboration Room is very kid-friendly, it is a place for all ages. It's very much about inclusiveness and being accessible to anybody with a desire to participate in a constructive way. As they say, 'everybody brings something to the table'. Matthew has pointed out that Bloomington's Wonderlab (a science museum for kids) started out as a small operation run by a small but very enthusiastic and energetic core of volunteers. Bloomington's community radio station, WFHB, started out that way too. I would love to see The Collaboration Room reach the same level of success the Wonderlab and WFHB have enjoyed. If you live in Bloomington and are interested, go to a Friday Night open session, volunteer your talents and teach a workshop, or donate some art supplies.

Related Links:

Monday, January 25, 2010

How I will lose 1,000 pounds in 2010

I suffer from the admittedly 1st world problem of having too much junk. Over the years, stuff accumulates and gradually changes state from 'stuff' to 'junk'. In spite of its devaluation and the loss and damage of a lot of junk in moves from dwelling to dwelling, for me at least the junk comes in faster than it comes out, and I have a really hard time parting with the junk even though most of it has no sentimental value whatsoever. Even with stuff that has sentimental value (my daughter's art work) I have a tendency not to be selective about what gets archived.

Left untreated, this could lead to an appearance on the television show 'Hoarders', which is not desirable to me even in these fame-obsessed, less-shame-influenced-than-ever times.

In order to achieve this goal, I will need to drop 83 1/3 pounds a month. I will make an effort not to merely make the junk somebody else's problem by throwing it away, although I've gotten off to a bad start, throwing out 2 trashcans worth of junk that's accumulated in my cube at work. This junk was a combination of out-of-date calendars, obsolete software I got from MS when I was an MSDN member (now: open source for life!), and the sort of write-only notebooks that are part of my 'method'. Even though most of the notebooks have dates, I can't say the June 2006 notebook is going to answer any questions I have. I have made a move to logging things in electronic form recently (Google Docs), which is decidedly more searchable.

This weekend I went through my technical book collection and weeded out some decidedly out of date tech books (Java 1.2, a book on Flash from 2000, that sort of thing). I would feel bad selling these on eBay, because they're worthless, and dumping them on somebody else for a couple bucks, while not as bad as selling crack, is still ethically questionable. I will recycle them instead.

This stack of books weighed 24.5 pounds, and given the dimensions of the stack (10 1/4 in x 8 1/8 in x 12 in), that gives us a paper density of about 42 pounds per cubic foot. Since I didn't weigh the trashcan at work, I instead in Microsoft interview fashion measured the dimensions of the trashcan (16" x 6" x 12") and using that density (although there was some air in the trashcan that will being down the density some) that gives me 2 * .66666666 ft^3 *42 = 56 , plus the 24.5lbs for the books. So so far, we have 80.5 lbs.

So I'm off to a good start so far, as far as January goes. I just need to find one or two more books to let go of. I really have no fear of running out of junk before 2010 is over. I can do this!

Friday, September 4, 2009

Hackerspaces - a way for computers and the people who love them to get out more often

An unfortunate stereotype of members of the Geek Kingdom is that they are introverted and anti-social. There's an old joke:
Q: How can you tell if a programmer is extroverted?
A: He looks at your shoes instead of his when he talks to you.
(I didn't say it was funny). The truth is that while Geeks do appreciate being left alone occasionally to focus on a problem or a project they're working on, they are often social animals, not unlike people in general. They go to conferences, they collaborate on Open Source projects, they go to events like Bloomington's ongoing Geek Dinners or user group meetings. In a college town like Bloomington (yes students, we townies do appreciate you) there are an abundance of opportunities to get out and mix it up.

For all the 'we live in a new era' wonder of computers and the internet, they live in a somewhat insular world. Sure, data travels around the globe via TCP/IP, HTTP, etc, but for many their interaction with the world outside is limited to fingers tapping on their keyboard or perhaps a temperature sensor to make sure they don't melt down. I believe Macbooks have light sensors, too. But the fact remains: for most of the computers we see and interact with day-to-day (I'm not talking about all the more-or-less hidden microcontrollers all around us), there's no meaningful direct interaction with the outside, sun shining, birds singing, the plants need watering world.

There's a nice illustration in the book Physical Computing that shows how your computer sees you:


Physical Computing is about giving computers (often really tiny inexpensive ones, aka microcontrollers) sensors to allow them to take in their environment, and sometimes motors or other physical/mechanical devices so they can move around or change their environment (as with the plant watering).

A new place in town for like-minded creative types with interests in Physical Computing, electronics, and creative activities in general is the Bloomington Hackerspace (really cool name like NYCResistor or more serviceable name like HackDC to follow). Hackerspaces have been around for years, and as the name suggests they offer a physical (as opposed to virtual) space for hackers. Here hacker is defined as a person with an ongoing interest and aptitude for finding creative and usually not obvious uses for the objects, devices, and technological tools around them. These are NOT the let's-break-into-somebody's-system hackers. The very simple distinction: these hackers are all about creating, not destroying (although they do break things down for parts).

While not every great idea with a lot of enthusiasm behind it coalesces into a real-life implementation, things have been going very well for the Bloomington hackerspace under the capable leadership of non-official leader Nathan H. (aka dosman). After an initial meeting a couple weeks ago featuring members of the IU Robotics Club (the future of which is uncertain as at this point as pretty much none of the members are students), a space was identified (donated by member Jennette T.).

For the second meeting, we gathered in this space, which featured a worktable big enough for all of us and many breadboards and electrical components. Some of us brought our Arduinos and a guy named Will brought a MeggyJr he had built. I had heard about these hand-held, Arduino-based game consoles, but this was the first time I'd seen one. It was running a version of the classic memory game Simon, and later Will uploaded other games that one of Jennette's sons enjoyed playing.

While the gathering had a somewhat informal air, we did have a defined goal, as we were all going to get a chance to wire up an ATMega8 (AVR microcontroller) and program it to do the 'Hello World' of microcontroller programming, blinking an LED. It sounds somewhat trivial, but it ended up being interesting as we had to debug things like malfunctioning components or minor wiring errors. As somebody who's played with the Arduino, I found it interesting to take a step down from the ease-of-use and accessibility of working with the Arduino.

Arduino programming works like this:
  1. Write your program using Wiring, a very nice IDE based on the very accessible Processing environment used for Visualization and graphics. (Actually the sketch is available as an Example).
  2. (Optional) put the long pin from your LED in the designated output pin, and the short one in ground (usually there'd be a resistor in the mix, but the Arduino's got that covered. Also there's an LED built in, so even this is optional).
  3. Plug a USB cable into your computer, and the other end into the socket on the Arduino.
  4. Upload the sketch.
  5. Admire the blinky light.
Programming the ATMega8 is a bit more involved:
  1. Grab your breadboard, a 5 Volt Regulator, a power supply, a header for the programmer, the programmer, an LED, lots of wires, and of course, the microcontroller.
  2. Wire up the regulator to your power supply so you have a nice steady 5V.
  3. Look up and print out or draw the pin diagram for the ATMega8. Here it is:
  4. determine which pins from the ATMega8 connect to which pins on the header, and wire it up.
  5. Don't forget the LED.
  6. On your computer, set up avr-gcc and avrdude
  7. Get a program for the blinky thing and preferably a Makefile. You don't necessarily have to write this one either, but you do have to locate it.
  8. Make it.
  9. Connect the header to your computer.
  10. Try to upload the code.
  11. If it fails, go back and figure out where things went wrong. A second pair of eyes often helps here.
  12. Admire the blinky light.
This is not to say programming a microcontroller is hard or inaccessible - it's not, especially in the company of helpful and more experienced people. It did make me appreciate the relative simplicity of the Arduino, but not everybody can spring for a ~$30 a shot Arduino. ATMega chips are cheap. You can potentially do a lot for a lot less money once you've jumped this hurdle (the programmers are a non-trivial initial cost, but with a group you can share resources). Also, the Arduino is more a prototyping tool, so often once you've figured something out with the Arduino, you can build a more permanent version using an ATMega chip programmer in this manner.

Having identified a space and had a successful hands-on meeting, things are really taking off for the Bloomington hackerspace. Perhaps some fantastic product or great robot will be born there, or a Jobs/Wozniak style partnership will form. Whatever happens, hackerspaces are a really great idea, Bloomington is lucky to have one, and I look forward to future meetings.

Some Resources:

Tutorial on AVR programming with pictures at the Physical Computing at ITP site.

Arduino Home Page

Sparkfun is a good source of electronics

Adafruit is a good source for kits (including the MeggyJr)