I admit it: I'm a total geek. I love electronics, programming, 3D printing, 3D art, and vintage Apple hardware. I'm always juggling half a dozen projects. I also enjoy documenting it all: my successes, my failures, my experiences... and everything geeky along the way.

ATtiny84 Thing | Kevin Rye.net - Main

Kevin Rye

Geek Extraordinaire. Yeh, I said it.

ATtiny84 Thing

I have a whole tray of these 7-segment displays that I pulled out of boards at work that someone threw in the garbage. I've had them for well over 10 years. Every now and then, one comes in handy. I was bored while I waited for parts for my IN-18 Nixie Clock to arrive from China. I wanted to throw together a silly little ATtiny thing that could use a 7-segment display to display a random number from 0-9. Nothing fancy, just a silly little one-day project.

assorted_7segs_001

Since these displays are very much obsolete, I had to create my own EAGLE part.

Screen Shot 2018-01-26 at 8.12.00 PM

I figured out the pinouts and mapped the pins to the pads.

Screen Shot 2018-01-26 at 8.12.12 PM

I then threw together a silly little thing that would use an ATtiny84 to push out a BCD value to a 7447 BCD-to-7-Segment decoder. I had plans to also add a transistor that would power a high powered LED, but that part of the circuit for some reason doesn't work. Oh well, I guess no blinky-blinky.

Screen Shot 2018-02-10 at 6.31.37 PM

Anyway, I created the PCB and sent it off to have it fabbed.

Screen Shot 2018-02-10 at 6.31.16 PM

Two weeks later, I had my boards in hand. Just in time for the weekend too!

ATtiny Thing PCB_001

I soldered all the SMD stuff along with the DC regulator. I connected a 9V battery and dialed in the regulator to 5V.

ATtiny Thing assembly_001

I then soldered all the other components in and uploaded my sketch. And there it is. You push the button, and it gives you a random number.

ATtiny Thing assembly_003

I then made a little case for it. Again, nothing fancy. I wanted to bang this thing out in a single afternoon, so it is what it is.

Screen Shot 2018-02-25 at 1.55.37 PM

All done.

ATtiny Thing assembly_004

This will come in very handy when the kids argue over who gets the last donut or whatever. Hey kids….pick a number!