Introduction: PUNKDUINO
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
15 Comments
10 years ago on Introduction
Schematic?
Reply 10 years ago on Introduction
just uploaded the schematic
Reply 8 years ago on Introduction
thanks!
9 years ago on Introduction
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?
9 years ago on Introduction
one question does it need to have power whil programming
Reply 9 years ago on Introduction
Yes it does need 5v power :)
9 years ago on Introduction
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
Reply 9 years ago on Introduction
sorry I think the above scheme is complete, please ask to me which part is less clear, thanks
Reply 9 years ago on Introduction
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.
Reply 9 years ago on Introduction
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
Reply 9 years ago on Introduction
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
Reply 9 years ago on Introduction
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
10 years ago on Introduction
I think Im gonna make a "Punkduino" soon :D
Thanks for sharing
Reply 10 years ago on Introduction
you're welcome sir :)
10 years ago on Introduction
@Apolo8 sorry late in posting schema, i'll post it tomorrow