two sensors with esp-01

5 years 6 months ago #2968 by mo3tazsame7
when connecting two digital o/p sensors to esp-01 ....... i want to send their data to anther esp-01 using lua ..... how can i differentiate between the input of two sensors when sending to the other one ??

Please Log in or Create an account to join the conversation.

5 years 6 months ago #2976 by ArneiO
Replied by ArneiO on topic two sensors with esp-01

mo3tazsame7 wrote: when connecting two digital o/p sensors to esp-01 ....... i want to send their data to anther esp-01 using lua ..... how can i differentiate between the input of two sensors when sending to the other one ??

if you use the cloud and MQTT, you publish the two parameters to separate topics at regular intervals. Then the other ESP-01 subscribe to those two topics.

Please Log in or Create an account to join the conversation.

Time to create page: 0.201 seconds