PUNKDUINO

About: Bismillah..

Intro: 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




Share

    Recommendations

    • Tiny Home Contest

      Tiny Home Contest
    • Fix It! Contest

      Fix It! Contest
    • Metalworking Contest

      Metalworking Contest

    15 Discussions

    0
    None
    schel

    4 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?

    0
    None
    deattila

    4 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

    5 replies
    0
    None
    dudelectricdeattila

    Reply 4 years ago on Introduction

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

    0
    None
    deattiladudelectric

    Reply 4 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.

    0
    None
    dudelectricdeattila

    Reply 4 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

    0
    None
    deattiladudelectric

    Reply 4 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

    0
    None
    dudelectricdeattila

    Reply 4 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