Instructables
loading
loading
Picture of Build a PDK (Pocket Development Kit)
It's nice to be able to work on projects while on the road.  This kit lets you carry an entire dev kit in your pocket.

This instructable will show you how to build any of several different types of development kits (dev kit) which will all fit in your pocket.  In the lower-left corner of the above photograph, you can see an Arduino compatible PDK.  If you are familiar with the Arduino, you may recognize the Arduino IDE (Integrated Development Environment) on my notebook on the right side of the photo.  We will discuss this one, plus several others, all of which can be inexpensively and quickly made.
 
Remove these adsRemove these ads by Signing Up

Step 1: Select Your Microcontroller

Picture of Select Your Microcontroller
For this kit, you will need to select a microcontroller.  There are many controllers available, but the important thing, the thing that makes this kit work, is that the controller needs to have a bootloader preloaded.

Now, you are going to ask: "What's a bootloader?"  Go ahead and ask...  Well, a bootloader is simply a program loaded into a special section of the controller's program memory, called the bootloader memory.  It's purpose is to allow you to download application programs through the serial port.  When your application comes in over the serial port from the Integrated Development Environment (IDE - http://en.wikipedia.org/wiki/Integrated_development_environment), the bootloader then stores that into the main part of the controller's program memory.  Once that is done, the bootloader allows your application program to run each time the microcontroller is reset, until you want to download another application program.  What makes this so vital to our PDK is that there is no need for a microcontroller programmer (at least once you have the chip with the bootloader.)

There are several different bootloaders available, however we will just focus on a few.  

Parallax is the company that got me going with microcontrollers, back in the '90s, with their BASIC Stamp (http://www.parallax.com/tabid/295/Default.aspx.)  This is pictured at the top in the picture.  The Stamp IDE will establish a link with the Stamp controller and download your application over the serial port.  The Parallax Propeller will also work here, but it will take a lot of precious space.

In addition to Parallax, Atmel produces many different microcontrollers; many of them with bootloader sections in their program space.  In the photo, you can see an Atmel AT-tiny2313 microcontroller.  MCS Electronics (the publishers of BASCOM-AVR - the most powerful BASIC language for Atmel's AVR family) has a bootloader for most of the AVR microcontrollers.  You can burn that bootloader into your choice of AVR and then use that chip for this kit.  MCS Electronics offer a trial version of their BASCOM-AVR which includes that bootloader (http://www.mcselec.com/index.php?option=com_docman&task=cat_view&gid=99&Itemid=54 - click on the demo version link at the bottom of the page.)  The IDE for this would simply be the BASCOM-AVR environment itself.

Many people have heard of the Arduino controller (http://www.arduino.cc/.)  This open-source hardware board is taking the control-systems world by storm.  It seems like nearly everyone and their dog are using the Arduino for something (Hack-A-Day is currently at 853 articles involving the Arduino - http://hackaday.com/category/arduino-hacks/.)  While the full Arduino includes additional circuitry which makes it unweildly for this project (unless you produce your own PCB, which is certainly doable - http://www.instructables.com/pages/search/search.jsp?cx=partner-pub-1783560022203827%3Anpr2q7v5m6t&cof=FORID%3A11&ie=ISO-8859-1&q=pcb,) there is a stripped-down version which uses basically just the chip (see http://todbot.com/blog/2009/05/26/minimal-arduino-with-atmega8/.)  This will let you use Arduino sketches, with the Arduino IDE, on your PDK.

Microchip (the producers of the famous PIC line of microcontrollers) also has many chips with bootloaders.  For those of you interested in the PIC chips (or any other types of microcontrollers), you can do an Internet search for your favorite chip and "bootloader" for more information.

FYI, there's no need for a bootloader if you use USBasp (about $2 on eBay) and the Arduino IDE.

Also, when the complete non-USB arduino compatible chip costs less (found for $1.62) than the single ATMega328P chip present on the said circuit, I bet you don't need to bother about choosing a chip, just get them by 10 or 50 units, even the ATTiny is dearer.

Granzeier (author)  ндогонят4 months ago

>FYI, there's no need for a bootloader if you use USBasp (about $2 on eBay) and >the Arduino IDE.

That's true, I even use the USB-ASP for several other projects. The trouble comes from trying to get the 2X5 connector to plug into the single tiny breadboard while still having room for the microcontroller. I recommended the USB-serial because it has a single row of pins - better suited for the breadboard. Of course, you could use an adapter like the one at my store (http://zenstore.granzeier.com/index.php?main_page=product_info&cPath=1&products_id=14.) That would make the USB-ASP more compatible with the breadboard.

I'm not sure what you are saying about the Arduino and the Mega328, but buying them in those quantities is not something for most hobbyists - I often buy controllers in those quantities, but most beginners don't want that many at a time.

Nothing Interesting.

dan30081 year ago

Going to build one I think. Need an easy way to develop on my ATtiny85's on the go :D

Infact, I may have to look at some ATmega's now too, since dev will be easy :D

Granzeier (author)  dan30081 year ago

Good luck, make sure that you let us know how things go.

melissa_b042 years ago
Man! This is great!
Granzeier (author)  melissa_b042 years ago
Thanks.