Hi there, I wonder if anyone can help provide some guidance.
I want to create some movement sensors. These need to send a signal from a remote building to a central building, but the distance is only about 20-30 metres. I already have mains power connection to the remote building, and ethernet provided by powerline adapter.
I just want a simple on/off flag for the remote sensor. I will be using a python script (probably on a raspberry pi) in the central building to monitor the state of the sensor(s).
Once I have proven the concept of the remote sensor with the Arduino I want to burn it into a ATMega328 so that I can create as many of the sensors as required.
- A remote relay switch
- HTTP Post
- Writing to a file on the raspberry pi
What would you recommend as a method to switch the flag state of the remote sensor? I want something as simple as possible with minimum code on the ATMega328.