ENTC Resources Archive - Microcontrollers

This is a repository of documents prepared by ENTC community targeting a non-specialized audience.

Content is added with no warranty stated/ implied; hoping that it would be of use. Comments, suggestions and constructive criticisms can be directed to Administrator, Social Media, ENTC.

Micro-controllers for day-to-day life (Sinhala Medium)

Adapted from material prepared for a distance learining course | Course introduction | Summary (I) to (X)

  1. Introduction to Microcontrollers
  2. Internal Architecture
    1. I/O Ports Fetch, Decode, and Execute
    2. Controlling and processing unit
  3. Softwares used for Programming Microcontrollers
    1. Compilers and Integrated Development Environments
    2. How to build your own JDM Programmer (I)
    3. How to build your own JDM Programmer (II)
    4. Hardware needed for Programming
    5. Program using ICPROG Software
  4. Build your first microcontroller based circuit
    1. Typical microcontroller assembly circuit diagram
    2. Special Function registers of the Microcontroller PIC16F84A
    3. Creating your first assembly code
    4. How to write assembly code in MPLAB
    5. More on MPLAB
    6. How to simulate using MPLAB SIM
  5. LED Pattern generators
    1. Assembly code for driving 8 LEDs (I)
    2. Assembly code for driving 8 LEDs (II)
    3. Driving 40 LEDs using PORT multiplexing (8x5)
    4. How to display a Character using 8x5 LED matrix
  6. Seven Segment Displays
    1. Driving segments using PORT-B I/O
    2. Basic counter circuit (I)
    3. 0 – 100 up counter using two SSD (I)
    4. 0 – 100 up counter using two SSD (II)
    5. Usage of interrupts
    6. Practical usage of Interrupts
    7. External Interrupts
  7. Connecting a microcontroller with the PC
    1. PC Serial port overview
    2. Logic level translation using MAX 232 IC
    3. Assembly code for controlling USART module (I)
    4. Assembly code for controlling USART module (II)
  8. Analog to Digital conversion
    1. Temperature Logger using LM35
    2. Importance of Quantization error and Sampling rate
    3. PIC16F877A ADCON0 and ADCON1register
    4. A/D, show results using SSD
    5. Assembly code for A/D conversion (I)
    6. Assembly code for A/D conversion (II)
    7. Send A/D converted data through RS-232
  9. Liquid Crystal Displays
    1. Types of LCDs
    2. Running a LCD module using PIC16F84A (I)
    3. Running a LCD module using PIC16F84A (II)
    4. Running a LCD module using PIC16F84A (III)
  10. Number representations
    1. Introduction to Binary, Octal and Hex number systems
    2. Logic gates and Boolean algebra
    3. Boolean algebra and Registers
    4. Communication using Ascii codes
  11. DC Motor controlling
    1. Controlling a DC motor using H-Bridge IC L298
    2. Control rotation speed, rotation direction using Microcontroller
    3. Connecting the DC motor controller to PC
    4. DC motor control according to the user press buttons
    5. Pulse Width Modulation (PWM)
    6. Calculating the DC Motor rotation speed (RPM)
    7. Dynamic control using feedback loops
  12. Remote controllersol>
    1. The electromagnetic spectrum
    2. Infrared remote controllers
    3. IR Sensors
    4. How to capture the IR receiver signal using Microcontroller
    5. Decoding IR Signals (I)
    6. Decoding IR Signals (II)
    7. Decoding IR Signal algorithm
  13. Data transfer between digital circuits
    1. Serial Peripheral Interface (I)
    2. Serial Peripheral Interface (II)
    3. Nokia 3310 LCD Driving using SPI (I)
    4. Nokia 3310 LCD Driving using SPI (II)
    5. Connecting a Nokia 3310 LCD to PIC16F877A
    6. Assembly code for LCD driving (I)
    7. Assembly code for LCD driving (II)
    8. Sinhala characters in a Nokia 3310 LCD
    9. Animation effects with Nokia 3310 LCD
  14. How to use high level languages
    1. Introduction
    2. C code for baing a LED
    3. C code for driving 8 LEDs (I)
    4. Driving 40 LEDs using PORT multiplexing (8x5) (I)
    5. Driving 40 LEDs using PORT multiplexing (8x5) (II)
    6. Driving segments using PORT-B I/O
    7. Basic counter circuit
    8. 0 – 100 up counter using two SSD
    9. Practical usage of Interrupts
    10. External Interrupts
    11. Connecting a microcontroller with the PC
    12. Driving Liquid Cristal Displays
    13. End of uC Series
  15. Global Positioning System (GPS)
    1. Introduction to Global Positioning
    2. GPS Receivers
    3. GPS Errors
    4. Differential GPS