Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Layup
#49884 Hi everyone, I've been looking at every post i can on this matter, and am having a difficult time digesting all of it because I'm new to all this. Any help would be appreciated.

I have two WeMos D1 R2's, and am trying to make it so that if one has a motion sensor that gets triggered, it quickly lets the other one know, which can then be used to turn on an LED, for example. I'm using the Arduino IDE.

I've come across this post: viewtopic.php?f=27&t=4080#p23577 which was generously posted by martinayotte, but I just continued getting "conection failed". He also appears to be usnig http, and as I understand, I'd want TCP for my purpose.

Is there a simple way for someone new to set up this kind of communication? If not, does anyone know a good place to learn more about it until I can do it on my own? There are some example sketches in the Arduino IDE, but it's unclear to me which ones I'd want to use.

Thanks everyone, I apologize for such a basic question