Architecture Broad classification
- Embedded(self contained) 8 bit microcontroller
- 16 to 32 microcontroller
- Digital signal processor
FEATURES OF MORDERN MICROCONTROLLER
- Built in monitor program
- Built in program memory
- Interrupts
- Analog I/O
- Serial I/O
- Facility to Interface External Memory
- Timers
INTERNAL STRUCTURE OF MICROCONTROLLER(BLOCK DIAGRAM)
GOOGLY: HOW DOES MICROCONTROLLER WORKS?
WELL I
CANNOT GO IN DETAIL ABOUT WORKING
because it is a vast topic in itself. I can just give you a overview-
Microcontroller
consist of a CPU which is interfaced to
RAM and FLASH MEMORY. You just feed your program in flash memory of
microcontroller. now when you turn
microcontroller ON , CPU accesses the instruction from RAM which access your
code from FLASH. Its sets the configuration of pins and starts performing according to your program.
HOW TO DO CODING/PROGRAMMING FOR MICROCONTROLLER?
YOU CAN WRITE PROGRAMS IN JAVA C++ AND C. THEN WE COMPILE THE CODE TO GENERATE ITS MACHINE LANGUAGE ie 0 and 1, NOW BURN IT IN MICROCONTROLLER USING A PROGRAMMER AND A SOFTWARE.
BETTER OPTION WOULD BE MAKING PROGRAM IN C AND THEN COMPILE IT IN MACHINE FILE(.hex) . AFTER THIS WE FEED PROGRAM IN FLASH MEMORY OF MICROCONTROLLER USING SUITABLE PROGRAMMER.
THIS PICTURE ABOVE IS A PROGRAMMER USE TO BURN OUR PROGRAM IN MICROCONTROLLER.
we will discuss about programs and softwares and hardwares to be used in upcoming post.
No comments:
Post a Comment