![]() I need a way of synchronising multiple tracker units so their transmissions do not overlap. Tight loop() can give 10 microsecond TDMA time slots whilst still fetching and parsing GPS data. GPS Pulse-Per-Second drives hardware interrupt. #Traccar device offline software, and reports to traccar software via OSMAND HTTP protocol (all done on loopback interface) Python code receives position and battery reports via the LoRa radio (For the HopeRf RFM98 lora module you have to adapt the DIO and SPI port definitions - instructions here: Offline openstreetmap tiles are created with software and saved to the Pi See here for rough instructions (basically overwrite any reference to servers with your Pi tilestache server - editing the traccar.war file in ubuntu File Roller (archive manager) works quite well) #Traccar device offline modThe off-the-shelf tracking portal can accept our offline tilestache maps quite easily (need to define the custom map source in the Config section AND configure the user accounts to use the custom map source), but the litvak.su traccar-web mod required some butchering. or any URL would work when connected to the Pi AP)Īpache2 on Pi gives some flexibility in redirecting http requests to localhost to our auto-logon guest URL Running modified 'traccar-web' UI to allow auto-login as guest on mobile devices:ĭnsmasq on Raspberry pi acts as DNS and DHCP server for connected clients.ĭnsmasq also catches all HTTP requests and redirects to localhost - end users just connect to the hostpot then browse to any (non-https) web address - good for catchy marketing! (e.g. Tracker server software configuration at 16:36.This way no internet connection is needed at any point for tracking, logging or displaying positions on a map. The Raspberry pi is set up as a WiFi hotspot with DHCP and DNS, and serves the GPS map server to any connected devices (mobile phones, tablets) as a captive portal. mbtile format are created beforehand using and Openstreetmap data overlayed with GPX trails of race route if required, and then stored on the Pi SD card. Openstreetmap tiles or other custom map tiles are downloaded to the Pi ahead of time, and served on the Pi via installed on the Pi. Open-source GPS tracker software or receives the reconstructed GPS position reports and displays on webpage map interface. Python code on the Pi adapted from receives LoRa telemetry, formats and fowards it over loopback connection to GPS tracker server running on the same device. HopeRF RFM98W modem on uputronics shield is mounted on a Raspberry Pi. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |