Snorktracker
 All Data Structures Files Functions Variables Macros Pages
Snorktracker Documentation

GPS IoT tracker board for scanning gps and environment information and sending them to an MQTT server via GPRS.

Schema.png
SnorkTracker Schema

IoBroker map of the collected SnorkTracker sample. (see https://github.com/Bastelschlumpf/SnorkView)

IoBrokerMap.png
SnorkTracker View

The hardware

SnorkTracker.jpg
SnorkTracker

The housing

HousingWoodView1.jpg
SnorkTracker

The web-interface

WebInterface.png
Web interface

Description

The goal of this board is to have an easy-to-use, configurable GPS tracker that passes its data to an MQTT server. It should also be able to scan other environmental data and operate on a 12V power supply with low power consumption over a long period of time.

The main components of the systems are:

To interact with the board it has an easy-to-use browser interface to show the scanned values, configure the system or to debug at runtime via console. It can connect to an existing WiFi or function as an access point.

The board has a voltage divider to measure the power supply voltage and a BME280 sensor to read temperature, humidity and air pressure.

The module operates with a supply voltage of approx. 6V to 16V. Perfect for a car battery.

For power saving the supply voltage can be used to decide if the battery is charging or not and so the system can be configured to go into deep sleep mode which uses only ~0.3mA.

With the GSM chip, the system can receive SMS commands to set default values or send current information such as GPS or temperature.

The system estimates the current power consumption in mAh in energy saving mode and when the sim module is on.

You can also use the software on a esp8266 chip like the wemos d1 for having a serial console over HTTP if you connect to the D5 and D6 pin.

Disclaimer

I don't take any responsibility nor liability for using this software nor for the installation or any tips, advice, videos, etc. given by any member of this site or any related site.

License

This program is licensed under GPL-3.0

Source Code

The easiest way to understand what the program does is to navigate by the main source modules via the Arduino IDE or to explore the source code via **DoxyGen generated documentation**. You can update the DoxyGen generated documentation by installing Doxygen (from http://www.doxygen.org) on your machine and run the DoxyGen generation batch Doxygen.bat from the main folder.

User manual of the web interface

Prerequisites

Setup Arduino Environment

Circuit

Esp8266Sim808.png
Figure 2

Housing

Housing3D.png
Housing Prototype

Assemble the Components

Setup the LM2596 voltage and install the software

Function

Part-list

Label Part Type Properties
Breadboard Double sided PCB board 24 x 18 holes
Power connector Mount screw connector 2 pins
Header connector Female header connector 3 x 9 pins
wire colored breadboard wire i.e. 0.14 mm2
12V Plug Cigarette Lighter Power 12V To 5.5 x 2.1mm
Panel Jack Jack Socket Female 5.5 x 2.1mm
V1 VC Power 6V - 16V
WeMos D1 Mini lite WeMos D1 Mini lite ESP8295
BK-808v2 BK-808 v2 www.and-global.com
GPS Antenna Embedded GPS Antenna uFL connector
GSM Antenna Embedded GSM Antenna uFL connector
SIM card SIM card for sms/data with deposit
BME280 BME280 3.3V
LM1 LM2596 adjustable module
U2 Voltage Regulator 3.3V MCP1703T-3302E
C1 Electrolytic Capacitor 1uF (16V)
C2 Electrolytic Capacitor 1uF (16V)
C3 Ceramic Capacitor 100 nF (16V)
C4 Ceramic Capacitor 100 nF (16V)
R1 Resistor 680 kOhm
R2 Resistor 100 kOhm
R3 Resistor 4.7 kOhm

Shopping list

Here are some sample shopping items. Please check the details if everything is correct.

Label Price Sample URL
Breadboard set 13$ https://www.amazon.com/Paxcoo-Double-Prototype-Connector-Terminal/dp/B07C3TC68Z
wire 13$ https://www.amazon.com/StrivedayTM-Flexible-Silicone-electronic-electrics/dp/B01KQ2JN
12V Plug 2$ https://www.amazon.com/Zerone-Cigarette-Lighter-Supply-Adapter/dp/B07DWRVBLF/ref=sr_1_1
Panel Jack 2$ https://www.amazon.com/Abicial-5-5mm-Socket-Female-Connector/dp/B07J9WRC2Z/ref=sr_1_2
WeMos D1 Mini lite 10$ 2 pcs https://www.amazon.com/Aideepen-Development-ESP8285-V1-0-0-Internet/dp/B07BGW7QG
BK-808v2 22$ https://www.amazon.com/Breakout-Quad-band-GSMGPRS-Integrated-GPSBluetooth/dp/B0748DGCRN
GPS Antenna 9$ https://www.amazon.com/CIROCOMM-Antenna-Ceramic-25x25x2mm-Geekstory/dp/B078Y2WNY6
GSM Antenna 6$ http://www.amazon.com/CIROCOMM-Antenna-Ceramic-25x25x2mm-Geekstory/dp/B078Y2WNY6
BME280 10$ https://www.amazon.com/Breakout-Temperature-Humidity-Barometric-Pressure/dp/B01LETIESU
LM1 7$ 2pcs https://www.amazon.com/DZS-Elec-Adjustable-Electronic-Stabilizer/dp/B06XRN7NFQ
U2 1$ https://www.mouser.ch/ProductDetail/Microchip-Technology/MCP1703T-3302E-DB?qs=sGAEpiMZZMsGz1a6aV8DcJ7KfjtCj7XdHFS3qTrbY5w%3d
C1, C2 10$ set https://www.amazon.com/WINGONEER-Electrolytic-Capacitors-Assorted-Assortment/dp/B0734T3GJ9
C3, C4 13$ set https://www.amazon.com/Terrans-Monolithic-Multilayer-Capacitors-Non-Polarized/dp/B07B91SW4Y
R1, R2, R3 10$ set https://www.amazon.com/Resistor-Assortment-Kit-Thermistor-Photoresistor/dp/B0792M83JH

Some of the items are sets for further projects. You can also buy cheaper single items. The material price should be between 50$ and 100$.

Thanks