loading

add an external crystal to attiny85?

how can i add a 16mhz crystal to attiny85? i dont know how and cant find it online

sort by: active | newest | oldest

Datasheet, P29. Connect the crystal to pin 2 and pin 3. Connect 22pF caps from pin2 to ground, and pin 3 to ground. Set up up the clock selection fuses when you program the chip,.

I do it using the Arduino application, after having downloaded the attiny support for the Arduino application, select attiny85 (board and processor) and then select the external 16Mhz clock, burn the bootloader and you're done. Make sure you have all the necessary components to run the external crystal :)

kgiri ricsvcr19 days ago
Thanks for reply. Now I can run tiny at 16MHz.
fossilshark (author)  steveastrouk2 years ago

i looked at the datasheet, i didnt understand any of it. i have never had proper training so i have a hard time reading schematics altho i think i know how to connect the circuit based on what you said. i just need to know how i would program it?

to set the fuses, you need another arduino. Have you got one?

fossilshark (author)  steveastrouk2 years ago

yes, thats how i program my attiny's

In that case, look at the instructions for the internal fuses in the documentation.

If you screw up, you'll brick the Attiny, unless you have a parallel programmer.