Escolar Documentos
Profissional Documentos
Cultura Documentos
I. Preparations
In order to program the Atmega8 or Attiny24 microcontroller you'll need an ISP programmer for your PC's parallel port, just like this one
It's important that the programmer is S!"2##$compati%le& !hese programmers can %e found on e'ay easily& !he soft(are (e'll %e using is 'ASC)*$A+, %y *CS& A fully$functional demo -ersion .up to 4"' code/ of 'ASC)*$A+, can %e o%tained at http 00(((&mcselec&com0inde1&php2 option3com4content5task3-ie(5id3645Itemid346
Attiny24
;or programming the microcontroller you can also use a %attery& <a-e a look ho( simple and compact the programming circuit for the Attiny24 can %e
,emem%er !he red (ire of the programmer's ri%%on ca%le is al(ays pin 6& In addition on the ISP socket 5 ISP plug there should %e a little arro( indicating pin 6&
After that click on the green 7Program chip8 sym%ol to %ring up the programming (indo(&
<ere you'll find the same green sym%ol again& Push it and the microcontroller (ill %e programmed&
After the microcontroller has %een successfully flashed there is one more thing to do in 'ASC)*& Click on the 7?ock and ;use 'its8 ta% to see a list of programmed and unprogrammed fuse %its& ;or the Attiny24 you ha-e to select 7@i-ide clock %y 8, );;8 and push the 7Arite ;S8 %utton&
Ahen using the Atmega8 your fuse %its should look like this
After that you may close 'ASC)* and unplug the programming ca%le&
Attiny24
C Pot and E Pot are the 2 potentiometers of your analog stickF CA, C', EA, E', B=@ 5 +CC can %e o%tained from a connector on the =D4 controller PC'
Eou might ha-e noticed the 7range modifier8 s(itch in the schematics& !his is a%solutely optional& If Pin 6G on the Atmega8 or Pin 6: is dri-en lo( during po(er on, the range of the C$ 5 E$a1is (ill %e slightly higher than usual& !he default range are 6D# steps 0 a1is, the increased range (ill %e 6D8 0 a1is& 6D# steps should %e enough %ut if you need more steps for (hate-er reason you no( kno( (hat to do& Eou can also use the ' %utton of the =D4 controller as range modifier s(itch& Simply attach a (ire to Pin 6H of the C=!$=IS IC&
In that case you'd only need to hold do(n 7'8 (hile turning on your =D4 console to get the e1tended range of 6D8 steps 0 a1is&
<elp, up is do(n and do(n is up S(ap the (ires for EA 5 E' or CA 5 C' depending on (hich 0 left is right 5 right is left> a1is is in-erted&
+ersion 6&2 .corrected another error in the Attiny24 programming schematic/ J Kako% Schaefer 2#6# !his guide and the source code files are for personal use only> Ise at o(n risk&