n00b question changing a 168 from 1gmhz to 8mhz internal

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
sydkahn
 
Posts: 32
Joined: Wed May 14, 2008 2:51 pm

n00b question changing a 168 from 1gmhz to 8mhz internal

Post by sydkahn »

I upgraded my 'duinos with a couple of 368 chips i got from here. Now I have a couple of left over 168 chips. They are set up for 16mhz - what do i have to do to get them set up for 8mhz internal? I hate to have unused silicon laying around :D

Do i need to reset fuses using a HV programmer <cringe> or will your ISP kit manage it?

FYI - I don't actually live at the end of the earth - but i can see it from my roof - so needless to say it takes days/weeks to get parts if Radio Shack doesn't have it.

koolkat
 
Posts: 358
Joined: Tue May 06, 2008 8:42 pm

Re: n00b question changing a 168 from 1gmhz to 8mhz internal

Post by koolkat »

You can use the USBtiny ISP

I use this program to help me with the fuses

http://www.vonnieda.org/software/avrfuses

i also use this
http://palmavr.sourceforge.net/cgi-bin/fc.cgi

trialex
 
Posts: 189
Joined: Mon Apr 03, 2006 6:25 pm

Re: n00b question changing a 168 from 1gmhz to 8mhz internal

Post by trialex »

Just stick 'em in whatever board you are using (that has an ICSP port), connect us the USBtinyISP, select "Lilypad" in the Tools -> Board drop down, then Tools -> Burn Bootloader -> USBtiny

This way you don't have to play around with the fuses yourself, you use the defaults for the Lilypad which is the internal 1MHz clock.

mtbf0
 
Posts: 1645
Joined: Sat Nov 10, 2007 12:59 am

Re: n00b question changing a 168 from 1gmhz to 8mhz internal

Post by mtbf0 »

in order to reprogram the fuses you'll have to have '168 in a board with a high speed clock source connected at pb6,pb7. the arduino board would be the obvious choice.

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”