MODULES / 08 · DART & FLUTTER
Internet of Things
Prerequisites
Module 4 and basic messaging and connection concepts.
Learning objectives
Understand protocols, serialization, connection state and the boundary between simulation and hardware.
Suggested activity
Explore a documented MQTT or Bluetooth workflow. Start with a simulated transport and only test hardware when its specific requirements are met.
Bluetooth and Arduino require a compatible platform and equipment. The old Twilio/SMS topic has no linked tutorial here and does not authorize sending messages. Use the current version of the chosen repository, synthetic data and its documented validation steps. Record the environment and distinguish real execution, emulation and a local demonstration. These activities are proposals for your own study repository.
Suggested reading
A Guerra das Arquiteturas: discuss responsibilities across the application, transport and device.
Books & sitesCase studies and references
Labs for this module
These activities connect each laboratory to the lesson. Integration suggestions are adaptations for your own project.
Fuzzy Engine
Explore the simulated inputs of a documented fuzzy controller and observe rule activation before planning a sensor integration.
What to check: Record two input combinations and their corresponding decision, identifying the experiment as a simulation rather than validation of real sensors.
Steering Engine
Compare arriving and avoidance movement in the 2D simulation and describe how a high-level command differs from an MQTT or Bluetooth message.
What to check: Define the boundary between behavior and transport and list the tests that would still require a physical robot and radio.
05 / EXERCISES
Exercises
- 01
Messages
Objective: Define a command contract.
Completion criteria: Document the unit, range and rejection of invalid messages.
- 02
Connections
Objective: Represent disconnection and reconnection.
Completion criteria: Demonstrate transitions in a test without claiming a connection that does not exist.
- 03
Simulation
Objective: Replace the transport.
Completion criteria: Run a command in a hardware-free test and label that execution mode.
- 04
Limits
Objective: Handle commands outside the allowed range or without authorization.
Completion criteria: Demonstrate rejection at the relevant boundary in a test.
- 05
Platforms
Objective: Document a run.
Completion criteria: List the equipment, operating system and protocol actually tested, without treating a web test as proof of real radio operation.