An open API service indexing awesome lists of open source software.

https://github.com/doorbash/gps-tracker

GPS tracker made with Arduino and sim868. Backend: https://github.com/doorbash/gps-tracker-backend
https://github.com/doorbash/gps-tracker

arduino gps gps-tracker gsm iot sim868

Last synced: 1 day ago
JSON representation

GPS tracker made with Arduino and sim868. Backend: https://github.com/doorbash/gps-tracker-backend

Awesome Lists containing this project

README

          

### Config:

Edit `/hardware/arduino/avr/cores/arduino/HardwareSerial.h`

Change:
```cpp
#define SERIAL_TX_BUFFER_SIZE 64
#define SERIAL_RX_BUFFER_SIZE 64
```

To:
```cpp
#define SERIAL_TX_BUFFER_SIZE 256
#define SERIAL_RX_BUFFER_SIZE 256
```

Edit `/hardware/arduino/avr/libraries/SoftwareSerial/src/SoftwareSerial.h`:

Change:
```cpp
#define _SS_MAX_RX_BUFF 64
```

To:
```cpp
#define _SS_MAX_RX_BUFF 256
```

Create `config.h`:
```cpp
#define SOFTWARE_SERIAL
#define DEBUG_MODE
#define MAX_BUFFER_SIZE 200
#define BAUD_RATE_SERIAL 9600
#define SS_RX_PIN 7
#define SS_TX_PIN 8
#define BACKEND_URL "http://your.domain.com/gps-tracker/"
// #define HTTPSSL
#define DEVICE_ID "00000000000000000000"
```

### Todo:
- [x] Add device id
- [ ] Add better sleep mode (to make it more energy efficient)