loading
Punkduino is an arduino clone with the punk attitude...

instead using FTDI ,punkduino uses the usbasp to transfer code

you need:

-perfboard
-atmega328
-xtall--  11059200
-7805
-tactile switch
-pin header (from old computer mainboard ,etc)
-some caps,resistor and leds

next i will show you how to set up the arduine IDE to work correctly and support PUNKDUINO programming via USBASP:


....

go to your ARDUINO folder >>hardware>>arduino

now you can see programmers.txt & boards.txt

open the programmers.txt and add this line:

usbasp.name=usbasp
usbasp.protocol=usbasp

close the programmers.txt and save it

next edit the boards.txt

add this line of code to the text:

##############################################################

atmega328p.name  =  Punkduino/11.0592 MHz via usbasp
atmega328p.upload.using  =  usbasp
atmega328p.upload.maximum_size  =  32768
atmega328p.build.mcu  =  atmega328p
atmega328p.build.f_cpu  =  11059200L
atmega328p.build.core  =  arduino
atmega328.build.variant  =  standard

......................save it

From now everytime you open your arduino IDE the PUNKDUINO will show up in BOARD option.

enjoy your punkduino....


nb :

for linux user, you have to open the arduino via terminal to get the USBASP working.otherwise it will prompt you the unacsessed port error

$ sudo ./arduino

sorry my english is not very good, i hope you enjoy this instructables




Schematic? <br>
just uploaded the schematic <br>
<p>thanks! </p>
<p>Awesome!! Much Thanks! I'm trying to use this same setup. An Anarduino and the same usbasp device. My comp sees the USBASP but not the 'duino attached...dunno?</p>
one question does it need to have power whil programming
Yes it does need 5v power :)
oke, looks great. <br>but you didn&acute;t upload the hole scematic <br>there is a big part missing. <br>so can you please upload the comleet scematic
sorry I think the above scheme is complete, please ask to me which part is less clear, thanks <br>
for example, you are using a tactile switch <br>but in your scematic there is no one <br>and in your picture you use 2 leds and some ressistors <br>and in your scematic there are no ressistors and there only is one led.
I remove some parts to make it easier. resistor+LED used only for power supply indicator status . and a tactile switch is for manual reset of AtMega and it's not so important, thx
oke, if that is it jou are right <br>but do you put the switch on the reset pin of the atmege, and than directly to ground? <br>and i have to say that it is a nice scematic, now you don&acute;t have to buy expensive arduino&acute;s
Yess, you can add switch directly to the ground from reset pin anytime ... always use punkduino on my project on www.makebot.blogspot.com , plus you have extra 2Kb PROGMEM freespace from atmega
I think Im gonna make a &quot;Punkduino&quot; soon :D <br>Thanks for sharing
you're welcome sir :)
@Apolo8 sorry late in posting schema, i'll post it tomorrow

About This Instructable

1,538views

10favorites

License:

Bio: Bismillah..
More by dudelectric:Python LED Calculator PUNKDUINO 
Add instructable to: