____________
| |
| N |
| O Rx2|<------Tx EnergyMeter(Returns value based on command)
| D Tx2|------>Rx EnergyMeter(Receive command)
| E |
| |
| M Rx1|<------Tx Gsm(For MQTT)
| C Tx1|------>Rx Gsm(For MQTT)
| U |
| |
-----------
I am trying to connect Gsm module and energy meter with my Nodemcu as shown in the diagram. Although it is possible by Arduino coding but I want to do it using lua only.
In case of lua scripting, if I use "uart.alt()" this function, and click on "Save to Esp", then at the line of "uart.alt()", saving process jumps to different usart and code doesnot completely save in to ESP.
Soo what is the efficient way of usinng multiple usart in nodemcu (something similar to software serial in arduino)?
I am using
Nodemcu model : ESP8266
Nodemcu Version : 3
& NodeMCU custom build by frightanic.com branch: 1.5.4.1-fina
I am not getting any perfect example which matching to my requirement. So, please give me a perfect documentation or example on this issue.
Thank You.