| Electronics > Beginners |
| ATMega328 Programmer |
| (1/3) > >> |
| JDemo:
So lately I've been trying to teach myself engineering and I've come to love working with Arduinos. I've moved on to creating breadboarded arduinos as I tend to run out of Unos and theyre a bit more pricey. I also hate having to setup a breadboard every time I need to program one of those chips. To solve that and learn in the process I'm trying to make a programming tool that'll have a screen and what not and basically allow me to drop a 328P into a ZIF socket, press a button, and boom it's programmed with a saved sketch and / or the bootloader. I've created what I believe is a valid schematic for the programming bit, this doesn't include all of the bells and whistles like the screen just the 2 atmega chips (one, the main board one is a TQFP package). Was wondering if anyone could make sure this looks correct and recommend anything to make it better. Thanks a bunch :) EDIT: Basically it'll be running (the main chip) off of the ArduinoISP sketch. U1 is the on-board 328 and U3 is the DIP 328 that'll be in the ZIF socket. EDIT2: Yes, I know there are plenty of ready-made easier options but as I say above, the point isn't to make things quick and easy. This is all for a learning experience. I generally learn by doing and that's what I'm trying to do here. |
| firewalker:
How do you plan to load the "to be programmed" firmware to the programmer? Alexander |
| Pirateguy:
These are cheap as dirt and both have worked for me: https://www.ebay.com/itm/USBASP-USBISP-AVR-Programmer-Module-For-Arduino-USBISP-USB-ASP-ATMEGA8-ATMEGA128/253775424002?hash=item3b1631aa02:g:~2QAAOSwejdbWC9R https://www.ebay.com/itm/5V-Micro-USB-Tiny-AVR-ISP-ATtiny44-USBTinyISP-Programmer-For-Arduino-Bootloader/322924720403?hash=item4b2fd03113:g:fbwAAOSwzppaJ1DX |
| picandmix:
Hi, --- Quote ---I tend to run out of Unos and theyre a bit more pricey. --- End quote --- It sounds like you are using genuine Arduino boards which are expensive, but surely buying the cheap clone boards would be a cheaper and more complete option than the cost of a 328 dip chip plus crystal etc. A clone Nano board will plug straight in to a breadboard and has all the extra parts ready fitted so you just download the sketch as normal via USB. |
| JDemo:
--- Quote from: firewalker on September 01, 2018, 08:51:21 am ---How do you plan to load the "to be programmed" firmware to the programmer? Alexander --- End quote --- Hey, I plan on adding in either a USB port and what nots or using an FTDI chip or something alike. --- Quote from: picandmix on September 01, 2018, 09:24:08 am ---Hi, --- Quote ---I tend to run out of Unos and theyre a bit more pricey. --- End quote --- It sounds like you are using genuine Arduino boards which are expensive, but surely buying the cheap clone boards would be a cheaper and more complete option than the cost of a 328 dip chip plus crystal etc. A clone Nano board will plug straight in to a breadboard and has all the extra parts ready fitted so you just download the sketch as normal via USB. --- End quote --- --- Quote from: Pirateguy on September 01, 2018, 09:20:15 am ---These are cheap as dirt and both have worked for me: https://www.ebay.com/itm/USBASP-USBISP-AVR-Programmer-Module-For-Arduino-USBISP-USB-ASP-ATMEGA8-ATMEGA128/253775424002?hash=item3b1631aa02:g:~2QAAOSwejdbWC9R https://www.ebay.com/itm/5V-Micro-USB-Tiny-AVR-ISP-ATtiny44-USBTinyISP-Programmer-For-Arduino-Bootloader/322924720403?hash=item4b2fd03113:g:fbwAAOSwzppaJ1DX --- End quote --- Yeah I'm aware of all of those things but the reason I'm choosing to do it this way (I guess the harder way) is more for a learning experience as well. I'm quite fine with spending the money to build. I enjoy the challenge as well. Thanks for the replies :) |
| Navigation |
| Message Index |
| Next page |