Oscillators with ATmega16 microcontroller
There are variety of micro-controllers present now a days. Development in VLSI technology enhance the performance of the many micro-controller. 8051 is the Basic micro-controller. Due to some deficiency in its structure, necessity for better device increased. With advancement, requirement of more and more facility increased and give rises to the many new microcontrollers in 8-bit family.
ATmega16 is the 8 bit micro-controller. This micro-controller is having such features that ask a good hardware and embedded program to switch to it. The architecture is much more advance and efficient for the fast processing. With 16MHz crystal oscillator, it can read 16 Million Instruction Per Second i.e. 16 MIPS and can read 8 Million Instruction Per Second at inbuilt.
While programming the Atmega16 you need to change the fuse bit. A very good flexible feature in microcontroller.
Now select the internal oscillator value on which yo want to work on with.
In this software , sinaprog , you can also make you microcontroller to work external oscillator just by selecting the external crystal.
While programming the Atmega16 you need to change the fuse bit. A very good flexible feature in microcontroller.
WAY 1:- With SinaProg
Here is a figure given below, when you are working with sinaprog ,then in Devices select Atmega16.
After that go to fuses, as shown below.
Now select the internal oscillator value on which yo want to work on with.
In this software , sinaprog , you can also make you microcontroller to work external oscillator just by selecting the external crystal.
WAY 2:- Using WINAVR
While working with WinAvr you have to make sure that you what should be the value of crystal you want to use previously. After that in the make file section, go to make file tab. in last go to "Enable editing of make file" ,then go to the place as shown in figure. Edit the F_CPU=********** according to your choice.
Enjoy your programming even without EXTERNAL Oscillator...!
0 comments:
Post a Comment