Go Down

Topic: Using MQTT as the wireless communication with Arduino Robot (Read 278 times) previous topic - next topic

Sin2

Hi. I plan to use the MQTT as the wireless communication with Arduino Robot with the ESP8266 components. The signals will be sent from the node-RED to the ESP8266 using MQTT and the Arduino Robot will receive the signals from the ESP8266.
Link of Arduino Robot: https://www.arduino.cc/en/Guide/Robot
Will this flow works? Can anyone give me some suggestion? Thank you.

PaulS

Quote
Will this flow works?
For some definition of work, yes.

Having something publish a message, and having the Arduino subscribe to it, will cause a huge lag between when the message is published and when the subscriber(s) know about it.

If you can live with the lag, then go ahead. If not, MQTT and publishing and subscribing are NOT in your future.

TurnLeft is not the kind of message where any delay is tolerable, in my opinion.
The art of getting good answers lies in asking good questions.

Go Up