Basic Architecture of Microcontroller | EMBEDDED AND ROBOTICS

Basic Architecture of Microcontroller



Architecture Broad classification 

  • Embedded(self contained) 8 bit microcontroller
  • 16 to 32 microcontroller
  • Digital signal processor

FEATURES OF MORDERN MICROCONTROLLER

  1. Built in monitor program
  2. Built in program memory
  3. Interrupts
  4. Analog I/O
  5. Serial I/O
  6. Facility to Interface External Memory
  7. Timers 

INTERNAL STRUCTURE OF MICROCONTROLLER(BLOCK DIAGRAM)

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.
atmega 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

Related Posts Plugin for WordPress, Blogger...

Popular Posts