Machine to Machine communication (Arduino Code)

Machine to Machine communication (Arduino Code)

Shrey Sharma

5 лет назад

8,911 Просмотров

This video demonstrates the example of machine to machine communication using Nodemcu. Here one Nodemcu is acting as a server and the other one is connected to it is acting as a client, here i connected a LED to the D2 pin of the server and also a DOOR SENSOR to the D2 pin of the client so whenever the door is opened the LED on the server glow and the server serially prints a message "Door opened" and when the door is closed the LED turns off and the server prints a message "Door closed".

Here is the Code for the Server Side Nodemcu :

https://docs.google.com/document/d/1jt_OICZd_PPDg4cqcsPd2ST-aKpvTQ5FQiGoKWOBtHU/edit?usp=sharing




Here is the code for Client Nodemcu :


https://docs.google.com/document/d/1vB9bJTxQ8QaaSHtvIjz-5V9fxJHYZ4nNyuUswBgyoFA/edit?usp=sharing

Тэги:

#M2M #machine_to_machine #arduino #nodemcu #client-server #internet_of_things #Iot #IoT #micro_controller #ece #automation #door_sensor #home_automation #machine_to_machine_communication #esp
Ссылки и html тэги не поддерживаются


Комментарии: