Pages: 1 2 [3]   Go Down
Author Topic: [ATTINY85]Nothing but junk appears on my serial monitor... :(  (Read 1538 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 208
Posts: 12929
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hate to bring some real engineering practice into it...

Going to have to do the same to you @fungus.

Quote
Variation is about 5% between 3V and 5V Vcc  (eg. when powered with 3xAA batteries).
Variation is about 5% for every 20 degrees difference in temperature (a difference easily possible from summer to winter).

For the entire envelope I get a total a variance of 5.3125%.  Centered at 8 MHz, the variance is +1.5625% / -3.75%.

Quote
5% variation is enough to make it fail.

That's 1/2 bit error which a modern hardware receiver easily deals with by sampling an odd number of quanta greater than one and tweaking the clock.

A modern UART should have little to no trouble receiving data over the entire temperature / voltage range.
« Last Edit: February 28, 2014, 02:11:04 pm by Coding Badly » Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 208
Posts: 12929
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I did an experiment with SoftwareSerial

Thank you for doing that and reporting back the results.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi again.  I would like to say that i want to enable serial because i want to connect a bluetooth module.

After a lot of research i found that:http://forum.arduino.cc/index.php?topic=183180.0 this guy managed to succesfully tune an attiny2313A. I will try to do what he did but i have several questions about the procedure. I cant find a step by step guide to tune this thing and this is an advance procedure.

How can i learn what is the right value for my attiny that will be compared from the tuner? Is this a fuse that i try to tune? If i tune it will post here.

Another option is to use avrdude to disable the internal oscilator and use an external 16mhz...
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 208
Posts: 12929
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

How can i learn what is the right value for my attiny that will be compared from the tuner?

If you were getting output here...
http://forum.arduino.cc/index.php?topic=221482.msg1610819#msg1610819
...then you already have the right value.

Quote
Is this a fuse that i try to tune?

No.  It is a one byte value that you assign to the OSCCAL register in setup.
Logged

Pages: 1 2 [3]   Go Up
Jump to: