Hi.
Im desperately looking for some help, I have a ESP8266-01 with a dual Relay module.
I communicate with the relays via serial commands.
The relay board has two buttons on it (S1 and S2), as well as 4 LED's (D4,D5,D6,D7).
I would like to know if it is possible to receive the serial cammands for these. I have done alot of searching online and cannot come up with anything.
Please help
do you have a link to a site with a description of that module?
this is the link to the module.
They explain the Relays but i was wondering about the LED's and buttons
http://www.chinalctech.com/xwzx/24.html
That module makes use of some kind of firmware uploaded to the ESP-01, but the documentation is rather sketchy (and for sure incorrect at some point "ESP-01 WIFI module and 8 bit high performance MCU,' The ESP8266 is a 32-bit MCU !
Well your guess is as good as mine. It all depends on the uploaded firmware. (for which documentation is lacking)
Furthermore i would like to add that there is no level shifting for the RX pin on the ESP, which will possibly damage it at some point (this is just from looking at the traces on the back of the PCB.)
All in all i would not use the module the way you do. The ESP is a 3.3v device and although some tolerance is there for higher voltage logic levels, chances are the ESP will break.
The ESP-01 can be programmed quite easily to perform all sorts of tasks, and probably the LED's can be accessed in some way if you know in what way they are connected to the GPIO pins, but also then there must be some kind of port expander on the board, THE ESP-01 only has 4 GPIO pins exposed, 2 of which are already in use for UART communication, which only leaves 2. With 2 Relays and some LED's that doesn't quite add up. So you would need to work out how these parts are controlled.
OK so when i downloaded the zip from that site it contained information about the 2nd MCU the STM8, still this is a rather complex enterprise. The schematic shows how the LEDS & relays are connected, but again not the firmware that is loaded onto it, and although the documentation suggests that the ESP is loaded with the standard AT commands, i doubt this is actually the case, but that can be verified by sending the version info command.
Thank you so much, I really appreciate your assistance in this.
it is a great module to use but im really struggling with the above, it wouldnt be an issue if I could get hold of the GPIO pins through the module. from what I understand, they are not used by the serial, I havent defined to use them
It is all rather hopeless without the firmware source code(s). This module can be used as intended but not beyond that.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.