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.

Ghetto Development Environment

Ghetto Development Environment
A while back, I posted up a quick and dirty "el cheapo" method of getting started programming the Atmel AVR series chips: Ghetto Programmer (version 1.0)

Since then, I've vamped, re-vamped, and otherwise improved my setup. Thought it'd be nice to document it.

The goal was to get a flexible, compact, portable, use-anywhere, AVR-based microcontroller prototyping environment. On the cheap(ish).

So without further ado, here's the Ghetto Development Environment (GDE) (version 1.2).

 
Remove these adsRemove these ads by Signing Up
 

Step 1The Kit

The Kit
The basic kit contains the following stuffs:

USB programmer. Because you want to be able to program microcontrollers from your laptop anywhere. And because USB is a very handy source of +5v.

Programming cradles. One for each kind of chip you're playing with. For me, that means one with 8 pins (ATtiny13, 15), one with 20 pins (ATtiny 2313), and one with 28 pins (ATmega8).

Blinkenlights. When something's wrong with your code, nothing clears it up like sticking lights in to diagnose. Plus, the LED blinker program is the "Hello World" of microcontrollers.

Breadboard. It's a development kit, after all.
« Previous StepDownload PDFView All StepsNext Step »
81 comments
1-40 of 81next »
May 3, 2011. 3:02 PMmandiom says:
Excellent idea for beginners!! Very handy, congrats!
Apr 7, 2011. 7:13 PMgruffy says:
I did it! i finally set up an environment based on your own setup (using adafruit's programmer). I just want to thank you for putting together these instructables since they helped me finally get into the world of microcontrollers. I ran my first hello world last weekend and am going to try to tackle learning to program next. Thanks again Elliot.
Feb 16, 2011. 7:44 PMhardwarehank says:
So, I just tried this with the PDF. I'm using Ubuntu 10.10 with evince as my PDF reader. I just finished drilling the board, and was about to fit the IC socket, when I realized the template printed about 0.5mm too small. I should have checked on paper before I toner transferred.

I should have better instructions soon on how to print this in Linux. Good -able though!
Feb 16, 2011. 9:39 PMhardwarehank says:
OK - if you're using evince, make sure to go to "Page Handling" in the print dialog and change "Page Scaling" to "None". That fixed it. What a silly default setting!
Feb 10, 2011. 8:48 PMgruffy says:
i would like to know how you pulled off breadboarding on an airplane
Mar 28, 2010. 8:42 PMcodongolev says:
I would really like to start out using microcontrollers. I've done other things with simple circuits (resistors, leds, transistors, etc.) and this seemed like the next logical step. problem is, I can't really find any good resources for starting out (everything starts to seem like an endless loop of "you must know A to know B, you must know B to know C, and you must know C to know A."). if anybody could help me out, I'd really appreciate it.
Nov 10, 2010. 10:46 AMplayinmyblues says:
By now, I imagine that you have found a way to begin programming microcontrollers (mcu's). If you have not, there are a few ways to get started. One way is to find a supplier (there are many on the web) that sells a beginner's kit and go from there.

These kits often include the mcu, a programming cable, a breadboard, some jumper wires, components, and a book. If you are looking for an instructable that will get you started, it is a little harder. To get started, I would get a starter kit. You can build your own when you get more comfortable with mcu's.

I am currently searching for an instructional site that will show me how to build an mcu from scratch. These sites often recommend you purchase a programmer and go from there. I have yet to read through this whole instructable and hope it provides the knowledge I need.

A combination of both the least expensive and the kit is to look at a kit, buy the components in bulk (useful in the long term but often actually more expensive at the beginning), buy the mcu, and look for the book at your local library or your univeristy or community college library. If your library does not have the book, request it.

One more suggestion, if you want to go absolutely on the cheap and would risk getting sidetracked by a parallel project (computer generated art), start with Processing (at http://processing.org) and work your way into Arduino. Why? Processing and Arduino are very closely related. The language for Processing is very similar to Arduino and the programming environment is also very similar. You can learn Processing very extensively from the website and there are a number of books about it.

Good luck.
Nov 11, 2010. 12:56 PMcodongolev says:
I actually am right now taking a digital electronics class. I'm doing pretty well (finished my first on-my-own AOI logic circuit from a word problem today, actually) and I'm hoping to learn some programming there.
Dec 21, 2009. 12:08 AMRendydevara says:
i want to make usbtinyisp  v1.0
how to program the firmware ?
Dec 13, 2009. 1:37 PMEbay says:
Hello, I have followed this instructable exactly except when I try to hook up a keypad matrix it does not seem to work. I am using CodeVisionAVR and have tried many different combinations to make this work. Could this be the cradle or ISP programmer, my code, or wiring? I seem to have made everything correct except it doesnt work correctly.

May 3, 2009. 9:59 AMReCreate says:
Wow,instructibles.com redirects you to instructables.com
May 29, 2009. 4:13 AMmerseyless says:
wow, look at that batman!
May 29, 2009. 1:07 PMReCreate says:
I Think you Made a mistake at commenting
Jun 4, 2009. 2:12 AMmerseyless says:
no mistake
Jun 4, 2009. 10:38 AMReCreate says:
why did you reply to me then?
Jun 13, 2009. 9:08 PMmerseyless says:
because i felt like it.
Jun 13, 2009. 9:26 PMReCreate says:
You mean you posted random spam?
Jul 3, 2009. 5:07 AMmerseyless says:
no, it was purposefull.
Sep 3, 2009. 10:04 PMDELETED_craz meanman says:
(removed by author or community request)
Nov 16, 2009. 7:13 PMdknutson says:
No worries!
Feb 11, 2009. 8:42 AMhmms says:
Sep 15, 2009. 3:33 PMGranz says:
I tried that Extreme Electronics - be aware that they are located in India and charge a huge amount for shipping! They use DHL and the shipping for the programmer was over 500% of the cost of the programmer to ship to the USA. And they quoted a very reasonable shipping price and took my PayPal payment with no difficulty. AFTER all that they stopped my order and added the shipping charge. To be fair, they did refund my PayPal amount, but I thought that taking my money first was pretty bad. Just be aware, that if you are not in India, you need to get the shipping price quoted separately from your purchase. I will be ordering from Lady Ada soon.
Aug 29, 2009. 7:43 PMjztechguy says:
It looks like SparkFun.com carries the 20 pin wire wrap sockets that you were having difficulty finding.
Feb 27, 2008. 12:46 PMoskay says:
You really should give me credit if you're going to use my drawing....
Aug 12, 2009. 7:11 PMRportal says:
you do have credit. it says thanks to wendel oskay atop of the drawing
Aug 18, 2009. 9:46 AMDavidRobertson says:
Its Windell. I think
Aug 12, 2009. 9:31 PMoskay says:
And who is that?
Apr 19, 2009. 11:24 PM1337sh33p says:
you mean "build-essential" not "build-essentials"
Jul 22, 2009. 9:17 AMHello My Peoples says:
I have seen these on ebay for like 7.50 pre-made.. might be worth a shot buying.
Jul 10, 2009. 9:11 AMHello My Peoples says:
(removed by author or community request)
Jun 26, 2009. 9:10 AMmnew2me says:
I just Love instructables! (_)

1 Q about the 27pF capacitors, I just couldn't find it in my local stores.
Can I replace them with .1uF, 1nF or 100pF?

Thanx for your help...........
May 7, 2009. 7:12 PMdociledragons says:
Ok so i'm wanting to try out my first microcontroller. I know about electronic just not this stuff. Do you recoment going with this or Arduino. What are the pros and cons of them both. I'm not worried about putting the kit together. I'm just worried about programming, cost and help if needed.
Apr 12, 2009. 3:50 PMReCreate says:
an ibm thinkpad,nice
Apr 11, 2009. 4:14 AMBlackHatCracker says:
Ok a simple solution to fixing both of those is to make the board a little wider... No problem there.
Apr 8, 2009. 11:58 AMPhattie Mcgee says:
I've read both of your Ghetto Instructables and I had a questions about the cabling used: I have a FTDI TTL-232R-5.0V, I'm thinking I can just use that like how you did in version 1 but as USB instead of parallel? Or am I missing something? Also whats the 2313 actually DO in ladyada's ISP? I'm just learning this stuff, so please assume I don't know everything :) Blinkenlights are great!
Mar 17, 2009. 11:16 AMsotsirh194 says:
Is there any other way to get the code onto the chip than moving all around your computer to find the file then typing in -c usbtiny....
Mar 21, 2009. 9:30 PMgeeklord says:
I think AVR studio bypasses that.
1-40 of 81next »

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!
95
Followers
7
Author:The Real Elliot