How renanaqn/iot_rtos works
Main Components
• IoT Device Core: Represent the Arduino (or similar microcontroller) as the base hardware running the sketches.
• RTOS (if applicable): Since the project is from an IoT course that mentions “IoT_RTOS” as its title, include an RTOS layer that manages tasks such as sensor readings, data processing, and network communications.
• External Services: Since MQTT usually involves an external broker, include an “MQTT Broker” node to show the external system that the device communicates with.
Relationships and Interactions
• A clear separation between local processing (the core firmware in the .ino files) and external communication (MQTT client sending and receiving messages).
• If applicable, denote any differences in the systems handling between the MQTT and non-MQTT versions (for example, a direct local action versus remote command processing).
Architectural Patterns and Design Principles
• Modular nature of IoT applications – different sketches represent variants or evolutions in functionality.
• When involving MQTT, reference the publish/subscribe pattern which is central to its architecture.
Relevant Technologies
• Hardware: Arduino/ESP boards (implied by .ino files).
• Communication: MQTT protocol (for the MQTT project) and possibly WiFi/Ethernet interfaces.
• Software: RTOS components (if used in the sketches, as implied by the project title “IoT_RTOS”).
• Optionally, add brief notes or legends linking each component to the corresponding .ino file examples (e.g., “ProjetoFinal_MQTT.ino – Demonstrates full IoT communication via MQTT”).
• Annotations if necessary to highlight design differences between practice exercises and the final projects.
Detailed Component Separation
• Hardware Layer: Microcontroller board, sensors, actuators, and communication modules.
• Software/Firmware Layer: The main Arduino sketch code, RTOS scheduling (if used), and protocol-handling modules.
• Network/Cloud Layer: Represent external MQTT broker and any data processing or storage that might be envisioned as part of the IoT system.