Рет қаралды 790
Here is a description of how to make two Raspberry Pi Pico systems with an attached LORA WAN module to communicate wirelessly over huge distances. These are configured to operate peer to peer so they don't need to connect to the Lora Wan Network. One device is attached to my front gate and it can communicate with a device 300m away in my house.
When the gate is opened it sends a JSON formatted text message to the house device that logs the event and plays a door bell style tone.
A LED on the house end device flashes a number of times to indicate how many times the gate has been opened and a web page publishes to the internal WIFI network a log of when the most recent events occurred. Other status information is also available on the web page.
Here is a link to all the software that I have made to make the system work.
The majority I have written my self. Other drivers and device specific code is included with credit to the people who created them.
github.com/pol...
Here is a link to the hardware I have used in the project and where you can find them. I'm not associated with this company but they are a nice bunch of people and I have no problem recommending them to anyone.
core-electroni...
Let me know if you have any questions or if you are planning to build this fun little project.