Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

The Triangle2manager sample application interacts with a SmartMesh IP mote. It drives the mote through the process of joining the network, and then periodically sends a 2-byte value (a triangle wave) to the SmartMesh IP manager.

The SmartMesh IP mote you connect to Arduino Due to need to operate in "slave" mode.

To see the data received by the SmartMesh IP manager, use the SmartMesh SDK SensorDataReceiver sample application:

  1. Connect your SmartMesh IP manager to your computer.
  2. On the computer, start the SensorDataReceiver sample application from the SmartMesh SDK, and connect that to the SmartMesh IP manager.
  3. Load the Triangle2manager.ino sketch onto your Arduino Due board.
  4. Reset the SmartMesh IP mote and open the Arduino Serial Monitor.
  5. On the monitor, you can follow how your SmartMesh IP mote joins the network.
  6. After the mote has joined, the slider on the SensorDataReceiver application is set to the value the mote periodically sends.
  7. The state machine implemented in the Triangle2manager.ino sketch gracefully handles the Arduino Due or SmartMesh IP mote being reset.

  • No labels