bestander / body-finder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Body finder

A device prototype to find your buddies (or their bodies) when hiking or skiing. In the most basic case you have 2 identical devices that track their GPS coordinates, then they transmit and recieve over radio their positions. On the screens devices show direction and distance to each other making finding your buddies easy and fun.

Powered by Arduino, GPS and Long Range radio transmission.

Hardware

Arduino board

The board is ASR6502 (CubeCell GPS HTCC-AB02S).

Amazon sells it as MakerFocus LoRa GPS Module LoRaWAN 868 915mHz Development Board LoRa Kit Ultra Low Power Design CP2102 SX1262 ASR6502 Chip with 0.96 inch OLED Display.

And it contains:

  • AIR530 GPS module
  • SX1262 radio transciever
  • 0.96-inch 128*64 OLED display
  • Power management system (micro JST battery plug, charge controller, solar panel interface)
  • IO/PWM pins

pinout

Compass

Compass is GY-271 QMC5883L. Attached SLC0/SDA0 and VDD/GND pins.

compass

Battery

3.7V 1100mAh Lithium Rechargable Battery 1S 3C. Attached to battery port on the board.

battery

Software setup

Install Arduino IDE

Follow heltec guide to install CubeCell board libraries.

  • Download and install latest Arduino IDE
  • Go to Preferences Preferences
  • Add https://resource.heltec.cn/download/package_CubeCell_index.json to Additional Boards Manager Urls, press OK Preferences Boards
  • Go Tools -> Boards Manager -> find CubeCell and install Install CubeCell library
  • Select board in Tools -> Board -> CubeCell -> CubeCell GPS (HTCC-AB02S) Select CubeCell GPS board
  • Install QMC5883LCompass library: Tools -> Manage Libraries -> Search and install QMC5883LCompass Install compass library

Compiling code

  • Clone this repo git clone git@github.com:bestander/body-finder.git
  • Open body-finder.ino in Arduino IDE: File -> Open ...
  • Connect the board to the computer and select USB port in Tools -> Port -> /dev/usbserial Select USB Port
  • Press upload button in IDE Upload

VS Code support

You can also install Arduino extension in vscode for compiling and uploading code to the board. Arduino IDE still needs to be installed.

VS Code

3d printing the case

2BD

About

License:MIT License


Languages

Language:C++ 100.0%