Versions Compared

Key

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

...


Tip

By convention, let's connect:

  • the tilt sensor to GPIO digital_in/D0 (DC9003 pin DP2)
  • the reed switch to GPIO digital_in/D1 (DC9003 pin S_MOSI)


Start by building the following circuit:

Gliffy
namecircuit_digital_in


Through Node-RED, communicate with your mote to:

  • enable the digital input

  • enable “on-change” notifications

Verify that you see notifications with different values.

Wiring up the buzzer

Tip

By convention, let's connect the buzzer to GPIO digital_out/D4 (DC9003 pin I_MOSI)

Start by building the following circuit:

Gliffy
namecircuit_buzzer

 

Through APIExplorer, communicate with your mote to switch the buzzer on/off.