Pages: [1]   Go Down
Author Topic: 328 as avr isp programmer for another atmega?  (Read 1405 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 14
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

if i use an atmega 328 board as avr isp programmer to burn bootloader and load sketch on another atmega does the one im burning to have to be a 328 or can i use any arduino compatable chip this way.
i need a momentary push button to work as a toggle switch and thats all the chip will be doing and will be powered off 5v usb. pushbutton will be connected to atmega and atmega to xbox controller button so that when its pressed it stays on till presed again and turns off. if im powering from 5v usb would i need any components between the usb and the chip or can i connect it directly? then i would just need a crystal, caps for it and resistor for reset pin correct?

thanks for help in advance
« Last Edit: April 09, 2011, 01:57:50 pm by thp777 » Logged

Scotland
Offline Offline
Edison Member
*
Karma: 26
Posts: 1338
Have you had your Arduino fix today?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You can use any atmega or attiny with an spi input (attiny13,45,85 all do). I'm currently working on a 'Mod' chip for xbox myself, with auto (Fast auto fire), and auto reload. using either 13 or 45 with internal osc. at 8Mhz (9.6Mhz on 13) - what chip I use depends on final code.


Drew.
Logged

Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

0
Offline Offline
Newbie
*
Karma: 0
Posts: 14
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

so can i only burn bootloader or will i be able burn a program or load a sketch thru first board also? or should i just buy ftdi breakout adapter?
« Last Edit: April 09, 2011, 03:15:27 pm by thp777 » Logged

Scotland
Offline Offline
Edison Member
*
Karma: 26
Posts: 1338
Have you had your Arduino fix today?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

For a Programmer I use :

http://cgi.ebay.co.uk/USBtiny-ISP-AVR-Atmel-Programmer-Arduino-bootloader-/170609102308?pt=LH_DefaultDomain_0&hash=item27b9184de4

FTDI requires a bootloader to be on the chip. With the above you can program the ATTiny series chips without a bootloader (and put bootloaders onto your 328s).



Drew.
Logged

Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

Pages: [1]   Go Up
Jump to: