The mAInZaun-Project is aiming on extending existing fence by using adaptive deterrents to scare away predators.
This part implements a simple protocol for the sensors and actuators: How can the deterrents be activated wirelessly if a predator is detected?
For that, we created our own, hand-crafted protocol using LoRa. The main packet formats are described in the file packets.md in this directory.
The complete stack is written in Micropython and using Heltec WiFi LoRa 32 v2 nodes. A migration to Heltec WiFi LoRa 32 v3 is planned in this issue.
Programming is done in Visual Studio Code using the pymakr-plugin. If you are getting an error while running the pymakr-plugin: Make sure you have installed NodeJS!
The idea is to have a box for the management of the complete (LoRa) system. It should have a touchscreen and basic interface for changing parameters like beaconing intervals or reading out the battery state.
Collection of all relevant datasheets
Contains the schematics as KICad files -- currently mainly the ones for the actuator boxes.
General tools which might be handy for debugging
The firmware itself which makes the sensors and the actuators communicate. It is a Visual Studio Code project and using the Pymakr-plugin.
The known issues can be found in the github issue tracker
The license of the code can be found in the LICENSE file.
- The used AES library is licensed using the MIT license and available here: https://github.com/iyassou/mpyaes
- The driver sx127x.py for the sx127x LoRa transceiver is licensed under the Apache 2.0 license and available here: https://github.com/lemariva/uPyLoRaWAN
- Jens Dede, ComNets University of Bremen, [email protected]
- Lars Gerken, University of Bremen, [email protected]