Electronics > Beginners

ATMega328 Programmer

<< < (3/3)

firewalker:
OK. It will be great learning exprience!

First off all add to the schematic everything. You are going to use a USB<->Serial chip? Add it.

Select what protocol you want to use for programming the AVR. STK500 is simple enough.

Tuxgraphics has an open source, hardware STK500 compatible programmer. USB <-> FTDI <---UART---> ATmega8 <---ISP---> Target AVR.

Alexander.

JDemo:

--- Quote from: firewalker on September 01, 2018, 12:28:16 pm ---OK. It will be great learning exprience!

First off all add to the schematic everything. You are going to use a USB<->Serial chip? Add it.

Select what protocol you want to use for programming the AVR. STK500 is simple enough.

Tuxgraphics has an open source, hardware STK500 compatible programmer. USB <-> FTDI <---UART---> ATmega8 <---ISP---> Target AVR.

Alexander.

--- End quote ---

Awesome, thanks for the advice. Yeah I've just started adding some of those parts, basically the above was just a baseline. I'll get to checking out the STK500 protocol.


--- Quote from: LukeB on September 01, 2018, 12:09:01 pm ---Oh sorry one more thing. What is to stop you just programming the chip using an arduino uno you already have. Just swap the chip for the one you want to program, and take it out once programmed.

--- End quote ---

I was doing this for a while but eventually I bent a bunch of the DIP pins and had to sit there straightening them and that's what made me want to get an AVR programmer or something then I figured I'd use this as a good opportunity to learn a thing or two about actually designing PCBs and such. Thanks for that though!


--- Quote from: LukeB on September 01, 2018, 12:07:33 pm ---just thought id put my 2 cents in. I am also an electronics tinkerer and have used arduino a lot in the past but also realise that arduinos are a bit expensive. Have you thought of using an attiny85. It is a smaller simpler arduino and is very cheap. It will help to teach you how to program the arduino chips and a lot of other arduino stuff. You can learn to program it using your other arduinos.

--- End quote ---

As for the ATTiny I have seen and heard a lot of good about it. This board will include a few buttons, some storage, and an LCD in the near future and as I'm not familiar with that chip I might be wrong here but I don't think it has enough IO for this. I do want to work on some other projects and hopefully use the 85. Seems like a damn good chip.

JDemo:

--- Quote from: firewalker on September 01, 2018, 12:28:16 pm ---OK. It will be great learning exprience!

First off all add to the schematic everything. You are going to use a USB<->Serial chip? Add it.

Select what protocol you want to use for programming the AVR. STK500 is simple enough.

Tuxgraphics has an open source, hardware STK500 compatible programmer. USB <-> FTDI <---UART---> ATmega8 <---ISP---> Target AVR.

Alexander.

--- End quote ---

Oh and another thing the on-board TQFP 328 will only be programmed once (in theory) it'll just act as an ArduinoISP (and control a few other things) which will then program the inserted DIP. The only issue is programming the TFQP 328 initially which is where your suggestion really comes in handy since I want this to be a standalone thing rather than needing another board (such as an FTDI board) to do the initial programming. Thanks again!

anishkgt:
I've been doing the same. A standalone Arduino bootloader/programmer. I've not tested mine but here is how it looks.

JDemo:

--- Quote from: anishkgt on September 01, 2018, 01:47:11 pm ---I've been doing the same. A standalone Arduino bootloader/programmer. I've not tested mine but here is how it looks.

--- End quote ---

Very cool! So far it's been pretty fun. I have most of the schematic done, just have to add a few more things then it's on to PCB layout.

Navigation

[0] Message Index

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod