• 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: ESP32-S3 ESP32-S3 Development Board 1.47 inch LCD 1.47B Display 1.47inch Screen SD 172×320 RGB LED X1300 X1300-A2 Raspberry Pi 5 HDMI to CSI-2 Shield 1080P@60fps & Audio & Video Also Raspberry Pi 5 PCIE to MiniPCIe For wireless network WIFI Card USB Bluetooth ESP32-S3 AI 1.54-inch e-Paper Ink Screen 1.54inch Display AIoT Development Board Deepseek Raspberry Pi Pico 2 RP2350B 2.41 inch AMOLED Development Board QSPI Display TouchScreen 450x600 RM690BO FT6336 QMI8658 GC9A01 ESP32 Development Board WiFi+Bluetooth Ultra Low Power Dual Core ESP 32S ESP 32 Similar ESP8266 Raspberry Pi 18.5 inch Type C/HDMI/4K Display Screen 3840×2160 Computer PC Phone Xbox/PS4/Switch GC9107 Raspberry Pi 6.25 inch DSI Display MIPI LCD Capacitive TouchScreen 720x1560 Raspberry pi Pico development board RP2040 Core A Based On Official RP2040 Dual Core Processor RS232 to RS485 SpotPear Raspberry Pi 5 Audio Card Raspberry Pi ZERO Camera 0.96inch RGB OLED Raspberry Pi 5 PCIe to M.2 Mini NVMe SSD Board (E) With Customized Active Cooler Together Raspberry Pi 4B Arducam 64MP Camera