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
- Host: GitHub
- URL: https://github.com/doorbash/gps-tracker
- Owner: doorbash
- Created: 2022-03-01T19:29:31.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-04T15:54:12.000Z (about 4 years ago)
- Last Synced: 2025-12-27T05:55:14.151Z (4 months ago)
- Topics: arduino, gps, gps-tracker, gsm, iot, sim868
- Language: C++
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)