3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Swiss AVR Knife

Swiss AVR Knife
The Swiss AVR Knife bundles a number of AVR programming projects together in a single convenient Altoids Gum Tin. Because of the flexibility afforded by microcontroller programming, it also provides a starting point for any number of projects based on LEDs and sound output. The SAK can contain as many programs as the 8K of memory permits and maintains eight states for each program. The blue pushbutton causes the SAK to cycle through programs and states -- a quick press causes it to stay in the program but change to the next state (however that is defined) and a long press causes it to advance to the next program. The current program and states for all programs are preserved in EEPROM between uses.

The projects currently implemented in the SAK include the following. These, along with all of the other code and constants (there is a full font table), take up about 4K of the available space. Lots more room!

MiniMenorah -- Evil Mad Scientists
Brain Machine -- Mitch Altman
MiniPOV -- Adafruit Industries
Noise Toy -- Loud Objects
LED Running lights
LED Candle
LED Flashlight

This project would not exist without the considerable generosity of everyone who contributed in one way or another. In addition to the abovementioned, I would like to thank the developers of the software tools used (see in other steps) and anyone that put up a useful website that furthered my understanding of these topics. I can take direct credit for very little of the code used in this project. If you feel that the code is yours, it may well be. Let me know and I will happily give you credit. In any case, thank you for your contribution :-)
 
Remove these adsRemove these ads by Signing Up
 

Step 1Parts

Parts can be obtained from any of a number of electronic suppliers. Because of the space constraint, most of the components are required as indicated. Everything just barely fits; make sure that any substitute parts don't take up additional space. Do not substitute for the ATtiny84 unless you are absolutely certain that the pins correspond. The links following the parts are to DigiKey and All Electronics.

Electronic components
1 x U1 -- ATtiny84 -- ATTINY84-20PU-ND
1 x Ux -- IC socket 14-pin DIP -- A32879-ND
9 x LED -- your choice of color
9 x resistors -- matched to your LEDs

2 x R1, R2 -- 100 ohm 1/4W �1% metal film -- 100XBK-ND
2 x C7, C8 -- 47uF -- P5151-ND

Miscellaneous
Battery Holder 1-AA 6" wire leads (1) 2461K-ND
Phone jack stereo 3.5mm (1) MJW-22
Toggle switch SPDT 1/4" on-on (1) MTS-4
Push button switch (1) 450-1654-ND

Minty Boost
The SAK is powered by a single AA battery boosted by a Maxim MAX756 chip (the essential component of the MintyBoost!). The components below are those needed for this part of the circuit.

1 x U1 -- MAX756CPA DC/DC 3.3/5V DIP -- MAX756CPA+-ND
1 x Ux -- IC socket 8-pin DIP -- A32878-ND
2 x C7, C8 -- 0.1uF -- 399-4151-ND
2 x C3, C5 -- 100uF -- P5152-ND
1 x L1 -- 22uH radial -- M9985-ND
1 x D1 -- 1N5818 Schottky 1A 30V -- 1N5818-E3/1GI-ND
« Previous StepDownload PDFView All StepsNext Step »
21 comments
Jun 12, 2010. 10:16 PMmonkeys98 says:
i am a bit of a geek myself but i didnt get most of that and what does it actually do?
Oct 6, 2010. 6:11 PMzgr95 says:
im trying to figure that out to i thinks some sort of larson scanner
Oct 26, 2010. 5:08 PMMdob says:
It combines many different independent projects into one easy to use form factor.
The MiniMenorah, Brain Machine, MiniPOV, Noise Toy, LED Running lights, LED Candle, LED Flashlight are included in a single altoids gum tin.
Nov 21, 2010. 12:07 PMzgr95 says:
oh thats pretty cool
Aug 12, 2010. 2:28 PMdavew39 says:
What does AVR stand for?
Apr 19, 2010. 10:53 PMminigl says:
hello,

i need the ready compiled hex-file please!
anyone can help me?
May 8, 2009. 1:08 AMsilverflame44 says:
Hey, Awesome project! This may sound stupid, but how do you take such nice pictures? Did you make one of those white box setups? and are you using a high quality SLR or just a normal digital camera? Also, I suck at using EagleCAD. Do you have any tips because it takes forever! Did you use PnP Blue transfer paper, or just normal paper? Oh and one more random question. What major are you? I'm just curious because your work is very nice and you are very knowledgable! Thanks, Eric
Apr 19, 2009. 7:12 PMemu_death says:
hey, nice project there, I'm going to look through the code tomorrow and see if it needs any cleaning up(I'm no wiz at C, but I getting close :) ). Do you have any video that you could upload of this thing in action, showing the various modes, etc. It would be greatly appreciated. I can't wait to get started on my own, just gotta wait for that digikey order to come in :).
Mar 30, 2009. 2:48 PMcdubnbird says:
so likewise i don't wan't to sound dumb either but what does it do? does it just light up some LED's in different patterns?
Apr 19, 2009. 7:08 PMemu_death says:
this project combines a few other DIY kits sold online into one small pocket-sized kit. The kits it combines are the: mini menorah, brain machine, minipov, noise toy, and it also works as an LED flashlight and candle, etc. If you want more specifics on what each thing does, click the links in the intro.
Mar 26, 2009. 10:34 AMarmynavy17 says:
So I'm going to show my stupidity and ask what does this do and why would you need it.
Mar 27, 2009. 6:25 PMpop2012 says:
dont feel bad. even after that explanation i still dont quiet get what it does....yet after the thneed analogy...i must have one.
Apr 13, 2009. 1:04 PMReCreate says:
i think it lights up the leds as the sound get louder,like some sort of graph or something
Mar 24, 2009. 8:36 AMaspro648 says:
Looks awesome, and well documented. It is nice to see someone else pick the ATiny84 for a project.
Mar 22, 2009. 7:18 AMmman1506 says:
you could adapt a arduino breadbord style and intergrate it with a pcb
Mar 20, 2009. 7:55 PMcyrozap says:
Eagle files plz?
Mar 21, 2009. 6:04 AMBongmaster says:
great :) wouldnt mind an arduino type version :P

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
36
Followers
7
Author:matth3w