This repository serves as a collection of projects done during my Year 2 Polytechnic module on 8051 microcontrollers (EG2953 2017 S1). The syllabus uses the Silicon Labs C8051F2xx microcontroller family. A custom board is used with the C8051F226 chip and some additional hardware.
- Silicon Laboratories IDE
- Keil C51 Compiler (ANSI C)
Name | Done on | Category | Hardware |
---|---|---|---|
Lab 1: Introduction | 2017-04-18 | Digital I/O | LED, Push Button |
Lab 4: Exercise 1 | 2017-05-09 | Digital I/O | LED |
Lab 4: Exercise 2 | 2017-05-09 | Digital I/O | LED |
Lab 5: Exercise 1, 2 and 3 | 2017-05-16 | Interfacing | Single 7-segment display |
Lab 6: Exercise 1 | 2017-05-16 | Interfacing | 4-digit 7-segment display, BCD to 7-segment decoder |
Lab 6: Exercise 2 | 2017-05-16 | Multiplexing | 4-digit 7-segment display, BCD to 7-segment decoder |
Lab 7: Exercise 1 | 2017-05-23 | Interfacing | Single 7-segment display, Push Button |
Lab 7: Exercise 2 | 2017-05-23 | Interfacing | Single 7-segment display, 4x4 keypad with decoder |
Lab 8: Exercise 1 | 2017-07-04 | Timers | 4-digit 7-segment display, Push Button |
Lab 9: Exercise 1 | 2017-07-11 | UART | MAX3223 Serial Line Driver |
Lab 10: Exercise 1 and 2 | 2017-07-18 | Interfacing, UART | HD44780 LCD display, MAX3223 Serial Line Driver |
Lab 11: Exercise 1 | 2017-07-25 | Interrupt | LED, Push Button |
Lab 11: Exercise 2 | 2017-07-25 | Interrupt, UART | MAX3223 Serial Line Driver |
Name | Done on | Category | Hardware |
---|---|---|---|
Lab 4: Bonus 1 | 2017-05-09 | Bit Manipulation | LED |
Lab 7: Bonus 1 | 2017-05-23 | Interfacing | LED, 4x4 keypad with decoder |
Lab 11: Bonus 1 - (Software PWM) | 2017-07-25 | PWM, Timers, Interrupt | LED |
Note:
- Lab 2 and 3 were lessons on bitwise operations in standard C programming. Hence, they were not included.
Datasheet:
- Datasheets are found in the the
./datasheet
folder.
To compile:
- Add all files in the
./dependencies
folder, along with the desired code file.