Skip to content

Embedded System's course project with a 8-bit C8051F020-DK board connected via I2C protocol with a custom board.

License

Notifications You must be signed in to change notification settings

meliurwen/embedded-C8051

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Embedded C8051

Embedded System's course project with a 8-bit C8051F020-DK board connected to a custom board via I²C protocol.

Requirements

Notice: Unfortunately the compiler is proprietary and the free limited version is walled behind a registration form, so good luck getting it.

  • Silicon Labs IDE
  • Keil® PK51 Developer’s Kit - contains the 8051's C compliler, linker and assembler.
  • C8051F020-DK board
  • Custom board built in-house at UniMiB, connected to the C0 port via I²C protocol, with the following components:
    • MMA7660 accelerometer
    • LM76 thermometer
    • MCCOG21605B6 display

Functionalities

  • Inclination sampling on the 3 axis form the accelerometer every 100ms
    • Last 8 samples stored in a buffer
  • Temperature sampling every 1000ms
  • Display udpated every 300ms showing:
    • 3-axis inclination (signals smoothed calculating the mean of the buffered samples)
    • Temperature
  • Depending on how the P3.7 button is pressed it is possible to:
    • Quick press: display backlight on/off
    • Long press (more than 1s): backlight regulation mode; the display brightness starts to "breathe" until the pressure on the button is released

Media

Two media found searching trough old personal photos:

Early in development
Photo of the two boards attached, early in development
final_build.mp4

Short animation of one of the latest builds

Sources

About

Embedded System's course project with a 8-bit C8051F020-DK board connected via I2C protocol with a custom board.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages