4. A built in webpage WiFi The ESP32LR88 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.
ESP32LR88 User Manual v1.6 RB ReBoot This will restart the module. It may produce a lot of random characters as the ESP32’s boot logging runs at a different baud rate. If it succeeds in connecting to your network it will report the IP address.
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~...
ESP32LR88 User Manual v1.6 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...
ESP32LR88 User Manual v1.6 MW Sets the MQTT password (V1.6+) This is for MQTT brokers that are setup to require a username and password. MW “mySuperSecretPassword” OK. Saved MQTT Password: mySuperSecretPassword R1-R8 Sets the MQTT topic this relay is subscribed to R3 "Workshop/Heater"...
ESP32LR88 User Manual v1.6 TCP/IP Commands The ESP32LR88 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.
ESP32LR88 User Manual v1.6 Get Input Will return the status of an input. GI 2 Input 2 is low (Green Led is on) GI 2 Input 2 is high (Green Led is off) GI 9 fail Only 8 inputs available...
ESP32LR88 User Manual v1.6 HTML Commands There are a set of HTML commands that can be used to control the module. ?Rly3=1 This will turn on relay 3 ?Rly3=0 This will turn off relay 3 ?Rly3=2 This will toggle relay 3 to the opposite state.
ESP32LR88 User Manual v1.6 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.
ESP32LR88 User Manual v1.6 Relay Outputs 1 of 8 identical circuits shown The relays are capable of switching up to 16 Amps at 24vdc or 230vac. A data sheet of the relay can be found here. Only the normally open (N/O) contact has the snubber circuitry.
ESP32LR88 User Manual v1.6 Digital Input 1 of 8 identical circuits shown Digital Inputs have a pull-up resistor to 3.3v and will operate with a simple contact closure to ground. Alternatively, they may be connected to 3.3v logic. The clamping diodes prevent operation at voltages higher than 3.3v, so don’t connect to 5v logic.
User Manual v1.6 Appendix 1 Programming the ESP32LR88 with Arduino studio Customising the ESP32LR88 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 19
ESP32LR88 User Manual v1.6 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 ESP32LR88 and is the answer not in the manual?
Questions and answers