Skip to content
C8051F226: Projects done during my Year 2 Polytechnic module on 8051 microcontrollers.
C
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
datasheet Cleanup README and additional resources Jul 29, 2017
dependencies Cleanup README and additional resources Jul 29, 2017
projects Add lab work after mid-semester break Jul 29, 2017
README.md Cleanup README and additional resources Jul 29, 2017

README.md

C8051F266 Learning Projects

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.

Software

  • Silicon Laboratories IDE
  • Keil C51 Compiler (ANSI C)

Lab Exercises

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

My Own Projects

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:

To compile:

  • Add all files in the ./dependencies folder, along with the desired code file.
You can’t perform that action at this time.