ESP32-S3-RS485-CAN-Bluetooth

From Waveshare Wiki
Jump to: navigation, search

Bluetooth Control

Connect the ESP32-S3-RS485-CAN device using the Bluetooth debugging assistant on your mobile phone, and send data to ESP32-S3-RS485-CAN to enable the device to send IP through Bluetooth. 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 Command (Hex) Command Function
0x0A 0x0D Enable device to send IP via Bluetooth

Software Operation (View IP)

  • Use the Bluetooth debugging assistant nRF Connect on your phone to obtain device IP (other Bluetooth debugging assistants can also be used)
  • Below we use nRF Connect for functionality demonstration
  • Connect the Bluetooth device named ESP32 S3 RS485 CAN

ESP32-S3-RS485-CAN-TO-WIKI-Bluetooth-1.jpg

  • Connection successful, select Unknown Service, click to send data, enter 0x0A 0x0D as follows, click the Send button

ESP32-S3-RS485-CAN-TO-WIKI-Bluetooth-2.png

  • Then select Unknown Service, click to read data, if the WIFI connection fails for a long time, this click operation will have no response
  • In the case of successful WIFI connection, the device IP will be received, as follows, the device IP is 192.168.6.133

ESP32-S3-RS485-CAN-TO-WIKI-Bluetooth-3.png