State machine design for sd card detection and logging

Thread Starter

priombiswas22

Joined Oct 1, 2021
1
I am trying to design a state machine for the logging sensor which has the following scenario :

Bootloader will send the signal whether a sd card is valid or invalid. If logging sensor receives valid signal, and there are error messages present, sensor will write the data to sd card and notifies the systemcontroller that the sd card is in write mode. If sd card is invalid, logging sensor notifies the systemcontroller that there is problem with the sd card. Here, bootloader, systemcontroller and datalogging controller are individual software components. Bootloader and systemcontroller software component will be deployed in controlboard and datalogging software component will be deployed in logging sensor.

I have designed the state diagram for logging sensor using UML:


Log-data.png

Is the diagram valid or I am missing something?
 
Top