The GPS sensor is working like a charm. Once it acquired the satellites outside on the balcony, it was able to keep the lock even when I moved the whole thing inside. This picture was taken from inside my Lego Lair, about a meter from the window. Not bad, eh? I verified the position (blurred out) with my Android phone and they seem to match.
Dexter Industries have sent me a new firmware to test, so I’ll have to flash this thing later to try that out.
That is really exciting. That is one GPS that should be really easy to use for those that have trouble using the BT GPSs. Why did you blur out the position?
Because that’s the position of my house 😛
Oh, that’s true (though, isn’t it an apartment?).
Hello Xander:
John Cole is sending me a GPS unit to play with. Do you have some code/drivers written that I can work with?
Thank you for all your help and inspiration.
Mike,
Depends on what programming language you need it for. I have the ROBOTC one almost done. I need to implement two more functions and an additional demo program.
Hello Xander:
I am currently programming using Robotc. What for notes did you get with the GPS sensor? Is there enough to get me going while I wait for your next driver set? Anything you can give me to get me started would be most welcomed.
Mike
I don’t know if I can give you the specification document, you will need to ask John about that. As for the driver suite, if you can hold on a day or two, I can have the next version ready. I don’t really like releasing half-finished drivers.
Hello Xander:
I think I can wait a couple of days. Hopefully you will have something for the weekend. While I wait can I ask you questions about programming my GPS unit?
Mike,
Sure, go right ahead. No need to ask if you can ask 🙂 Best to use email. You can find the address in the driver header files, at the top 🙂
Hi Xander,
I have this dGPS sensor and am having some trouble programming it. I can get it to work with robotC and it works great. However, I want to use leJOS.
Do you have any idea how to make it work with leJOS? Maybe if you have time you could please tell me the basic steps to get it working or perhaps point me to a demo project.
I’ve tried Mark Crosbie’s code @ http://www.mastincrosbie.com/Marks_LEGO_projects/Programming_dGPS_in_leJOS.html
but it has errors :
He has : int r = I2Cport.i2cStart(address, args, 0, 1, replyLen);
r = I2Cport.i2cComplete(reply, 0, replyLen);
But i2cStart() requires int, int, int, byte[], int, int
and i2cComplete() requires byte[], int … not byte[], int, int.
Any advice would be appreciated.
Regards,
Rich.
Richard,
Which version of Lejos are you using?
– Xander
Umm, 0.85 i believe.
@ richard, did you try contacting Mark about his code or simply modifying his code to make it match the prototypes?
Yeah, I’ve contacted Mark, but that was 2 weeks ago. He said he will have a look into it but I don’t want to pressure him.
He said he used 0.85 build and mine is also 0.85, so that seems like a coding error, right?
I need to understand how the I2CSensor interfaces with the NXT and I can’t find any good tutorial explaining the basic steps needed to fetch the data from the i2c – because I would rather fully understand it and write my own code rather than use someone else’s.
I’ve had a look through the user guide too, and it only talks about VPL’s (visual programming languages) – so thats no good.
Rich.
Oh, and yeah, I’ve tried to modify it and I can get it to compile and build + run… but when run on the NXT all the returns are 0 except for Time which is = to -3.
Strange.