PDA

View Full Version : A few MapThis / GPS questions



CrunchyMush
September 26th, 2006, 11:42
Hi all... I'm new to the forum although I've been lurking for a few weeks now. I've just purchased a GPSlim 236 and am awaiting it's arrival in the mail but in the mean-time, I've got a few general questions about Deniska's fantastic app and the PSP and GPS in general.

I'm keen to try a few hardware options out. I'm no electronics guru but I've scratch-built a few devices over the years. However I have a fairly limited knowledge of the PSP hardware and also the limitations of homebrew on the PSP. That's where I was hoping I could get some help. I suppose most of these questions are directed at Deniska but if anyone can provide input, I'd be most appreciative.

1. Bluetooth: From reading around other threads in the forum, I can see there are a few barriers to this. Firstly, I understand we're fairly limited as to what we can ask from the PSP in terms of power to run any devices from the remote socket. Does anybody know if similar limitations apply to the USB socket?

I also understand that the GPSlim 236 and, by the sounds of it, most other PDA GPS systems transmit their data as serial (NMEA 0183). If a RS232 - USB converter were to be used, could the GPS be run from the USB port (assuming there were any advantages to doing this)?

I know there are off-the-shelf bluetooth tranceivers which can output serial data. Something like this: http://www.rfsolutions.co.uk/acatalog/LinkMatik_2.0.html

The handy thing with a unit like this is that it can be a Master device independantly and can be wedded with the GPS (using an additional programming board whos price I'm having a suspiciously difficult time finding) so that it automatically connects as soon as the two devices are running. This means that the PSP doesn't need to know anything about Bluetooth as it's all handled by the Transceiver module.

According to the spec sheet, this will run off a 3.2v - 5.1v regulated supply (is the output from the remote socket regulated?) with a max current draw of less than 100mA (average under normal operating would be closer to 20mA - 30mA) so I assume this could run off the power lines on the remote connector. Even if this is still too much drain, it could have it's own power supply if necessary. It also provides for output as serial data with an adjustable baud between 1200 - 2765800.

It's a little pricey (the modules I can see range from £65 - £95) and needs to be configured on an additional programming board first but from what i can see, this should allow the PSP to communicate with the GPS via Bluetooth. I'm considering giving this a bash as a proof of concept, if nothing else, assuming I can get the necessary info to show it could work.

A cheaper option would be to just use a Bluetooth receiver and write software for it to handle all the Bluetooth functionality on the PSP. Is this even possible?


Comments?


2. General GPS question. I don't own a GPS yet so I don't know exactly what your typical unit is capable of. I assume that if I buy Tom Tom 5 or whatever in-car system, that I would be able to get point to point directions on the fly, right? So if I'm driving in my car in the middle of nowhere, I would expect to somehow be able to enter an address and have the unit calculate a route from here to there. Can GPS systems normally do this?

If so, then how do they manage it? With my limited imagination, I can picture a system whereby the maps would need to have all of the information about roads, one-way streets, addresses for everything, post-codes etc. I would assume this would result in very large map files. Given that a lot of PDAs don't have very large hard drives, how do they get around the problem of large map areas?

I always figured that if I bought an in-car GPS, that I could drive anywhere in the UK and get street directions the whole way. Is this not the case?

I'm just wondering because, of all the features which could be implemented in MapThis, on-the-fly directions would be by far the most useful, although it seems, in my head anyway, to be extremely difficult, if not impossible to implement on the PSP platform.

As a means of fudging this ability, could WiFi be used along with some of the code from in7ane's great map downloader to query google/msn while the system is running to download the POIs for a set of directions?


4. Are there any GPS units like the GPSlim which can act as network devices and transmit their data via WiFi (at a glance, Google seems to suggest there are)? I assume, since the idea is conceptually so simple, that someone has already thought of this. I'm just wondering what the barriers to an option like this are? I'm guessing the PSP can't be set-up as a router so you'd need a GPS with a built-in router which sounds like an unlikely device.


Sorry for the long post but I would like to add something to this project if it's at all possible and since Deniska seems well-and-truly on-top of the coding side of things, I wouldn't mind experimenting with the hardware.

Totaliser
September 28th, 2006, 09:27
I am going to attempt to answer some of these questions. If anyone would like to help out please do so.

>>1. Bluetooth: From reading around other threads in the forum, I can see there are a few barriers to this. Firstly, I understand we're fairly limited as to what we can ask from the PSP in terms of power to run any devices from the remote socket. Does anybody know if similar limitations apply to the USB socket?



Bluetooth : None for the PSP so we can't use that. The GPSlim 236 has it's own battery, so we don't need to draw any power from the PSP(The battery on the GPS lasts about 8-10 hours).


>>I also understand that the GPSlim 236 and, by the sounds of it, most other PDA GPS systems transmit their data as serial (NMEA 0183). If a RS232 - USB converter were to be used, could the GPS be run from the USB port (assuming there were any advantages to doing this)?

I don't see any advantage using USB. Data speed only needs to be 4800 baud.

>>I know there are off-the-shelf bluetooth tranceivers which can output serial data. Something like this: http://www.rfsolutions.co.uk/acatalog/LinkMatik_2.0.html

>>The handy thing with a unit like this is that it can be a Master device independantly and can be wedded with the GPS (using an additional programming board whos price I'm having a suspiciously difficult time finding) so that it automatically connects as soon as the two devices are running. This means that the PSP doesn't need to know anything about Bluetooth as it's all handled by the Transceiver module.



The transceiver you mention just adds complication and cost for what Mapthis does. I'm happy with the cable.


>>According to the spec sheet, this will run off a 3.2v - 5.1v regulated supply (is the output from the remote socket regulated?) with a max current draw of less than 100mA (average under normal operating would be closer to 20mA - 30mA) so I assume this could run off the power lines on the remote connector. Even if this is still too much drain, it could have it's own power supply if necessary. It also provides for output as serial data with an adjustable baud between 1200 - 2765800.

Really, just stick with the cable. The PSP will start to get bulky adding modules and power supplies.

>>It's a little pricey (the modules I can see range from £65 - £95) and needs to be configured on an additional programming board first but from what i can see, this should allow the PSP to communicate with the GPS via Bluetooth. I'm considering giving this a bash as a proof of concept, if nothing else, assuming I can get the necessary info to show it could work.

I hope you know C++ :)

>>A cheaper option would be to just use a Bluetooth receiver and write software for it to handle all the Bluetooth functionality on the PSP. Is this even possible?

Once again you are bulking the PSP. Deniska has made this fantastic program, it's just simpler to build his cable.


>>2. General GPS question. I don't own a GPS yet so I don't know exactly what your typical unit is capable of. I assume that if I buy Tom Tom 5 or whatever in-car system, that I would be able to get point to point directions on the fly, right? So if I'm driving in my car in the middle of nowhere, I would expect to somehow be able to enter an address and have the unit calculate a route from here to there. Can GPS systems normally do this?

Yes.

>>If so, then how do they manage it? With my limited imagination, I can picture a system whereby the maps would need to have all of the information about roads, one-way streets, addresses for everything, post-codes etc. I would assume this would result in very large map files. Given that a lot of PDAs don't have very large hard drives, how do they get around the problem of large map areas?

I used one in Europe (Pocket PC and Tomtom). France map is only 254 mb and it does have most the streets. You enter an nuimber, address, city, province etc and it does guide you with good accuracy. Remember they are not bitmaps graphics, just vectors ones. The map will also be vectors (Lenghts of streets etc)

>>I always figured that if I bought an in-car GPS, that I could drive anywhere in the UK and get street directions the whole way. Is this not the case?

Yes this is correct. They do navigate this way.

>>I'm just wondering because, of all the features which could be implemented in MapThis, on-the-fly directions would be by far the most useful, although it seems, in my head anyway, to be extremely difficult, if not impossible to implement on the PSP platform.

Deniska has already has the function of point to point navigation, but he is the one developing this Mapthis. It's still beta so there is plenty of room for more features.

>>As a means of fudging this ability, could WiFi be used along with some of the code from in7ane's great map downloader to query google/msn while the system is running to download the POIs for a set of directions?


Ask Deniska and in7ane about this.

>>4. Are there any GPS units like the GPSlim which can act as network devices and transmit their data via WiFi (at a glance, Google seems to suggest there are)? I assume, since the idea is conceptually so simple, that someone has already thought of this. I'm just wondering what the barriers to an option like this are? I'm guessing the PSP can't be set-up as a router so you'd need a GPS with a built-in router which sounds like an unlikely device.

No Comment.

>>Sorry for the long post but I would like to add something to this project if it's at all possible and since Deniska seems well-and-truly on-top of the coding side of things, I wouldn't mind experimenting with the hardware.[/QUOTE]

Let us know if you make any progress.

deniska
September 28th, 2006, 15:59
Totalizer, thanks for answering..
Here is some more info:

>>As a means of fudging this ability, could WiFi be used along with some of the code from in7ane's great map downloader to query google/msn while the system is running to download the POIs for a set of directions?

It's possible, but it gets a bit bulky since there are different data vendors, plus they tend to change API from time to time...
A better solution would be to proxy this data through some webserver.. Not sure if it is feasible from legal stand point though...

>>4. Are there any GPS units like the GPSlim which can act as network devices and transmit their data via WiFi (at a glance, Google seems to suggest there are)? I assume, since the idea is conceptually so simple, that someone has already thought of this. I'm just wondering what the barriers to an option like this are? I'm guessing the PSP can't be set-up as a router so you'd need a GPS with a built-in router which sounds like an unlikely device.

I am not sure what you try to accomplish with this setup

in7ane
September 28th, 2006, 16:49
Regarding on-the-road directions and POIs:

Legality - I think having a bit of code that is downloaded (if needed) and updated rather than a proxy server for the data itself could be a solution.

Connection - If Sony comes out with a phone add-on for the PSP (http://biz.gamedaily.com/industry/feature/?id=13721) then the GPRS connection could potentially be used. Otherwise you are relying on wifi (which would work if your phone could share a gprs connection via wifi - but I do not know of one that can, so you are looking at something like this: http://www.junxion.com/product/). With anything more bulky than that you may as well plug the PSP into your laptop (with a gprs card) and transfer the file.

CrunchyMush
September 29th, 2006, 09:40
Totalizer, thanks for answering..

Indeed. Thanks for the info Totalizer.


Here is some more info:

>>4. Are there any GPS units like the GPSlim which can act as network devices and transmit their data via WiFi (at a glance, Google seems to suggest there are)? I assume, since the idea is conceptually so simple, that someone has already thought of this. I'm just wondering what the barriers to an option like this are? I'm guessing the PSP can't be set-up as a router so you'd need a GPS with a built-in router which sounds like an unlikely device.

I am not sure what you try to accomplish with this setup

Well I've been pondering over ways to make the setup wireless. I was just throwing around the idea of WiFi rather than Bluetooth to accomplish it.

However it seems that I might be the only person really interested in going wireless with it so given the difficulty and cost to prototype it, I probably won't bother. I'd still like to help out if I can so I'll keep an eye out for any opportunities to add value.