Instructables
Picture of PUNKDUINO
PUNKDUINO.png
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




schel6 months ago

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?

deattila9 months ago
one question does it need to have power whil programming
dudelectric (author)  deattila8 months ago
Yes it does need 5v power :)
deattila11 months ago
oke, looks great.
but you didn´t upload the hole scematic
there is a big part missing.
so can you please upload the comleet scematic
dudelectric (author)  deattila11 months ago
sorry I think the above scheme is complete, please ask to me which part is less clear, thanks
for example, you are using a tactile switch
but in your scematic there is no one
and in your picture you use 2 leds and some ressistors
and in your scematic there are no ressistors and there only is one led.
dudelectric (author)  deattila11 months ago
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
but do you put the switch on the reset pin of the atmege, and than directly to ground?
and i have to say that it is a nice scematic, now you don´t have to buy expensive arduino´s
dudelectric (author)  deattila10 months ago
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
vishalapr1 year ago
I think Im gonna make a "Punkduino" soon :D
Thanks for sharing
dudelectric (author)  vishalapr1 year ago
you're welcome sir :)
Apolo81 year ago
Schematic?
dudelectric (author)  Apolo81 year ago
just uploaded the schematic
dudelectric (author) 1 year ago
@Apolo8 sorry late in posting schema, i'll post it tomorrow