Giter VIP home page Giter VIP logo

knot's Introduction

knot

KNOT

Knot is a DIY SMS-based asset tracking device to mitigate STOLEN or LOST property by tracking them with cellular (GSM 1400) and GPS.

I wanted some way to track my bike, but couldn't find any really great options available on the internet. I figured it would be pretty easy to build one off-the-shelf using the Arduino MKR GSM 1400 that I could customize and integrate into my bike, and that's what this project is. KNOT just uses SMS so there's virtually no set up or cloud / IOT overhead.

Setup

Setup is pretty straightforward. I'll add a wiring schematic when I've finished the hardware.

To get set up on the software side, you'll need to install the MKRGSM and MKRGPS libraries in your Arduino IDE, and then add an arduino_secrets.h file to the sketch src/driver folder with the following defined constants (set them accordingly for your needs)

#define SECRET_DEVICE_NAME "YOUR_DEVICE" // what you want your device to be called
#define SECRET_DEFAULT_REMOTE_NUMBER "+15555555555" //your phone number full name w/ + prepended, as string
#define PINNUMBER "" // SIM pin number. Currently not supported. TODO

Then just flash the firmware to your device, and make sure you have a valid SIM card installed. After that, you should be ready to go if the hardware is installed properly.

Command Reference

Knot responds to SMS text commands (they can be anycased, but can't include additional characters). Just text the command to the # associated with the SIM. The following keywords are recognized:

Command Effect
subscribe Enable automatic updates for when the device has been moved to a new location. Will only send updates when the device hasn't moved from it's last known location for a given amount of time. These can be configured in the firmware.
unsubscribe Disable automatic updates if they were turned on with the subscribe command.
update Sends a text message with the current location

Parts List

Working parts list. Will update when final V1 is assembled

  • (1x) Arduino MKR GSM 1400
  • (1x) Arduino MKR GPS Shield
  • (1x) SIM Card (I used a hologram.io SIM, but any SIM valid in your region that supports SMS and a phone number should work fine)
  • (1x) 3.7V 6500 mAh Rechargable LiPo battery (You should be fine going for a larger battery as well, it's just a tradeoff between weight/size and battery life. Also note the 3.7V TTL, since the MKR boards don't support higher voltages)
  • (1x) micro UFL GSM antenna
  • (1x) Rocker switch (or other switch, for arming the device)
  • (1x optional) Locking electrical switch (for power on/off)
  • (1x optional) micro-usb cable to splice to external / on-device power so that the device doesn't need to be charged separately
  • (TBD) assorted hardware
  • (TBD) 3d printed parts

knot's People

Contributors

mattjfan avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.