Distance Measurer based on SpartanMC (Embedded C Development)
Developed the embedded firmware in C for a distance measurement system built on a SpartanMC-based SoC, integrating an OLED display (SPI) and an ultrasonic sensor SRF02 (I2C). Wrote the communication protocol for both peripherals, controlling and triggering the relevant hardware registers to initiate measurements and retrieve results from the ultrasonic sensor. Implemented filtering to remove faulty readings, then displayed the final distance values on the OLED display. Later optimized the design by replacing polling-based waiting with an interrupt-driven state machine, reducing unnecessary processor load during I2C communication