Welcome to my 8051 microcontroller repository! This collection contains various programs and projects developed during the Embedded System Design Lab (ECL-322), along with additional ones for hands-on learning. The code covers fundamental concepts and practical implementations in both Assembly and Embedded C, offering a valuable resource for exploring 8051 microcontroller programming.
- Keil μVision: For writing, simulating, and debugging code.
- Proteus: For circuit simulation and hardware validation.
- Flash Magic: For burning hex files onto the 8051 microcontroller.
These tasks cover essential concepts in embedded system development, completed as part of the Embedded System Design Lab (ECL-322).
- exp1-6.pdf: Documentation for experiments 1 to 6.
- exp7-9.pdf: Documentation for experiments 7 to 9.
These projects extend beyond basic lab tasks, focusing on real-world applications and practical learning.
-
- Description: Demonstrates Analog-to-Digital Conversion (ADC).
- Includes: Assembly and Embedded C code, Proteus simulation files.
-
- Description: Basic LED blinking program.
- Includes: Code in Assembly and Embedded C.
-
- Description: Implements a counter (00 to 99) displayed on an LCD.
- Includes: Counter code in Assembly and Embedded C.
-
- Description: Bluetooth communication using the HC-05 module.
- Includes: Example code for interfacing and communication.
-
- Description: Demonstrates handling interrupts in 8051.
- Includes: Examples for edge-triggered and level-triggered interrupts.
-
- Description: Interfacing a 16x2 LCD with 8051.
- Includes: Code in both Assembly and Embedded C.
-
- Description: Pulse Width Modulation (PWM) implementation.
- Includes: Source code, startup file, and simulation files.
-
- Description: Serial communication (UART) implementation.
- Includes: Code for transmitting and receiving data.
-
- Description: Displays numbers on a 7-segment display.
- Includes: Code for interfacing 7-segment displays.
-
- Description: Control simple actuators like buzzers, motors, and relays.
- Includes: Separate subdirectories for each actuator.
-
- Description: Stepper motor control with different driving techniques.
- Includes: Full-step, half-step, and wave-step control code.
git clone https://github.com/Jjateen/8051.git
cd 8051- Import the
.cor.asmfiles into Keil μVision. - Compile and build the project to generate the hex file.
- Load the
.DSNfile into Proteus. - Link the generated hex file from Keil to the 8051 microcontroller component.
Use Flash Magic to burn the hex file onto your 8051 microcontroller.
If you find this repo helpful, do leave it with a ⭐.