Hello dear forum user
The best way to start a project is to draw a block diagram.
This block diagram can be used to identify the physical and logical properties of the interfaces used.
The next step is to design a circuit diagram and a basic software framework with basic functions such as timers and I/O handling.