dmiddlecamp / fancy-asset-tracker Goto Github PK
View Code? Open in Web Editor NEWa place for fancy asset tracker demos!
License: Apache License 2.0
a place for fancy asset tracker demos!
License: Apache License 2.0
Hi again - going thru your code is teaching me lots. I'm stuck on the GPS location suggestion. Specifically https://github.com/dmiddlecamp/fancy-asset-tracker/blob/master/suggest-time-and-place/main.ino#L136 where it looks like the code which would suggest a location is commented out.
I'm assuming it's commented out for some reason. I'd hope to use this to get a quicker fix as my device is going to be completely off for 12 hours at a time (unless bumped).
I see that the cellular & GPS library seems to be working (haven't had a chance to run it yet). It would be swell if I could take the cellular location and input it to the GPS to speed up the process.
Any ideas? Many thanks.
Sorry if I'm misunderstanding - your code thats commented out for selecting internal vs external antenna, is this for the GPS or the cellular antennas? (Mostly I'm interested in how to make sure its using the external gps antenna I've got).
https://github.com/f5eng/mt3339-utils
can we adapt this code on an electron / photon to pull this data down during the initialization of the GPS, and assist in gathering a faster lock?
Furthermore, can we extract the ephemeris data from a GPS sensor, and transmit it to another?
Hi,
I'm in Stockholm, Sweden which is east of the the prime meridian. Using the fancy-asset-tracker/motion-tracker/main.ino code I've been getting GPS coordinates in the Atlantic ocean where I'm pretty sure I'm not. The fault seems to be that my longitude is negative where it should be positive (Eastern Hemisphere = positive longitude).
Looking thru the code I realise there's a hard coded - in front of longitude on row 214.
+ ",\"lon\":-" + String(convertDegMinToDecDeg(GPS.longitude))
The best solution is probably to use the available GPS.lon
value and add a minus sign if the value is 'W'. The same goes for the Latitude where there should be a minus sign if the GPS.lat
value is 'S'.
Cheers
Ruben
I've been playing with the motion-tracker example for a couple of days and it seems to work great until it goes into deep sleep the second time (e.g. if I wake it up with motion, and then it times out and goes back into deep sleep).
After the second time of going into deep sleep (even if this is only a couple of minutes), it then won't wake up from deep sleep from the accelerometer input.
I haven't yet tried to reduce the deep sleep interval to see if it wakes up based on timer but was wondering if this is something you've seen during development?
Great example though - I'm planning on augmenting this with CellLocate data if a GPS fix can't be acquired.
I'm VERY new to this stuff, so please bear with me. I've managed to flash the motion-tracker-pro to my electron. It works pretty well. I get plenty of trk/dev and trk/enc and trk/loc messages, but they don't seem to stop. The device has been sitting in my car undisturbed for the past 3 hours and it's still churning out data every 60 seconds.
Any ideas? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.