Arduino proximity alert

I want to do an Arduino mesh system for proximity alert. So basically I want it to work in this manner, let's say I have 3 Arduino/NodeMCU boards, when one of it moves away from the other 2, after a certain distance, all 3 Arduinos will trigger an action, this could be either through LED or Buzzer.

Any ideas or suggestions on how I could achieve this?

So far from what I have attempted, I can only do 1-to-1 using NodeMCU. So how I did it was, I programmed one to act an Access Point, while the other I programmed to connect to that specific access point. So by using the RSSI as the distance gets wider the RSSI will get lower and thus trigger an action.

But the issue now is that I can only achieve 1-to-1 and can only trigger action on one device. What I am trying to achieve is when one device is further away from the other 2, I want all 3 to trigger an action. Please shed enlightenment and guidance on this. Thank you.

I am not expecting an accurate distance to trigger, as long as it moves away a certain distance I want it to trigger.

You are almost there, You just have to make HTTP GET requests to share trigger between AP and clients.
There are plenty of tutorials online for ESP8266 Client-Server.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.