Microcontroller
Programming
AVR Micro controllers (ATMEGA8)
8051 compatible Micro controllers (AT89C2051)
4 X 7-segment display
AVR Micro controllers (ATMEGA8)
AVR micro controller is newer in technology. It has built in ADC, Timers, Analog comparators, clock generator. It also
consumes less power and it is more robust than AT89C2051. It has the ISP (In system programming) feature which makes
life easier. It has EEPROM which can be overwriiten by the program it self.
I use Universal board as a template of the electrical system. It is harder to design the electrical system than the
software system because you have to do a lot of things by hands (PCB designing, etching).
8051 compatible Micro controllers (AT89C2051)
To make a complete microcontroller system the following steps has to be done.
- Choose the correct microcontroller for your job (Currently I am useing AT89C2051)
- Manage a writer to store your program into the EPROM/EEPROM (AT89C2051 has 2K bytes of EEPROM,
and I've made the writher of my own)
- If you make the writer yourself, a control software must be written to control it. (Which
I also wrote)
- Write your program, compile it. (Many free compilers are available in the internet)
- It is better to have a simulator also (You can also get it from the net)
- Write it, then test it!
Some
programs that I've written for MCS51
- Infrared Remote control System
- Parallel Port capturing
- Improved Automatic pump controller
- Writer for AT89C2051!!
|
|