Skip to content

ThisIsTenou/TCarTrackerSim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCarTrackerSim

This project is a haxx code, shared to let others easily write their own tracker based on it.

It uses LILYGO TTGO T-SIM7000G for the GPS + 4G for positioning and communication. If it is in wifi range, use it instead. For the Wifi it uses the SWifi lib. Most of the time it is in deep sleep, waiting for an interrupt to wake it. The interrupt comes from the ADXL345 module when the car is moved. Also wakes up multiple times a day, and sends its battery info. Reads sms messages too, and sends it to the server (only via wifi).

The receiver part is a php app that sends an e-mail if you got sms. The other part sends the received data to Traccar, and Home Assistant.

These are fully functional, but mostly for demonstration. I use it as a smart car alarm system, but the code is not pretty. It's separated into multiple files, to prevent using a single big unreadable file.

Libraries needed:

About

Car tracker with TTGO T-SIM7000G HW

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 41.8%
  • C++ 40.1%
  • PHP 18.1%