Program posey control board
From Code Lab Wiki
each socky board has an atmega168 that can be programmed through the battery board header.
[edit] software for programming the board
the code to frive the posey hardware is written in c and compiled with avr gcc
to compile it yourself you need the avr gcc toolchain
avr gcc on linux - varies by distribution, instructions for compiling from source here - http://www.nongnu.org/avr-libc/user-manual/install_tools.html
avr gcc on mac osx - http://www.cs.colorado.edu/~buechley/diy/avr_mac_osx.html
avr gcc on windows - http://winavr.sourceforge.net/
[edit] hardware for programming the board
to program the board you need an avrisp mk2 and a circuit to pigtail the socky board, the avrisp programmer and a 5 volt power line together. below is a photo of this circuit built on a radio shack project board.
the board consists of:
- 0 - a 2x6 2mm male header on a ribbon cable to connect to the socky board power/programming header
- 1 - a jack on a ribbon cable to connect to a 9v ac/dc converter
- 2 - a 7805 power regulator and capacitors to regulate the nominal 9v from the converter down to 5v
- 3 - a 2x6 2.54mm male header to connect to the avrisp programmer
- 4 - a power indicator led to show that the board is really plugged in
this diagram shows the pins of the power/programming header on the socky board and the layout for the pins of the 2x6 2mm male header labeled (0) in the photo above

