Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Gliffy
imageAttachmentIdatt1619132442
macroId5f3d96a7-94d3-4ac5-8e05-1db8385751d5
baseUrlhttps://dustcloud.atlassian.net/wiki
namemqtt_loop
diagramAttachmentIdatt1619132437
containerId415989854
timestamp16197380278031619739135494
  • list the MAC addresses of the motes you have which can act as :

    • a sensor

      • temperature sensor

      • jumper wire to act as a switch

    • an actuator

      • an LED that can be switched on

      • a buzzer

...

Answer 2:

  • create a first flow which subscribed to all notifications with topic dustacademy/#

Tip

In MQTT, # is the wildcard: subscribing to dustacademy/# means you receive all messages published to dustacademy/foo and dustacademy/bar (and to dustacademy itself)

  • create a second flow which publishes all "oap" notifications onto the MQTT broker, using MQTT topic dustacademy

  • Draw your flow, indicating the configuration details of the nodes in your flow (including any code):

...

  • once everyone is done, make sure you can see data from all motes appearing on the MQTT broker

  • modify your second flow to publish on topic dustacademy/<mac> where <mac> is your MAC address

  • what code did you use?

Answer 4:

  • create a second third flow which prints the temperature of the temperature mote the instructor assigned you

  • Describe what you did:

    Info
    iconfalse
    titleAnswer 3:



  • Modify that flow such that the LED of your LED mote switch on/off depending on the temperature:

    Tip

    When you are done, call you instructor and give a demo.


  • Describe your solution:

    Info
    iconfalse
    titleAnswer 4: