Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By RyanC
#54491 Okay, I'm sure this is a novice question that is covered somewhere else, so forgive a poor programming noob.

I am attempting to make a device which points at the ISS wherever it is by collecting the current coordinates from http://www.isstracker.com/3 , or from a json such as http://api.open-notify.org/iss-now.json , automatically and constantly and plugging them into a haversine equation to turn those coordinates into directions for my pointer. I have been trying for literally weeks now, and have made no progress. Any help greatly appreciated.



Followup question: ideally, I would like to get my own coordinates also. The device will be connected to the internet via an iphone 3g/wifi hotspot, and getting the coords of the phone. Can this also be done?

Thanks
User avatar
By Oldbod
#54731 I wonder if you'd be more likely to get a response if you could be more specific about what you're having difficulty with?

Meanwhile -
Have you considered using esp8266basic? It has some web retrieval and json parsing built in.
I'm not sure about getting your current location via iphone.. How do you plan to do that? I'd probably use a manual interface to enter a position, or link to a gps. is this a mobile (as in a moving car) or portable (get somewhere, setup) app? Interesting project...
User avatar
By RyanC
#54789
Oldbod wrote:I wonder if you'd be more likely to get a response if you could be more specific about what you're having difficulty with?

Meanwhile -
Have you considered using esp8266basic? It has some web retrieval and json parsing built in.
I'm not sure about getting your current location via iphone.. How do you plan to do that? I'd probably use a manual interface to enter a position, or link to a gps. is this a mobile (as in a moving car) or portable (get somewhere, setup) app? Interesting project...


Probably a good point, reading over again. The project is a mobile one. The point of difficulty I was referring to is getting those two little numbers of lat/long from http://www.isstracker.com/ ( much more accurate than the json I was referencing earlier.) into an Arduino sketch where I can try and work with them.

Thanks for the suggestion: I'll look into BASIC, but it's not an environment I'm at all familiar with.