Realizing that Halloween was only a few days away, I thought to myself “Self, your house has no Halloween decorations, and thus, is Lame.” Being the crafty (and cheap) electrical engineer that I am, I took stock of my…stock…of electronic widgets and bits. After some thought, I decided on a couple of beady little red eyes peeking out of various windows would be appropriately festive, somewhat creepy, and very easy to through together.

Each pair of eyes uses an ATTiny85 chip and two 10mm red LEDs. Since Halloween decorations displayed year-round are frowned upon by my homeowner’s association, I also wanted these to be temporary. Luckily, I had a few protoboards that I could tie up for a few days.

CreepinEyes_3boards

Since this is a simple, temporary project, I made use of the awesome Arduino-Tiny set of “cores” for the Arduino IDE. Arduino-Tiny allows for a variety of ATTiny chips to be programmed directly form the Arduino IDE. There may not be 100% functionality, but it’s darn close. But of course the ability to blink lights is there, hehe. All I had to do was throw together the code and upload using my USBTinyISP.

CreepinEyes_prototyping

Speaking of the code, here it is:

int led = 2;
int led2 = 3;

int randblink = 0;

void setup() {
  pinMode(led, OUTPUT);
  pinMode(led2, OUTPUT);  
}

void loop() {  
  digitalWrite(led, HIGH);
  digitalWrite(led2, HIGH);  
  randblink=random(5000,30000);
  delay(randblink);
  digitalWrite(led, LOW);
  digitalWrite(led2, LOW);
  delay(400);
}

Note: In the Arduino IDE, under ‘Board’, I selected ‘ATTiny85 @ 1MHz (internal oscillator; BOD disabled)’

Using a little bit of ‘random’ allowed for a little bit of variety in the “blinking.” The effect is simple, but pretty neat. And now my house is less Lame.

555KitTestCircuit

A few days ago, I saw this kit from Evil Mad Scientist (by way of Adafruit). My first reaction was more or less “… That’s brilliant!” I love projects that have a healthy dose of wackiness as part of the recipe. Don’t get me wrong, I appreciate projects that are purpose-built to accomplish a goal. But this kit in particular jumped out at me for two reasons.

But before that, the ‘What.’ This kit takes the internal workings of a 555 IC and, with resistors and transistors, re-creates all the functionality of the humble little chip. Plastic “legs” complete the IC persona, and screw terminals allow for easy hook-up connections to protoboards or “dead bug” style circuits. The PCB is quite hefty, and the silk screening divides the different block components of the 555 circuit. It’s a great piece to look at, and it just happens to be completely functional. Bonus points.

First, the kit is most clever. Kit designer Eric Schlaepfer basically ripped the lid off of a 555 IC and blasted the thing with an Embiggening ray. Sure he could have just thrown the components onto a breadboard, but that’s no fun. The inclusion of the legs and the ‘notch’ on the silkscreen instantly inform anyone familiar with electronics what this is. Of course, the giant ‘555’ printed on it doesn’t hurt either. The giant terminals are a nice functional and aesthetic touch. So were I a judge on Iron Chef: Electronics Edition, I would award full points for creativity and originality.

Second, upon seeing the kit and instantly knowing that I wanted one, I knew that I would need to brush up on my 555 knowledge. I admit, I’ve played with 555s in the past, but I’ve never given much thought to the internal workings. So after having some fun putting the kit together and testing the included (astable configuration) test circuit, I took to the Tubes and sought out some diagrams and videos explaining the design and operation of the small but mighty 555 timer. I’ll include some of my findings below.

In a nutshell, the 555 timer works by using two voltage comparators and a flip-flip to generate pulses on the output pin. The two most common configuration modes are astable, in which the external circuitry causes the 555 to generate a constant pulse waveform, and monostable, where an external trigger causes the 555 to generate a single pulse. One of the key components to these common circuit configurations is the capacitor. When the capacitor reaches a certain fraction of the supply voltage, the flip-flop is “actuated”, the output pin goes high or low, and the capacitor will start discharging or re-charging. Obviously this is a very simplistic explanation, but the rate of capacitor charge and discharge (governed by capacitor and resistor values) are key to the timing applications of the 555 IC.

So to sum up, yay for creative kits that cause you to go out and (re)learn stuff! The cool thing about the 555 chip is that it is very much a building block to bigger things. There are plenty of resources out there for 555 applications and project ideas. I’d like to thank Eric Schlaepfer for his awesome kit idea and Evil Mad Scientist for helping make it available to the masses! I think it quite possible that you might see the 555 creep into future Maniacal Labs projects.

-Dan

Here are some resources I found while brushing up on the subject:

Of course, Wikipedia has a good synopsis of the 555, as well as some of the more in-depth maths detailing the particulars of how the different configurations function.
en.wikipedia.org/wiki/555_timer

The datasheet from Signetics, who developed the 555 in 1971:
www.datasheetarchive.com/dl/Scans-064/DSA2IH00140042.pdf

From the Sparkfun series “According to Pete”, Pete walks through some 555 basics.
youtube.com/watch?v=qwPtSkWyjWc

This video is long, but the link takes you to right where he demonstrates the inner workings of a monostable 555 circuit. The whole video is definitely worth a watch.
youtube.com/watch?feature=player_detailpage&v=SX01x1z7fTY#t=610

A few projects featuring one or more 555 timers:
555-timer-circuits.com

And some more pics from my build:

Do you live in the Raleigh/Durham area? Are you a fan of the Open Source movement? You’re in luck! Check out RTP 180: Open Source All The Things on September 17th (for free!). The event features guest speakers from three schools you might have heard (NC State, Duke, and UNC), as well as local members of the Open Source community. In addition to basing our operation on the tenants of Open Source, we here at Maniacal Labs enjoy supporting local people and organizations who champion the cause.

The event is free, they just ask that you RSVP (“buy” a free ticket). See the Eventbrite page for more details. We’ll be there, and we look forward to seeing you there as well!

I had occasion to be out and about last night at one of Durham, NC’s fine local breweries, Fullsteam. While there, I was impressed by 3 things. First, how oppressively hot it was for late evening. This led to the next thing that impressed me, the big-ass fan they had set up to try and cool the place. I’m serious, it was a Big Ass Fan. It was huge (8′ diameter). Cranked to the max, I’m sure it could have easily blown down all three of the Little Pig’s houses. But these things were ancillary to the thing that most impressed me while there: The Bullitron.

The Bullitron is a Winitron arcade cabinet constructed by members of the local Durham hackerspace Splat Space. The Winitron arcade network is made up of what amount to MAME cabinets running a custom launcher that connects players to a network of free Indie arcade games. The founders of the Winitron network have mandated that in order to receive access to the software and the network, you are required to build your own cabinet and set it up in a place where as many people as possible can play (for free, of course). Obviously, next to a handful of pinball machines at a bar would be a perfect place for such a device. After a few minutes of playing Nidhogg, a two-player “fencing” game, and another Galaga-esque title, I was hooked on the idea.

There are a number of things that are really cool about this, but two in particular capture the experience pretty well. First, MAME cabinets are cool. I want one. I will build one at some point. Arcade machines are a huge nostalgia trip for me. I used to love going to arcades when I was a kid, and being able to build your own multi-function arcade machine is, to me, a pretty neat concept. The DIY nature of this is the second bit of awesome. And the Winitron concept is very much in keeping with the Maker spirit of “make cool stuff and share it.” The mechanics are pretty simple, just a few buttons and a joystick interfaced to a PC running some custom software. But throw it together in a stylish package and with very little effort, you can be whuppin’ on your friends in any one of a number of classic and modern arcade icons.

There’s a popular saying among the three of us: “When Maniacal Labs has an office…” Part optimism, part wishful thinking, and often met with a chuckle (for now at least). We’ll see. Who knows what’s in the cards for our little operation. But when Maniacal Labs has an office, there will be some manner of arcade machine therein.

-dan

*Maniacal Labs is not associated with, nor shills for, any of the above-mentioned entities. But hackerspaces are cool, so ‘what up’ to Splat Space!

http://www.heathkit.com/heathkit-faq.html

If you have ever soldered together a bit of electronic whatsits that you purchased in kit form, and if you have an appreciation for making and/or repairing your own electronic stuff, then this news should grab your attention.

A quick lesson: Heathkit was a line of electronics kits sold by the Heath Company starting after World War 2. The kits ranged from the name-making oscilloscope kit to amateur radio kits to famous Heathkit H8 digital computer. Talk to anyone that was (or whose parents were) interested in electronics kits “back in the day” and Heathkit will almost certainly come up.

I admit that Heathkit was a bit before my time, but when you hear people talk about it, there is a air of reverence and respect. I have a great appreciation for these early Makers, and for the history (that they lived through) that has led me to my chosen profession. For me personally, being able to build a Heathkit would be, to use a technical term, friggin’ awesome.

The three of us, with our ridiculous concoctions, pay tribute to the ideals that Heathkit instilled in generations past, and (hopefully) will do once again for this and future generations.

-dan