Sending sensor data to Cloud
Once wireless connectivity is established and an IP address is granted, your device will be ready to transmit data to the cloud. However, there may still be two situations to consider at this step:
- Normal situation: The MCU successfully connects to the cloud
- Abnormal situation: The MCU fails to connect to the cloud due to some reasons, such as incorrect registration credentials
Using https://mermaidchart.com, you can have a data flow diagram as shown in the following chart. The following prompt was used to generate the diagram:
Task: Imagine you're planning to develop a temperature sensor end-device for monitoring conditions in customer warehouses. This device includes a temperature sensor, an MCU, four distinct LEDs for various status indicators (temperature range, Wi-Fi access, AWS Cloud access, and system information), a buzzer, and an embedded Wi-Fi module. You are now focusing on the data arrivals at the Cloud, considering...