Embedded System's course project with a 8-bit C8051F020-DK
board connected to
a custom board via I²C protocol.
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
accelerometerLM76
thermometerMCCOG21605B6
display
- 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
Two media found searching trough old personal photos:
Photo of the two boards attached, early in development |
final_build.mp4
Short animation of one of the latest builds