Skip to main content

Using the SMS-controlled relay module

1. Setup​

  • Remove the cover and insert a 4G SIM card into the socket on the board.
  • Supply 12–24 V power.
  • Check that the LED on the SIM module blinks. If it does not, check the SIM module supply across VCC and GND and the 4 V supply at C7 on the board.
  • Wait about 10–15 seconds, then use the SMS commands below.

2. SMS commands for the six-channel relay module​

Turn relays on or off and receive a status reply: Bxxx or Txxx​

Replace xxx with the relay channel numbers. Send Bxxx to turn those channels on. For example, B123 turns on relays 1, 2, and 3. The module replies with the relay channel status.

Example: B123456

SMS reply after turning on relays

Send Txxx to turn the specified channels off. For example, T123 turns off relays 1, 2, and 3. The module replies with the relay channel status.

Example: T123456

SMS reply after turning off relays

Turn relays on or off without a status reply: bxxx or txxx​

These lowercase commands control the same relay channels without requesting a status reply. Send b123 to turn on relays 1, 2, and 3, or t123 to turn them off.

Check LTE signal strength: CSQ​

Send CSQ to request the LTE signal strength when you suspect a weak cellular signal.

SMS response showing signal strength