ESP32SR88 User Manual v1.7 Table of Contents Changes from v1.5 to v1.6.........................4 Overview..............................4 Control Protocols............................4 WiFi................................4 Configuration.............................4 USB Configuration Commands.........................5 ST Status. Return the system status.......................5 RB ReBoot............................6 IP Sets the modules IP address......................6 SB Sets the SuBnet mask........................6 GW Sets the GateWay address......................6 PD Sets the Primary DNS........................6...
4. A built in webpage WiFi The ESP32SR88 connects via 2.4GHz WiFi to your network, therefore it must be located in a position where it gets a good WiFi signal. The module should not be enclosed in a metal box/cabinet as this will shield the WiFi signal.
ESP32SR88 User Manual v1.7 When the SSID and Password are setup, they will be displayed until the next reset, After that they will only show as ********. RB ReBoot. This will restart the module. It may produce a lot of random characters as the ESP32’s boot...
OK. Saved Secondary DNS: 8.8.4.4 SS This sets the SSID. The SSID is the public name of your WIFI network Enter your WIFI’s SSID here. SS “Devantech” OK. Saved SSID: Devantech PW Sets your networks WIFI password. PW "K]~kCZUV*UGA6SG~" OK. Saved Password: K]~kCZUV*UGA6SG~ PA Sets the TCP/IP port number for the ASCII commands.
ESP32SR88 User Manual v1.7 AP Sets the ASCII password AP “MySecretPassword” OK. Saved AsciiPassword: MySecretPassword” MS Sets the MQTT broker address MS “192.168.0.121” OK. Saved MQTT Server: 192.168.0.121 MD Sets the MQTT ID for this module MS “UniqueModuleName” OK. Saved MQTT ID: UniqueModuleName MP Sets the MQTT broker’s port.
ESP32SR88 User Manual v1.7 R1-R8 Sets the MQTT topic this relay is subscribed to. R3 "Workshop/Heater" OK. Saved Relay 3 Topic: Workshop/Heater In use, the payload for relay topics should be a string with the first character set to ‘0’ or ‘1’...
User Manual v1.7 TCP/IP Commands. The ESP32SR88 has a built in TCP/IP command set which allows you to control the module remotely. All commands are sent using plain ASCII text. PuTTY is a good cross platform terminal program to use for testing.
ESP32SR88 User Manual v1.7 GR Get Relay. Will return the state of the relay. To get the status of relay 6: GR 6 GR 6 GR 9 fail < relay 9 does not exist. Get Input. Will return the status of an input.
ESP32SR88 User Manual v1.7 HTML Commands. There are a set of HTML commands that can be used to control the module. ?Rly3=1This will turn on relay 3 ?Rly3=0This will turn off relay 3 ?Rly3=2This will toggle relay 3 to the opposite state.
ESP32SR88 User Manual v1.7 Webpage The built in webpage can be used as a remote app to monitor and control the relays. Your can access the page as a default with just the IP address or by specifying index.htm. The webpage contains the Javascript to send an HTML toggle command, as described in the previous section.
User Manual v1.7 Appendix 1 Programming the ESP32SR88 with Arduino studio Customising the ESP32SR88 can easily be achieved by using the Arduino studio and importing the required libraries. Step 1 – Arduino IDE installation Obtain and install the latest Arduino IDE from https://www.arduino.cc/en/Main/Software...
Page 20
ESP32SR88 User Manual v1.7 Step 2 – Add the ESP32 library URL to the Arduino IDE Go to File>Preferences Now in the Preferences screen below we need to enter https://dl.espressif.com/dl/package_esp32_index.json into the “Additional Board Manager URLs” option. If you already have libraries added you may need to add a comma between the URLs You can now click the OK button to finish with this screen.
Need help?
Do you have a question about the ESP32SR88 and is the answer not in the manual?
Questions and answers