Skip to main content

Introduction to 8051 microcontroller

                   8051 microcontroller

           
            
When we learn anything . we have two doubts why we  are learning and what we are learning .
There are millions of applications and appliances that we are using day to day life using microcontrollers
Few examples tv, tv remote, air-conditioning, Ac remote, washing machine, refrigerator, keyboard, mouse, DVD drives, USB ports, and so..in your house is full of microcontrollers the list is end less and have massive application's in real world  you not even imagine how many are that's why we are trying to learn microcontroller..

Microcontroller is a small chip which have all the components in it have advantage of microcontrollers is small in size then microprocessor...

Let's discuss the parts of the microcontroller 

First and most one processor, memory (RAM,ROM), I/O ports , serial ports, Timer's
Let's discuss one by one and first we discuss the working components then we go for example.
Processor.                                                     
    Where there is a required program then there definitely consist a processor   this 8 -bit  processor is  to be follow the instructions which we written 
Memory                                                        
We know there are two types of memory RAM and ROM ..
RAM stands for random access memory which we can write and read the data and the data inside the RAM are not permanent.
ROM( read only memory ) which we can read the data inside the ROM we unable to write. and the data inside the ROM is permanent...in 8051 microcontroller the capacity of RAM is 128 bytes ROM (4 KB)  when you seeing this numbers . yes you think that this memory is enough ?? more then enough we discuss this in later.
I/O PORT'S                                                    
used for input and output ports to connect the external device's these are 4 .8 bit I/O ports and parallel ports which  transfer multiple data at a time .used for short  distances communication...
SERIAL PORTS                                          
This type ports are used to transfer the data in serial (one by one ) this ports are used in longer communication 
TIMER'S                                                   
the timers play an important role it producing delay the delay is nothing but the time gap between two events there are two types of delays
Software delay and hardware delay 
Software delay.                                              
Here you don't need a external devices you just write a loop which will give exact time after completing loop. processor  excite the loop 
Hardware delay                                               
We use an external devices the delay is produced by timer 
Hardware delay is expensive  power consuming ..and have complexity but the main advantage for hardware delay is the delay is produced by timer so processor is free so, during the delay it can complete some other work till the completing of delay .but  in software delay processor  is busy in  excuiting  program. we can produce more number of delay so that processor won't wait till completing of that one delay
Above all this for transferring data from memory to processor we need data bus ,control bus, address bus, all this three buses called data bus...
Let's see an example for better understanding

Suppose you're making a microvan the most important thing is heating element. which is responsible for cooking food, but to control the heating element , display, showing seconds on screen , selecting of modes etc....you need memory to store the information like current temperature and selecting temperature for cook . we need input port for start or stop button and selecting temperature .. output port used for displaying seconds timer will produce time delay the moment you press start button .the processor instruct all components in right path like rotating the dish , temperature etc.
MEMORY.                                                           
 4kb of internal ROM memory approximately 4000 bytes the instructions are stored in may be 2,3 Bytes if every instruction is about 3 bytes then you able to store 3k instructions.....
RAM(128 BYTES )                                            
FOR EXAMPLE  consider a air-conditioning RAM it store the current memory 1 byte is enough for storage temperature and 1 byte is for fan speed 1 byte for cooling mode all together 3 bytes. But we have 128 bytes .

Summary                                            

8 bit processor
8 bit data bus 
8 bit alu
16 bit address bus 
4 kb internal storage 
128 bytes internal RAM 
external memory expanded upto 64 kb
4,8 -bit I/O ports all bit addressable
1 serial port ..
2,16 bit timers.
Power saving mode .
12 megahertz operating frequency 
5 volts power supply .
 Ideal and power down mode 
 i hope you got an idea about 8051 microcontroller...thank you

Comments

Popular posts from this blog

Brain-Computer Interfaces (BCIS).

   Brain-Computer Interfaces (BCIS). This is the example and possibility article which  BCIS will create the impact in below sectors.  1. Seamless Integration with AI:     Humans are connecting their minds to artificial general intelligences through advanced brain-computer interfaces. These interfaces enable real-time communication between the human brain and AI, granting access to vast amounts of information, problem-solving capabilities, and creative resources. This integration is revolutionizing fields like scientific research, software development, entrepreneurship, and art. Enhanced individuals can achieve perfect scores on IQ tests, viewing the world mathematically, deriving measurements, creating new datasets, and utilizing probability distributions to predict events. 2. Enhanced Access to Information:  B rain-computer interfaces provide constant access to petabytes of information, increasing memory exponentially. Users can summarize data fr...

what is digital rupee in India

            DIGITAL RUPEE                                       Reserve bank of India RBI announced the launch of the first pilot for retail digital rupee or E-rupee on December 1st to start with the RBI has partnered with 4 banks including State Bank of India, ICICI bank, yes bank, HDFC bank first bank in Mumbai in Delhi Bengaluru and Bhubaneswar initially bank cover on closed user group pricing customers and merchants lets try and explain to you what exactly is digital rupee or e-rupee                                        as the  RBI explain the E-rupee  is a form of digital tokens that represents illegal trade and unlike Crypto currencies the digital rupee is issued in the same denominations as paper currency in points.  now how exactly will this...

How touch screen technology work's??

  Touchscreen technology                  We use our Phone regularly ..and check frequently for notifications .do you ever asked yourself that how this touchscreen display works??.. In feature every electronic gadgets and home appliance is with touchscreen technology only ... We will try to find how many touchscreen technology's are available...  In 1965-1967 sir reachod EA Gohnson invented first touchscreen system that used for air traffic control... Dr.samuel harst developed first touchscreen sensor... Let's deep dive into touchscreen technology... Ther are 4 type's of touchscreen technology's are there ... 1. Resistive  touchscreen system 2. Capacitive touchscreen system 3. Infraded touchscreen system 4. Surface coustic wave touchscreen system ** 1 resistive touchscreen system..          When it come's to resistive touchscreen system there are two layers one is conductive layer and other one resist...