Advertisement

Quick Links

ESP32LR88
User Manual v1.6
ESP32LR88
User Manual Version 1.6
Copyright
© 2021,
Devantech Ltd.
1
www.robot-electronics.co.uk
All rights reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32LR88 and is the answer not in the manual?

Questions and answers

Summary of Contents for Devantech ESP32LR88

  • Page 1 ESP32LR88 User Manual v1.6 ESP32LR88 User Manual Version 1.6 Copyright © 2021, Devantech Ltd. www.robot-electronics.co.uk All rights reserved.
  • Page 2: Table Of Contents

    GI Get Input............................11 AL Get All 8 inputs..........................11 Password..............................11 HTML Commands...........................12 Webpage..............................13 Schematics...............................14 CPU..............................14 Power Supply............................15 Relay Outputs............................16 Digital Input............................17 PCB dimensions............................18 Appendix 1...............................19 Programming the ESP32LR88 with Arduino studio................19 Notes................................25 Copyright © 2021, Devantech Ltd. www.robot-electronics.co.uk All rights reserved.
  • Page 3: Changes From V1.5 To V1.6

    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.
  • Page 4: Usb Configuration Commands

    ESP32LR88 User Manual v1.6 USB Configuration Commands ST Status. Return the system status Status: Firmware Version: 1.2 IP: 0.0.0.0 (192.168.0.48) Subnet: 255.255.255.0 Gateway: 192.168.0.1 Primary DNS: 192.168.0.1 Secondary DNS: 8.8.4.4 SSID: ******** Password: ******** ASCII TCP Port: 17126 RSSI: -62 MQTT Server: 192.168.0.121...
  • Page 5: Rb Reboot

    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.
  • Page 6: Sd Sets The Secondary Dns

    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~...
  • Page 7: Ap Sets The Ascii Password

    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...
  • Page 8: Mw Sets The Mqtt Password (V1.6+)

    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"...
  • Page 9: Tcp/Ip Commands

    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.
  • Page 10: Gi Get Input

    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...
  • Page 11: Html Commands

    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.
  • Page 12: Webpage

    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.
  • Page 13: Schematics

    ESP32LR88 User Manual v1.6 Schematics Copyright © 2021, Devantech Ltd. www.robot-electronics.co.uk All rights reserved.
  • Page 14: Power Supply

    ESP32LR88 User Manual v1.6 Power Supply Copyright © 2021, Devantech Ltd. www.robot-electronics.co.uk All rights reserved.
  • Page 15: Relay Outputs

    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.
  • Page 16: Digital Input

    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.
  • Page 17: Pcb Dimensions

    ESP32LR88 User Manual v1.6 PCB dimensions Copyright © 2021, Devantech Ltd. www.robot-electronics.co.uk All rights reserved.
  • Page 18: Programming The Esp32Lr88 With Arduino Studio

    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.
  • Page 20 ESP32LR88 User Manual v1.6 Step 3 – Install the ESP32 library Go to Tools>Board:>Boards Manager… Copyright © 2021, Devantech Ltd. www.robot-electronics.co.uk All rights reserved.
  • Page 21 ESP32LR88 User Manual v1.6 Now filter by “esp32” and install the Espressif Systems library Copyright © 2021, Devantech Ltd. www.robot-electronics.co.uk All rights reserved.
  • Page 22 ESP32LR88 User Manual v1.6 Step 4 – Board selection Go to Tools>Board:> and select ESP32 Dev Module Copyright © 2021, Devantech Ltd. www.robot-electronics.co.uk All rights reserved.
  • Page 23 Go to Tools>Manage Libraries… Filter by PubSubClient and select PubSubClient by Nick O’Leary, then press the install button That’s it! Your Arduino IDE should now be able to program the ESP32LR88 module. The factory https://github.com/devantech shipped code is available Here: Copyright ©...
  • Page 24: Notes

    ESP32LR88 User Manual v1.6 Notes Copyright © 2021, Devantech Ltd. www.robot-electronics.co.uk All rights reserved.

Table of Contents