This project leverages the STM32F103C8T6 Bluepill microcontroller and the libopencm3 library to create an advanced conveyor belt system with adjustable speed and height-based object detection.
With this PR we aim to use Systick interruptions to update our system periodically
Details
Before, everything was done inside a while loop in main.c and almost all delays were done with a for loop. Now, this has been optimized and our system is more efficient and precise by avoiding unnecessary work all the time.
In the process, by implementing systick interruptions, we noticed that now the speedometer can work without DMA interruptions, making this module more efficient too
Systick Implementation
Summary
With this PR we aim to use Systick interruptions to update our system periodically
Details
while loop
inmain.c
and almost all delays were done with afor loop
. Now, this has been optimized and our system is more efficient and precise by avoiding unnecessary work all the time.speedometer
can work without DMA interruptions, making this module more efficient too