Devantech ESP32SR88 Manual de usuario

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
SB 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
SD Sets the Secondary DNS.................................................................................................................7
SS This sets the SSID............................................................................................................................7
PW Sets your networks WIFI password................................................................................................7
PA Sets the TCP/IP port number for the ASCII commands..................................................................7
MS Sets the MQTT broker address.......................................................................................................7
MD Sets the MQTT ID for this module................................................................................................7
MP Sets the MQTT broker’s port..........................................................................................................8
M Sets the MQTT user name (V1.6+)................................................................................................8
MW Sets the MQTT password (V1.6+)................................................................................................8
R1-R8 Sets the MQTT topic this relay is subscribed to........................................................................9
N1-N8 Sets the MQTT topic this Input will publish to.........................................................................9
TCP/IP Commands...................................................................................................................................10
SR Set Relay........................................................................................................................................10
GR Get Relay.......................................................................................................................................11
GI Get Input.........................................................................................................................................11
AL Get All 8 inputs..............................................................................................................................11
HTML Commands...................................................................................................................................12
Webpage...................................................................................................................................................13
Schematics...............................................................................................................................................14
CP .....................................................................................................................................................14
Power Supply......................................................................................................................................15
Relay Outputs......................................................................................................................................16
Digital Inputs.......................................................................................................................................17
PCB dimensions.......................................................................................................................................18
Appendix 1...............................................................................................................................................19
Programming the ESP32LRXX with Arduino studio.........................................................................19
Notes........................................................................................................................................................25
www.robot-electronics.co.uk 2

ESP32SR88 User Manual v1.7
Changes from v1.6 to v1.7
Added escape char \ so that double quote (") can be included in passwords.
Overview
The ESP32SR88 is a WIFI connected relay module using the popular ESP32.
It provides eight optically isolated inputs and eight volt free contact relay outputs with a current rating
of up to 1Amp each.
Power for the board is 12v dc, which can be provided by a standard universal wall power supply. A 1A
or greater supply should be selected.
Control Proto ols
1. Simple plain text commands sent to the module.
2. HTML commands
3. MQTT
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.
You can check the signal level by looking at the RSSI figure which is reported by the ST (STatus)
command.
Configuration
The ESP32SR88 is configured by connecting a SB cable to your PC and running a terminal program,
PuTTY is a good option if you don’t have any other preferences.
The serial port should be set to 115200 baud, 8 bit, 1 stop, no parity, no flow control.
www.robot-electronics.co.uk 3

ESP32SR88 User Manual v1.7
USB Configuration Commands
ST Status. Return the system status
!"
#$%"
&'"()*+,+-
!."//////
0%")*+
'$1!")*+
!1!"++,,
!!&"22222222
'%"22222222
!&&3''"*
4!!&"5*
633!")*+
633'"++7
633&"8!'
633"$$
633'%"22222222
43"43
43"43
473"473
4,3"4,3
4/3"4/3
4*3"4*3
43"43
4+3"4+3
&3"$1%93
&3"$1%93:
&73"173
&,3"1,3
&/3"1/3
&*3"1*3
&3"13
&+3"1+3
;&'$&'..
%<='&&'.
www.robot-electronics.co.uk 4

ESP32SR88 User Manual v1.7
;!!&'%%.> ?
%%22222222
RB ReBoot.
3%$&$?$ 8!'7@.
A.&? %<%&'
45:
崳BBBBBBBBCDCCCBBBBB/-/-BBBB.BBBBBBBB奅CBB2EBFBBBBBBBCCCB/ B6BBBBB
;#
&'"
)*+*
IP Sets the modules IP address.
8&'?%.G&'8$&'%.
.?$%<='3%&'%<A? >5
.
&'H)*+7I
JK!&' ")*+7
SB Sets the SuBnet mask.
!:H//////I
JK!!.<"//////
GW Sets the GateWay address.
3$&'?
0;H)*+I
JK!0% ")*+
www.robot-electronics.co.uk 5

ESP32SR88 User Manual v1.7
PD Sets the Primary DNS.
3.&'?%%&!'1! F
?1!++++?01!
'H)*+I
JK!'$1!")*+
SD Sets the Se ondary DNS.
3.&'?%% &!'1! F
?1!++,,?01!
!H++,,I
JK!!1!"++,,
SS This sets the SSID.
3!!&.$?;&#&%<8;&#&@!!&
!!HI
JK!!!&"
PW Sets your networks WIFI password.
';LKMN<O20 *!0NL
JK!'%"KMN<O20 *!0N
PA Sets the TCP/IP port number for the ASCII ommands.
' *
JK! !&&$."*
www.robot-electronics.co.uk 6

ESP32SR88 User Manual v1.7
AP Sets the ASCII password
AP “MySecretPassword”
OK. Saved AsciiPassword: MySecretPassword”
MS Sets the MQTT broker address
!H)*+I
JK!633!")*+
MD Sets the MQTT ID for this module
!HG1$I
JK!633&"G1$
MP Sets the MQTT broker’s port.
1$.++7
$++7
JK!633$."++7
&?6333%A633%%
?633.<
MU Sets the MQTT user name (V1.6+)
3?633.<G$%#633.<
G$9%$.
H$$I
JK!633"$$
www.robot-electronics.co.uk 7

ESP32SR88 User Manual v1.7
R1-R8 Sets the MQTT topi this relay is subs ribed to.
47L;<9=L
JK!473";<9=
&?.%PQ@Q@
( !&&>79>7-
N1-N8 Sets the MQTT topi this Input will publish to.
1L;<9=L
JK!&3";<9=
3?%PQ@?
Q@?( !&&>79>7-
www.robot-electronics.co.uk 9

ESP32SR88 User Manual v1.7
TCP/IP Commands.
38!'7!4++.3'9&'$$%%$$
$$ !&&>'33F?$$$?
33'9&'5%' $$!:P
+?=3$$;.
SR Set Relay.
3A
34"
!4
3P$.$.?$+
3$.A
!A"
!4
3$$%%<?
!4
<
!4*
? R*?9A
!4)
? R)>
www.robot-electronics.co.uk 10
Tabla de contenidos
Otros manuales de Relé de Devantech

Devantech
Devantech ESP32LR42 Manual de usuario

Devantech
Devantech dS2832 Manual de usuario

Devantech
Devantech dS378 Manual de usuario

Devantech
Devantech dS3484 Manual de usuario

Devantech
Devantech dS2824 Manual de usuario

Devantech
Devantech dS2824 Manual de usuario

Devantech
Devantech tcp184 Manual de usuario

Devantech
Devantech ESP32LR20 Manual de usuario

Devantech
Devantech ESP32LR88 Manual de usuario

Devantech
Devantech ETH8020 Guía



















