EmbeddedC

The C language as used for firmware on microcontrollers, working close to the hardware under tight resource limits.

2 projects using EmbeddedC

Simulating a SENT slave device on an microcontroller

The project focused on simulating a SENT (Single Edge Nibble Transmission) slave device using an STM32 microcontroller. As SENT slave interfaces are a very rarely occuring resource in MCUs, the project uses the STM32s timer hardware in combination with the DMA and a custom software stack to generate the signal a SENT slave would produce. The stack was build modular to be able to easily simulate different device types as well as to test different data rates. This flexible setup also allows for error injection in different phases of the communication to test the robustness of a SENT master implementation. The project is used as a test tool for SENT master implementations in the automotive domain.

Timeframe: 2023
 at Protos
Nature: Professional

High school project: Flight data logger

Final seminar course project during high school: Design and implementation of a small flight data logger for model rockets. During the project I and my teammate designed and manufactured a small PCB with an ATmega mikrocontroller, an accelerometer, a barometric pressure sensor and an SD-Card. We implemented the firmware in Embedded C and wrote a small java application to visualize the recorded data. Even though the PCB was never added to a rocket its functionality was demonstrated successfully demonstrated by strapping it to a bicycle going up and downhill.

Timeframe: 2008
Nature: Educational