• sales

    +86-0755-88291180

Bluetooth Control Tutorial

Bluetooth Control

Connect the ESP32-S3-POE-ETH-8DI-8RO device using the Bluetooth debugging assistant on your mobile phone, and send data to ESP32-S3-POE-ETH-8DI-8RO to control the opening and closing of each relay. Please note: Some Bluetooth debugging assistants send data in ASCII format by default, and you need to enter the correct control instructions according to the Bluetooth debugging assistant before controlling the device.

Operation CommandCommand Function
ASCIIHex
10x31Switch the state of CH1 relay
20x32Switch the state of CH2 relay
30x33Switch the state of CH3 relay
40x34Switch the state of CH4 relay
50x35Switch the state of CH5 relay
60x36Switch the state of CH6 relay
70x37Switch the state of CH7 relay
80x38Switch the state of CH8 relay
90x39Turn on all relays
00x30Turn off all relays

Softwares Operation (View IP)

  • Use the Bluetooth debugging assistant nRF Connect on your phone for relay control (other Bluetooth debugging assistants can also be used)
  • Below we use nRF Connect for functionality demonstration
  • Connect the Bluetooth device named ESP32-S3-POE-ETH-8DI-8RO


  • When the connection is successful, select Unknown Service, click to read data, if the WIFI connection fails for a long time, the RGB will always light up red, and this click operation will not produce any response
  • In the case of successful WIFI connection, the device IP will be received, as follows, the device IP is 192.168.6.133


  • The commands for Bluetooth control relay are characters 0~9, which are hexadecimal 0x30 ~ 0x39
  • Click the SEND button and fill in the data to be sent (currently hexadecimal sending), enter 0x31 as below


  • Send 0x31 to control relay CH1 for status reversal


  • Send 0x38 to control relay CH8 for status reversal


TAG: Raspberry Pi 5 Argon-NEO-M.2-NVME-PCIE-Expansion-Board Only For Argon NEO 5 Case (Not include) Raspberry Pi display Raspberry Pi Pico development board 1.47 inch LCD AXS5106L TouchScreen JD9853 Display 172x320 For Arduino/Raspberry Pi/Pico/ESP32 Omni-Directional Lidar Raspberry Pi 3.5 inch DSI Display MIPI LCD (E) Capacitive TouchScreen 640x480 Raspberry Pi LCD 1.5inch LCD Raspberry Pi Pico 2 RP2350 ETH CH9120 TCP/UDP Ethernet Network For Arduino ESP32 Development Board C3 1.28 inch Round Rotary LCD Smart Screen 1.28inch Knob Display 240x240 LVGL for Arduino Raspberry Pi 7.5 inch e-Paper link (H) RYBW 800x480 For Arduino / Jetson Nano / STM32 ESP32 S3 4.3inch LCD (B) 800x480 Captive TouchScreen Display Board LVGL with Sensor CAN I2C RS485 MPTPU Raspberry Pi 5 TPU AI Kit 2TOPS PCIe to TPU HAT Pi5 For Google Coral Edge TPU Modbus RTU Relay 32CH 2.13inch e Paper HAT+ Black-White 250x122 E-Ink For Raspberry Pi /Jetson Nano /Sunrise X3 Pi /Pwnago Jetson Nano 5G module ESP32 S3 Development Board 4.3 inch LCD Capacitive Touch Screen 4.3inch Display 480×272 N16R8 Raspberry Pi IR Thermal Imaging Camera Magnetic Encoder Servo Motor 45KG.CM 24V 360° RS485 High Precision And Large Torque