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




Comments

author
Apolo8 made it! (author)2013-05-11

Schematic?

author
dudelectric made it! (author)dudelectric2013-05-18

just uploaded the schematic

author
Apolo8 made it! (author)Apolo82014-10-01

thanks!

author
schel made it! (author)2014-03-12

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?

author
deattila made it! (author)2013-12-18

one question does it need to have power whil programming

author
dudelectric made it! (author)dudelectric2014-01-05

Yes it does need 5v power :)

author
deattila made it! (author)2013-09-27

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

author
dudelectric made it! (author)dudelectric2013-09-27

sorry I think the above scheme is complete, please ask to me which part is less clear, thanks

author
deattila made it! (author)deattila2013-09-28

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.

author
dudelectric made it! (author)dudelectric2013-10-13

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

author
deattila made it! (author)deattila2013-10-14

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

author
dudelectric made it! (author)dudelectric2013-10-23

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

author
vishalapr made it! (author)2013-06-01

I think Im gonna make a "Punkduino" soon :D
Thanks for sharing

author
dudelectric made it! (author)dudelectric2013-06-02

you're welcome sir :)

author
dudelectric made it! (author)2013-05-17

@Apolo8 sorry late in posting schema, i'll post it tomorrow

About This Instructable

1,590views

10favorites

License:

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