Dan - 2014-04-14

Hi,All

Here I introduce a method of obtaining in a simple internal oscillator calibration value, using the software serial interface of ATTINY13A.

It is also available ATTINY other. The program and Electronic circuit is super simple.

Internal oscillation frequency of ATTINY13A to be used depend upon the power supply voltage,
Must be calibrated in the same power supply voltage is actually used power supply voltage during calibration.

[Procedure]
1.You set the Fuse Bit of ATTINY. (Such as SELFPRGEN, CKDIV8)
2.You write the calibration program to ATTINY.
3.Starting the Teraterm, Set 9600bps, 7bit, in 2Stopbit.
4.The energized ATTINY with serial connection.
5.From the screen of TeraTerm, You find the median of the values to be displayed correctly.

0x68 is the calibration value in the example below.

X 6C
X 6B
X 6A
X 69
O 68
X 67
X 66
X 65
X 64

 

Last edit: Dan 2014-04-14