Setup attiny85 @ 16mhz #1

Closed
opened 5 years ago by GregSpotX · 4 comments

I am sorry to add this as an issue but it sort of is.
I can compile and upload no your code no problems.
This is potentially a fantastic solution to a powered microlan.

Do you have a link on how you setup the physical connection and got the attiny to run at 16mhz.

Thanks.

Greg

I am sorry to add this as an issue but it sort of is. I can compile and upload no your code no problems. This is potentially a fantastic solution to a powered microlan. Do you have a link on how you setup the physical connection and got the attiny to run at 16mhz. Thanks. Greg
Owner

Hi Greg

The attiny85 has an internal clock which can be set to run at 16MHZ. The fuse values can be found using

http://www.engbedded.com/fusecalc/

For the attiny85 at 16MHZ the fuses are low = F1, high = DF, Extended = FF

You may also need to calibrate OSCCAL. Need to Google this as there are several ways to do the calibration.

Make sure your attiny85 power on reset meets the specs and give the internal oscillator time to settle.

Hi Greg The attiny85 has an internal clock which can be set to run at 16MHZ. The fuse values can be found using http://www.engbedded.com/fusecalc/ For the attiny85 at 16MHZ the fuses are low = F1, high = DF, Extended = FF You may also need to calibrate OSCCAL. Need to Google this as there are several ways to do the calibration. Make sure your attiny85 power on reset meets the specs and give the internal oscillator time to settle.
Owner

Hi again

When I checked again I see the 16MHZ option not listed in the fuses calculator. However there are many posts which explain in more detail how to set the fuses for 16MHZ internal.

The Arduino IDE (version 1.8.6 +) has the internal 16MHZ clock option for the attiny85

Hi again When I checked again I see the 16MHZ option not listed in the fuses calculator. However there are many posts which explain in more detail how to set the fuses for 16MHZ internal. The Arduino IDE (version 1.8.6 +) has the internal 16MHZ clock option for the attiny85
Poster

Hi Ian
Thanks
I found this link which is pretty well documented.
https://www.hackster.io/porrey/attiny-16mhz-610d41

However I did also read somewhere (can't find that link) where there was a problem because of the crystal or lack thereof.

I only have a few knockoff to test at the moment I will get some soon and test it out.
Thanks heaps this is very very cool. It makes the possibility for affordable real smart control a reality. Rather than this glossy pretend smart control we are seeing everywhere at the moment.

Hi Ian Thanks I found this link which is pretty well documented. https://www.hackster.io/porrey/attiny-16mhz-610d41 However I did also read somewhere (can't find that link) where there was a problem because of the crystal or lack thereof. I only have a few knockoff to test at the moment I will get some soon and test it out. Thanks heaps this is very very cool. It makes the possibility for affordable real smart control a reality. Rather than this glossy pretend smart control we are seeing everywhere at the moment.
Poster

Thanks Ian I will close this now as I think the story is done for now.

Thanks Ian I will close this now as I think the story is done for now.
GregSpotX closed this issue 5 years ago
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.