if you want to interface lcd also:
Using ATMEGA16 microcontroller this blogs describes programs of led , lcd , ADC ( analog to digital converter ), timer , spi communication , uart , docklite , proteus , cvavr ,avrstudio, projects
Showing posts with label coding and programming. Show all posts
Showing posts with label coding and programming. Show all posts
Basic Architecture of Microcontroller
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.
Subscribe to:
Posts (Atom)
Popular Posts
-
All the configurations in microcontroller is set through 8 bit (1 byte) locations in RAM (RAM is a bank of memory bytes) of the microcontrol...
-
DOWNLOAD DATA SHEET CLICK HERE • MOSI (Master Out Slave In) • MISO (Master In Slave Out) • SCK (Serial Clock) • RESET • GND...
-
AVR(ADVANCE VIRTUAL RISC) is a modified HARWARD architecture 8 bit RISC single chip microcontroller which was developed by atmel in 1996. A...
-
Architecture Broad classification Embedded(self contained) 8 bit microcontroller 16 to 32 microcontroller Digital signal proce...
-
Lets start with basic, ie .digital system. in electronics as you already know only 2 states are used - LOGIC HIGH and LOGIC LOW, represented...
-
Timer is an 8 bit register that keeps on increasing its value, so one of the basic conditions is the situation when timer register O...
-
Programmer basically consists of two parts: • Software (to open .hex file on your computer) • Hardware (to connect microcontroller) Ha...
-
adding microcontroller adding lcd to add switch, search for "button" sett...
-
DOWNLOAD CVAVR HERE if you want to interface lcd also: setting up adc : click h...
-
Lcd a 16 pin lcd have following pin connection Printing Functions Now once the connections have been made, we are ready ...