nanaminh / anti-theft

Anti-thift system for your beloved bike.
MIT License
1 stars 0 forks source link

Anti-theft system for a bike

Anti-thift system for your beloved bike. Developed under a support of "Delft Open Hardware academy 2022".

Motivation

Ideas

The anti-theft system has two functions:

  1. Prevent theft by warning sound
  2. 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)

  1. Create The Things Network account from here.
  2. Select your region and create a new application.
  3. Insert Network Session Key, App Session Key and Device Address config.h file.
  4. Register yourself for Cayenne from here.
  5. In the TTN application, go to 'Payload formatters' -> select 'CayenneLPP'.
  6. Select Add new -> Device/Widget -> LoRa -> The Things Network -> Cayenne LPP
  7. 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

License

This product is created by @nanaminh under Creative Commons BY 4.0 license.