Anti-theft system for a bike
Anti-thift system for your beloved bike.
Developed under a support of "Delft Open Hardware academy 2022".
Motivation
- I'm a big fan of (race) biking. I'm always afraid of my bike got stolen when I park outside.
- In the Netherlands, bike thift is very common. My first bike in Delft got stolen after only two weeks of the purchese. I want to reduce unfortunate people like me.
Ideas
The anti-theft system has two functions:
- Prevent theft by warning sound
- Track the bike's location in case the bike is moved (or when you just want to check that the bike is still there)
Hardware
Instructions
Theft attempt detection
'detection/detection.io' contains theft attempt detection and raw GPS reading.
Lora connection
This part is developed based on TTGO-T-Beam-Car-Tracker project by Tekk.
The file for this task can be found under '/Lora_tracker/Lora-tracker.io'.
How to set up The Things Network (TNN) and Cayenne: (More detailed explanation may be added later)
- Create The Things Network account from here.
- Select your region and create a new application.
- Insert Network Session Key, App Session Key and Device Address config.h file.
- Register yourself for Cayenne from here.
- In the TTN application, go to 'Payload formatters' -> select 'CayenneLPP'.
- Select Add new -> Device/Widget -> LoRa -> The Things Network -> Cayenne LPP
- Add Device EUI copied from TTN console to Cayenne.
Mounting structure
CAD folder contains the file for 3D printing.
Setting of the 3D printer: to be updated.
Points for future improvement
- Combine the "detection" file and "Lora-tracker" file into one file.
- Enable switching "biking mode" (=alart sound is off) and "parking mode"(=alart sound is on).
- Improve the mounting structure.
License
This product is created by @nanaminh under Creative Commons BY 4.0 license.