Chalmers embedded systems project (DAT290), team of six
An alarm system on a CAN bus
A home alarm built on STM32F407 microcontroller boards. A central unit and separate sensor nodes, one for the door and one for motion, talk over a CAN bus, with the central unit in charge. Written in bare-metal C.
Built with: C, STM32F407, CAN bus, HMAC
What I did
- The central unit's keypad and user interface in C: three files, 595 of the group's lines.
- The group's administrative documents: meeting notes, the Gantt chart and the work schedule.
What teammates built
The CAN messaging library and the message signing (HMAC-SHA1) are teammates' code, and I do not claim them.
Why sign the messages
The group protected against replayed messages by signing each message with HMAC.
What I cannot show
The code belongs to the course group and is not public, so there is no repository to link. I am happy to walk through my part in an interview.