GPS vehicle track logging with ESP8266 #17955
Replies: 8 comments 14 replies
-
Great work, This is exactly what I need. Can you compile this into a bin file so it can be flashed to esp with tasmota? Thank you. |
Beta Was this translation helpful? Give feedback.
-
To be more specific, I'm intrested to measure the car speed in realtime, the esp flashed with tasmota to display the speed and send the value using mqtt protocol to an mqtt srever. |
Beta Was this translation helpful? Give feedback.
-
That would be great too if you can display the speed, maybe I'll figure out how to send mqtt after that. Thank you very much. |
Beta Was this translation helpful? Give feedback.
-
Yes, please send it to me if you have it, as I mentioned I don't have
programming skiills, I didn't manage to compile a bin file using the speed
parameter indicated by you in previous thread.
…On Thu, Feb 23, 2023, 12:50 pkkrusty ***@***.***> wrote:
I adjusted the firmware to take advantage of the always-on hotspot change
in #13362 <#13362>. Do you
still want a binary file?
—
Reply to this email directly, view it on GitHub
<#17955 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASXK7X4FDGW2G4RL3R4Y5WDWY46H5ANCNFSM6AAAAAAU6C7Z4E>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Tell me if I did something wrong:
1. I've copied your xsns_60_gps.ino file
2. accessed gitpod.io
3. replaced the existing file in the following folder
/workspace/Tasmota/tasmota/tasmota_xsns_sensor with yours
4 compiled it in terminal using command: platformio run -e tasmota
5. downloaded the new firmware
6. the problem is that the new tasmota.bin file has exactly the same size
as the original, I suppose nothing has changed, so I can't find gps_rx and
gps_tx in tasmota configuration module webpage after selecting generic(18)
module type
I think it would be easier if you send me the bin file because as i've said
i have no programming skils
…On Thu, Feb 23, 2023 at 7:34 PM pkkrusty ***@***.***> wrote:
Linked up above. I just pushed a PR to add speed and heading to the
driver, so wouldn't need scripting to access this info. Easier to integrate
with other services. We'll see if it gets merged...
—
Reply to this email directly, view it on GitHub
<#17955 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASXK7XZXERPUFKJDKTQTA5DWY6NSZANCNFSM6AAAAAAU6C7Z4E>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thank you so much. It works. It even sends the speed to the mqtt server. The only thing that I have to do now is to find a solution to read the speed in real time, so far I have found that the minimum TelePeriod is 10 and that's not acceptable. |
Beta Was this translation helpful? Give feedback.
-
Just wondering if this project is still active. I'd like to use an ESP module (either 8266 or 32) as a GPS logger. Something to log GPS coordinates and make minimal or no use of wifi transmissions while logging. Then I'd connect to a USB port to download the logged data. Is this possible? |
Beta Was this translation helpful? Give feedback.
-
Yes, right after I posted that, I thought about an arduino solution instead. Regarding the loggers for sale (Aliexpress or ebay) - they ALL seem to be cellular service (sim card) based. And none of their descriptions indicate they will work as a logger with local storage and without a sim card installed. They don't even seem to have a usb port - to charge or to pull off any log files. So can you tell me if they do indeed work as just a logger (ie not just a tracker) ? |
Beta Was this translation helpful? Give feedback.
-
Initial try of a vehicle-based GPS logger using Tasmota. Using a cheap GPS module from Aliexpress hooked up to ESP8266 compiled with
Also
#undef
as much other stuff as possible because RAM is close to the edge with current defines. System is running at about 14k heap. Tried with#define USE_SDCARD
but kept getting exceptions.platform_override.ini is adjusted to:
to take advantage of the 3MB flash space not used for firmware.
Script is as follows (using gemu's scripteditor to clear out comments and load directly):
Notes:
Cold start of GPS module takes between 20 seconds and 2 minutes, so future work will include a lithium cell to keep the module running while vehicle is off so location can start logging immediately. Should consume about 30mA, and can be powered directly from a 18650 (GPS module runs off 3.3-5.0v, so will last minimum 60 hours. ESP8266 is unpowered until vehicle is started.
Writing 24 bytes for each position, which could be cut in half by writing individual bits with
fwb(byte fr)
function, but that got complicated with file formatting and the buffer. Still get 34 hours of driving logs, which for me is at least a month of driving.To do:
Comments and suggestions are welcome
Beta Was this translation helpful? Give feedback.
All reactions