• 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 4/5 UPS Uninterruptible Power Supply HAT Lithium Battery Module Argon ONE V3 Case with FAN IR For Raspberry Pi 5 Pi5 Sipeed MaixCAM Pro AI Camera Kit SG2002 RISC-V YOLO OpenCV Audio WIFI6 Linux Board IMU MicroPhone Speaker Pi5 Pure- ESP32-S3 Industrial 8-Channel Controller with WiFi Bluetooth CAN IoT RS485 and RJ45 ETH POE Raspberry Pi 5 PD Power ESP32 S3 Development Board 1.47 inch LCD Touch Screen 1.47inch Display 172×320 SD AXS5106L JD9853 Raspberry Pi 5 PCIe to M.2 NVMe SSD Adapter Board C HAT Pi5-PCIe-2280-2242-2230 Raspberry Pi 21.5 inch Type C/HDMI Display Screen 1920x1080 Computer PC Phone Xbox/PS4/Switch 1.54inch LCD TouchScreen Display 240×240 ST7789S For Arduino /Raspberry Pi /ESP32 /Pico /STM32 Retail electronic Labe Servo PWM motor WP5320 WP5335 35/20KG.CM 180° PWM digital servo double ball bearings Raspberry Pi 5 PCIe to USB3 HUB Double 2.5G ETH RJ45 and M.2 NVMe SSD PI5 Expansion board HAT+ Jetson Nano Development Kit JETSON-NANO-DEV-KIT Replace For Jetson-Nano-Developer-Kit-B01 ESP32 C3 Round LCD Development Board Electronic EYE 0.71 inch Display Watch Screen GC9A01 160x160 ESP32 1.9 inch LCD Capacitive TouchScreen 1.9inch Display ST7789 170x320 for Arduino /Raspberry Pi /Pico JETSON-IO-BASE-A R7FA4 Plus A Board Based on R7FA4M1AB3CFM Compatible with Arduino UNO For R4 Minima RISC-V