great earth circle (or similar) GPS - BS2-IC
Arthur Campbell
Posts: 9
i am working on a project where i am using a gps & BS2-IC to trigger a couple of relays
when ever the device is near one of two gps positions
i normally use the great earth circle calculation in VB6
is there a suggested method, as i am concerned if the chip is capable of that level of math functions
and weather i can make the VB6 code work for the BS2-IC
the positions are fairly near 40 mi or so and not exact so a sudo/or similar calculation would work
its not that critical i just need to know if i am closer to one point or another. accuracy can be up 3 mi
miles in tolerance or more ... any help or source code would be appreciated ... arthur
when ever the device is near one of two gps positions
i normally use the great earth circle calculation in VB6
is there a suggested method, as i am concerned if the chip is capable of that level of math functions
and weather i can make the VB6 code work for the BS2-IC
the positions are fairly near 40 mi or so and not exact so a sudo/or similar calculation would work
its not that critical i just need to know if i am closer to one point or another. accuracy can be up 3 mi
miles in tolerance or more ... any help or source code would be appreciated ... arthur
Comments
Quick question before I can say anything...
Is the project would be a STAND ALONE? meaning, BS2 a GPS and some relays and nothing else,
or will you use a PC(laptop or something to work with the math?) then hooked up to your BS2(GPS and Relays)?
Sounds like you're trying to port the VB6 programming (Math) to the BS2 and have the BS2 to work by itself)
If it is that case..hum... not sure if the BS2 will have enough mem to do all that!
Yosh
it may also be used later to send tones out over a two-way radio to open the gate
so the guys in field have one button to push to open gates at several job sites
i also program in VB6 so thats why i mentioned it ...
I checked a bit the calculation required, and after a while it jumped !
The required precision after the decimal, will be the killer. BS2 does not deal after the decimal.
There might be a way around that, I don't know.
But looking at the precision required, I would bet the BS2 is not suitable for that.
Hope some Paralax folks can itervene here, and guide you/advise you, for its possibility.
Cheers
Yosh