Microcontrollers and Interfacing| MI

                                  Microcontrollers and Interfacing

 UNIT-I:  

Basics of Computer organization and Microprocessors:

Introduction to computing, Inside the computer, Internal organization of computers, data bus, address

bus, CPU and its relation to RAM and ROM, Inside CPU: Internal block diagram of CPU, Internal

working of computers, Von Neumann Architecture, Harvard Architecture, CISC characteristics, RISC

characteristics 8086 Architecture-Functional diagram, Register Organization, Memory Segmentation,

Programming Model, Memory addresses, Physical Memory Organization, Architecture of 8086, Signal

descriptions of 8086, interrupts of 8086.

UNIT-II: Introduction to Microcontrollers: 

Differences between microprocessors and microcontrollers, Overview of 8051 Microcontroller, Pin

 diagram of 8051, Architecture, Programming model, I/O Ports, Memory Organization of 8051,

 Special function Registers, PSW, SCON, TCON, TMOD, PCON etc.

UNIT-III:  Arithmetic and logical operations of 8051: 

Addressing Modes of 8051:

Immediate and register addressing modes, accessing memory using various addressing modes, bit

addresses for I/O and RAM Assembly language programming. Arithmetic, logical instructions and

programs: Arithmetic instructions and operations, Logic and compare instructions, Rotate instructions

and data serialization, BCD ASCII and other application programs

UNIT-IV:  Jump, loop and call Operations of 8051: 

Loop and jump instructions, call instructions, I/O port programming: 8051 I/O Programming, I/O bit

 manipulation Programming,

Microcontroller design: Timer Programming: Programming 8051 timers, Counter programming,

Serial Port Programming: Basics of serial communication,8051 serial port programming in Assembly,

Interrupts Programming:8051 Interrupts, Programming timer interrupts, Programming external

hardware interrupts, Programming the serial interrupt, Interrupt priority in the 8051.





UNIT-V: Applications and Interfacing of 8051: 

LCD and keyboard interfacing, ADC interfacing, DAC interfacing: Generation of sine wave, square

wave, triangular wave etc., Interfacing to External Memory: 8031/51 interfacing with external ROM,

8051 data memory space.

                                                           

  • The Reference textbook for Microcontrollers ðŸ‘‰ text_book

Unit - 1  

            8086_notes.pdf 

            Von_Neuman_Architecture.pdf 

            Risc_Cisc.pdf

Unit - 2  

           8051_notes1.ppt 

           8051_notes2.ppt  

           8051_notes3.ppt                                  

           8051_notes4.ppt 

           8051_notes5.ppt

           8051_notes6.ppt


 

  --> microprocessor v/s micro controller

 

              MI.pdf


   -->Justify Why timer "0" is used in mode2? 

       In mode 2, the microcontroller takes care of this. Once you have configured a timer in mode 2, you don't have to worry about checking to see if the timer has overflowed, nor do you have to worry about resetting the value because the microcontroller hardware will do it all for you. The auto-reload mode is used for establishing a common baud rate.

              updated soon. . . wait for some time.


Post a Comment

3 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.
  1. #include
    SoftwareSerial myserial(2,3);
    void setup() {
    Serial.begin(115200);
    myserial.begin(115200);
    // pinMode(13,OUTPUT);
    }
    // put your setup code here, to run once:

    void loop() {
    while(Serial.available())
    {
    myserial.write(Serial.read());
    delay(1000);
    }
    while(myserial.available())
    {
    char i=myserial.read();
    Serial.write(i);
    delay(1000);
    }
    while(Serial.available())
    {
    char i=Serial.read();
    Serial.write(i);
    }

    }

    // put your main code here, to run repeatedly:


    ReplyDelete
  2. intr1
    void setup() {
    // put your setup code here, to run once:
    Serial.begin(9600);
    pinMode(2,INPUT_PULLUP);
    attachInterrupt(0,F1,CHANGE);

    }

    void loop() {
    // put your main code here, to run repeatedly:
    Serial.println("WELCOME BROS");
    delay(1000);
    }
    void F1()
    {
    Serial.println("INTERRUPT IS executed");
    delay(1000);
    digitalWrite(13,LOW);
    }
    OUTPUT:
    WELCOME BROS
    WELCOME BROS
    WELCOME BROS
    WELCOME BROS
    WELCOME BROS
    WELCOME BROS
    INTERRUPT IS executed
    INTERRUPT IS executed
    WELCOME BROS
    WELCOME BROS
    WELCOME BROS
    INTERRUPT IS executed
    INTERRUPT IS executed
    WELCOME BROS

    ReplyDelete
  3. void setup() {
    // put your setup code here, to run once:
    pinMode(2,INPUT_PULLUP);
    pinMode(3,INPUT_PULLUP);
    Serial.begin(9600);
    attachInterrupt(0,F1,LOW);
    attachInterrupt(1,F2,LOW);
    pinMode(13,OUTPUT);
    }

    void loop() {
    // put your main code here, to run repeatedly:
    Serial.println("WELLCOME");
    delay(1000);

    }

    void F1()
    {
    Serial.println("HI");
    delay(1000);
    Serial.println(13,LOW);
    }
    void F2()
    {
    Serial.println("GOOD");
    delay(1000);
    digitalWrite(13,HIGH);
    }
    OUTPUT:
    WELLCOME
    WELLCOME
    WELLCOME
    WELLCOME
    WELLCOME
    HI


    HI


    HI
    HI


    HI


    HI


    WELLCOME
    WELLCOME
    GOOD
    GOOD
    GOOD
    GOOD
    GOOD
    GOOD
    GOOD
    GOOD
    when connected to gnd to 3 displays "GOOD"
    gnd to 2 " HI"

    ReplyDelete