Course Highlights:
Course Highlights:
Learn 8051 micro-controller programming in detail using Embedded C and Assembly Language.
The course focuses on learning through a hands-on approach and straight-to-the-point explanation
Get the source code and simulation files on every program discussed.
Join the group of 4700+ students.
Get Certification of completion
Test what you learned by solving MCQs after the videos.
Extra Learning material is provided for an absolute beginner.
Number System & Binary Logics
Interview Questions and Answers
Bonus lectures on the "Basics of Embedded C programming"
Learn software:
Programming software - KEIL IDE
Simulation Software - PROTEUS
Program downloading software - FLASH Magic
Learn 8051 microcontroller interfacing with
LEDs
LCD
7 segments
Switches
Relays
Buzzer
DC motor
Stepper Motor
Analog to Digital Converter (ADC 0809)
Temperature Sensor LM35
Bluetooth Module HC-05
Learn 8051 microcontroller programming of
I/O Ports
Timer
Counter
Serial Communication (UART)
Interrupts
Project 1: Speed control of DC motor and LED dimming using Pulse Width Modulation (PWM) technique.
Project 2: Wireless control of LEDs using a Smartphone.
Note: use headphones/headset for better voice quality.
Course details:
This course is intended to give you complete details of the hardware and software requirements of 8051 microcontroller programming. This course will help you to understand the working of I/O ports, timers, counter, interrupt and serial communication (UART) in the microcontroller. You will be able to program the 8051 microcontroller using assembly and embedded c language. The course will explain the interfacing of LED, switch, LCD, and 7 segments with 8051 microcontrollers. This course will also help you to understand the process of burning the program into 8051 microcontroller and related terms hence will make you ready to create your own application project using 8051 microcontrollers. In the end, of course, you will be doing two application projects on 8051, one is a generation of PWM wave to control the speed of the DC motor and the second is wireless control of the device using your smartphone and 8051.
The course makes it so easy to learn 8051 microcontroller programming, you will be building and testing out your own programs in no time. The course is delivered in such a way that anyone who takes the course will have absolutely no problem in understanding all the topics discussed. This course is packed full of practical step-by-step examples so that you are coding 8051 from day one. The same practical example is discussed in both Embedded C and Assembly language.
I believe that doing practically without knowing the theory is half learning. Hence, In this course, he will cover all necessary theories related to 8051 before the practical session starts. I know your time is precious and hence delivers information straight to the point. The complexity of projects will gradually increase hence it is advised to watch videos the way they are arranged. In this course, all the features of basic 8051 microcontrollers are discussed. The code used in this course can run on any advanced 8051 microcontroller device. The number of timers, serial, interrupts, I/O ports and crystal frequency may vary depending on the microcontroller.
If anyone wants to learn microcontroller or microprocessor programming, one should start with 8051 microcontrollers because they are easy to understand and program. Knowledge of 8051 microcontroller programming with assembly language and embedded C language will make you future and you can learn any complex microcontroller and microprocessor very quickly.
Latest Updates:
19/07/2024: based on student demand added bonus lectures on the "Basics of Embedded C programming"
Course description and motivation.
This video explains the basic difference between microcontroller and microprocessor.
Where to use microcontroller ?
where to use microprocessor ?
Intel MCS 8051 microcontroller features.
Explains building blocks of 8051 microcontroller ?
Explain the operations of CPU, RAM, ROM and peripherals etc.
Explains the use of each pin in 8051 microcontroller.
Minimum connection required in 8051 microcontroller to work.
Explains the relation between crystal and operating frequency
explains what is mean by machine cycles?
Explains the need of pull up register and pull down register
Explains the working of Port P1 with internal port structure.
How to configure ports as input or output pin
Number System:
Decimal Number System
Binary Number System
Hexadecimal Number System
Logic Low and High
Gate working
AND
OR
Inverter
XOR
NAND
NOR
Procedure to install Keil software.
Proteus installation
Explains the working of C51 compiler
Learn about basic embedded c programming structure
Introduction to Keil software.
Explains the coding and debugging in Keil software
Led blinking code in embedded C language
Explanation: Why value is 113 for a 1-millisecond generation?
Answer:
Download the gif image file from this link. https://drive.google.com/open?...
In this, I have shown how you can see the " for loop " conversion into assembly language by C51 compiler of Keil software.
1 FOR LOOP iteration is made up of following instructions in assembly language
INC = 1 MC
CJNE = 2 MC
MOV = 1 MC
XRL = 1 MC
ORL =1 MC
JNZ = 2 MC
hence it takes 8 MC for the execution of 1 "for loop"
Note: 1MC = 1 machine cycle
for execution of 1 " for loop" iteration it takes approximately 8 machine cycles and you know that if my crystal oscillation frequency is 11.0592 MHz then 1mc = 1.085 us. so for execution of 1 iteration of for loop takes approximately 8 x 1.085 us = 8.68 us. therefor for 1 ms it will take (1ms / 8.68 us) = 115 iterations since outer "for loop" also takes some machine cycles to execute I took the approximate value as 113 iterations.
This video will help you to find answers to the following questions.
1. What is program burning?
2. How to dump code in .hex file into microcontroller flash memory?
3. What is Bootloader?
4. What is ISP?
5. What is microcontroller burner or programmer?
6. What is flash magic?
8. Tools required for burning process?
7.Step by step process of burning the program into the 8051 microcontroller?
You will learn the similarity in assembly language and Embedded C language coding.
Explains the working of A51 assembler
You will learn mnemonics, opcode and operand
You will learn RAM and ROM memory organisation, register banks, bit addressable memory, scratch pad area, stack memory and stack pointer
You will learn different registers in 8051.
A, B, R0-R7, DPTR, PC, SP, PSW etc
Construct of Assembly language, significance of symbols '@', '#', ';' .
Addressing modes
• Immediate
• Registe
• Direct
• Register indirect
• Indexed
You will learn working of ACALL, LCALL, AJMP, LJMP, SJMP, RET and DJNZ.
You will also how to obtain details of any assembly language instruction using Keil Software
8051 Instruction set in detail.
For even more detail visit: http://www.keil.com/support/man/docs/is51/is51_acall.htm
or Keil software -> Help -> uvision help -> expand 8051 Instruction set
Learn Assembler directives:
•ORG
•END
•EQU
•DB
Explains the basic calculations need to do to generate exact delay
Explains how LCD work
Display "Embedded Lab" on LCD srceen
Program Timer 0 in mode1 to generate delay using embedded C language
Program Timer 0 in mode 1 to generate delay using assembly language
Explains the working of counter.
Count number of times switch pressed and display count number on LCD.
Explains the working of serial in mode1
Explains how to transmit and receive data using serial communication
Explains INT0 external interrupt in level triggered mode
Explains INT0 external interrupt in edge triggered mode
Explains working of the common cathode and common anode types of 7 segment display
Common cathode type of 7 segment is used
Working of Buzzer and it's interface with 8051
Video explains the use of PWM in motor speed control and LED dimmer
Video explains how you can control remote device using Bluetooth HC-05 Module, This project can be extended to projects like home automation, mobile controlled robot etc.
Send data wirelessly from mobile to microcontroller to turn on and off the LEDs.
you will learn interface of Bluetooth Module HC-05 with 8051 micro-controller, installation of a mobile app to control LED on-off.
Learn bit masking operations
Learn bit extraction operations
Learn bit monitoring operations
These questions and answers will help you to prepare for Internship and Job interview.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.