The above video goes away if you are a member and logged in, so log in now!

 Would you like to get all the newest Gaming News fromQJ.NET in your email each day? Want to learn more about the team who brings you the QJ news?

## GPSP (GPS front end program for PSP)

This is a discussion on GPSP (GPS front end program for PSP) within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; The final Australian Idol final for this series is tonight live at the Sydney Opera House. I predict that Emily ...

 Tweet
1. The final Australian Idol final for this series is tonight live at the Sydney Opera House.
I predict that Emily Williams will be marketed worldwide, reguardless of who the winner
is. That's great because she really is someone who was simply plucked off the street
and has become a star. You will have some great music come your way from us.
and yeah, we've got an American Idol ripp off

anyway to get it to use MGRS on the PSP instead of Lat/Long?
It realy depends on what the GPS mouse will output. Or how much time it would
take to execute a formula to convert. All civillian stuff I have seen references
your position in 360 lng 180 lat.. I have never considered another way to reference a
sphere.
I just did some reading: http://www.maptools.com/UsingUTM/whyUTM.html
It would make the job of calculating distances much easier, but I have done most of
the hard work on another platform.
I can calculate distances with considerable accuracy using Pythagoras' theorem that
does not account for the curved surface of a sphere, if I use lookup tables to determine
how many Kms are eaqual to 1 degree lat or long.
(1 table element for every degree of lat or lng is fairly accurate..
1 degree = 110 Km @ 27 degrees latitude for example, and shouldn't matter
if you are N or S of the equator.
In the end, as the end user, I don't realy care about my global position, I only want to
see a dot on a map of a mountain, and know how far I am from a destination :)

Hi chronomaster, I treat my PSP too much like a baby, and I think if I get another one
I will be game to use it more in the real world.
If this project goes the way I want it too, I will be fairly abusive with one of them.

It's very nice to know you don't have to buy a whole PSP to get that plug though.
Art.

2. The electronics doesnt look too hard. Would we need the exact model gps reciever you have?

Edit: also what is the 7805 thing on the schematics?

3. Wow an article about my stuff .. How cool I'll email it to my friends. thanx Clay :)
so fricken true. ALSO!! would you want to be seen with all those wires hangin in your ride?? wat would your girl think?
This issue will be addressed in due time. If I was with a girl there's be no time for this.
Art.

4. impressive work. :) infact, screw that. Incredibly cool stuff !

5. I am an EE student, granted a first year, but I have dabbled in electronics my whole life. I am willing to be a tester, but first I have a few questions. Art, feel free to PM me if you want my assistance.

BTW Squall333, the 7805 is a 5 volt regulator. It takes pretty much any input voltage (you want it to be from 5v to around 12v, any less, you obviously don’t have enough to make 5v, any more than 12v, you start to run the risk of overheating).

6. I was looking at the schematics and i was wondering why you did it the way you did. Usually any serial component is workint with -12,+12 and you feed that directly to the pic, and secondly, the psp remote port is supposed to work with voltages from 0 to 2.5v...

I don't know how you made it work together, but it might not be the right way.

7. lol Now the Gizmondo doesn't have GPS as a unique feature.
Nice work.

8. Once I get home ill may a board and get that Garmin. I will be more than willing to test anything. This seems like a great addition!

(Sad part is I get home in 1 month)

Good luck on everything.

9. I was looking at the schematics and i was wondering why you did it the way you did. Usually any serial component is workint with -12,+12 and you feed that directly to the pic, and secondly, the psp remote port is supposed to work with voltages from 0 to 2.5v...
A valid observation.
RS232 is supposed to work between -12 to + 12 volts, and that's the way it is on
desktop comm ports.
Luckily the Garmin GPS18 PC (and probably many other GPS mice) deviate from
standard like the PSP does and transmits serial between 0 and + 5 volts.
The resistor between the GPS tx and PSP rx lines was to limit input to the PSP
to roughly 2.5 volts.

Would we need the exact model gps reciever you have?
Probably not, but I have only tested with mine.
Most GPS mice can be configured to output the sentences you desire.
If some brand GPS mouse didn't work with it, a new chip code need only be
written to support it with the same PSP program.
Art.

10. im pretty noobish but def gonna try this when i know more, this is amazing

11. this is some great work ART, you beat Sony to it!!!

If they hear about this project Expect them to come out with an official one for like 50 quid next month :P

12. what is the exact model for the gps mouse you used? and also, can you post up a full part list of everything we need? thanks.

13. A lot of the new gps mice are usb is there a workaround for that?

14. Originally Posted by Art
Even a single photo taken with my digital camera is too large.
When I can use my desktop again i will submit the package to this
forum through the files section.
A couple of previous submissions of mine uploaded successfully,
but were not hosted.
Art.
just take the pic with your camera, then look at it with your computer, then hit the "print screen" button. Paste the picture again at what ever size you want

15. A bit of an update... I have emailed an eBay seller about a 4cm square GPS mouse based on a Sony
chip. There are other common cheaper units on eBay. a cheaper mouse would reduce the cost of this
project signifigantly. This is one of the reasons I suggest people hold off for now, another is
that I will take big leaps with this project initialy.

If you must go ahead and buy what is quite an expensive mouse, then I don't want to tread on anyone's
toes by linking to it directly .. as forums have sponsors.. Under Garmin / Products / GPS OEM Sensors
is an online catalogue of GPS receivers that don't offer any functional value until they are
coupled with some other equipment that logs or displays data that they provide.
The Garmin site offers detailed manuals like I must recieve from eBay sellers before I will consider

A lot of the new gps mice are usb is there a workaround for that?
It wouldn't be pretty. as far as I know, the PSP will never be a host to a USB device.
That rules out what would be the nicest way to do it. Serial data might be available inside the case.
I like the serial one because you can talk to it with any serial program. without the need for any
proprietary software. USB does have the advantage of working with a laptop without the need
for any USB to serial converter.

I looked at the time at 6:00 this morning and it was 26:00!
I did a UTC adjustment for Australia and forgot to blank the first digit (could be 1 or 2) if the
time is converted from about 14:00 UTC or later, to my +10hrs local time with no tens or twenties digit.
I will post a small correction to my LUA program later rather than replacing the whole package
just for that.
Art.

16. Originally Posted by Art
A bit of an update... I have emailed an eBay seller about a 4cm square GPS mouse based on a Sony
chip. There are other common cheaper units on eBay. a cheaper mouse would reduce the cost of this
project signifigantly. This is one of the reasons I suggest people hold off for now, another is
that I will take big leaps with this project initialy.

If you must go ahead and buy what is quite an expensive mouse, then I don't want to tread on anyone's
toes by linking to it directly .. as forums have sponsors.. Under Garmin / Products / GPS OEM Sensors
is an online catalogue of GPS receivers that don't offer any functional value until they are
coupled with some other equipment that logs or displays data that they provide.
The Garmin site offers detailed manuals like I must recieve from eBay sellers before I will consider
Cool. So, what you're saying is that you're going to buy some users manuals on GPS mouses and see if they are compatible?

And I like that other persons idea, you should find a company tht would help you sell them when you finish. The hardware, not the mouse. Think about it.. Make them for 25-30\$, sell them for 50-100\$... now think about how many people are going to buy it! You'd be rich!

17. This is sweet!!!!!!!

I cant build anything tho I'm only 12 after all.

other type of GPS mouse they're probably out there if you look for them, but if
someone is selling quantities on eBay, they should have the manuals handy.
You can download free manuals for the entire catalogue of Garmin products from their
site. The Garmin is a good GPS, but it's hard to recommend something of that quality
and price unless people have a real interest in GPS, and plan on more experimentation
than this project alone.

Here is the fix for the bug in time offset, it's very simple:
Code:
```tc = t1 * 10						-- perform local time correction for Australia
tc = tc + t2						--
tc = tc + 10						-- add 10 hours to UTC time
if tc > 23 then tc = tc - 24 end			-- limit to 24:00 hrs / begin from 00:00
t1 = 0							--
if tc > 9 then t1 = 1 end				--
if tc > 19 then t1 = 2 end				--
if tc > 19 then tc = tc - 20 end			--
if tc > 9 then tc = tc - 10 end				--
t2 = tc							--```
It's easy to find the section to replace in the LUA script file because it's almost identical.
You should also be able to clearly see how to adjust for your own local time
if you need to.
Cheers, Art.

19. A lot of the Mice out there are usb its hard to spot a serial one i didnt want to plug it into the psp but what if i connect the wires? afaik theres 4 wires transmit recieve power and ground

20. Originally Posted by Squall333
A lot of the Mice out there are usb its hard to spot a serial one i didnt want to plug it into the psp but what if i connect the wires? afaik theres 4 wires transmit recieve power and ground
Did you even look at his file package??

And Art, that makes sense. So.. how much money do these serial GPS mouses cost around? (I dont want to spent 2 hours looking...though you would have an estimate).

21. The one I am looking at is based on a Sony chip (hows that for uniformity?),
has both a USB and serial plug (that's a plus for laptop owners), and there are
plenty available on eBay (at least from this particular operator in Australia).

Again, I shouldn't post direct links to products on eBay or other sites until I am sure
about rules of this forum that pertain to that sort of thing.

The guy selling them has been cooperative with providing info about them and I
will have one on the way shortly. they are about \$90 AU, but I can negotiate a better
price for volume over 10.
Even at full price that is a big difference from the Garmin unit.
I think they can both work with exactly the same chip and PSP software so there
should be no need to change anything if you were using either of these two units.
it looks like many other serial models would be suitable, but it will only get to the
stage where I personaly test this one. I don't want to buy a whole lot of different
models to see how many I can get to work, but if someone has one with a manual,
I might be able to help.

I am trying to answer all questions as best I can.
Squall333, If you are talking about connecting the four wires directly from a USB
unit to the pic circuit that can never work. The Sony chip based model just happens
to have a seperate USB plug that appears to give it more flexibility.

I can describe how RS232 serial comms work in a page of text, but you can buy
a whole text book about USB and throw it away out of frustration trying to understand it.
Art.

22. Is the gps mouse you're using battery powered?

Because i don't understand why it would communicate with 0,5v on the pic, and -12,+12v when its plugged in a computer.

Also, you could check out the lassen iq gps module and integrate it to the board.

You could also use a 2.5v pic and power it directly from the port.

Those are only suggestions.

I'm currently looking out different ways to make a gps module that would plug directly in the psp port (2.5V) and work by itself without any external power. The only problem is that all the gps modules availables are all either 3.3v or 5v and the only place on the psp where you can get 5v is from the contacts beside the usb port. And i don't even know if they are always enabled.

Anyway, i'll tell you if i find a better alternative. (the lassen iq model il 49\$)

23. The Garmin unit I'm using came with a car lighter plug that I cut off to suit another
project. There was a regulator in the lighter plug that provided the unit with 5 Volts.
I have powered it directly from 4 x AA NIMH cells, and at other times, the output of
a 7805 regulator.

Although it's not my only intended use, I'm keeping a car installation in mind where
the regulator in the lighter adapter also powers the pic circuit. I have set it up this
way temporarily. Some people also prefer to mount the GPS on their bullbar.

Because i don't understand why it would communicate with 0,5v on the pic, and -12,+12v when its plugged in a computer.
In most instances, it does. When I make other pic projects that need to connect to a
true desktop RS232 port, I often do so without any level converters, and they work.
I invert the TTL signal with the pic software first, and use current limiting resistors:
RS232 Tx ---> 22K Resistor ---> Pic Rx pin
RS232 Rx <--- 1 K Resistor <--- Pic Tx pin
I don't know why it works, this comes directly from my pic compiler manual.
If I polish a project off properly, I invert the TTL serial (again) and use a MAX232.

What your suggesting is making a GPS peripheral something like Sony would do if
they went ahead with GPS device for PSP. That's good for you but some people who
say they are going to make this haven't done anything like it before.
Art.

24. Without a PIC programmer its impossible to do this, correct?

25. Well, with drivers for the GPS I think you could just use a MAX3232 (just like the one you use for the SIO, http://nil.rpc1.org/psp/files/PSP%20...0Converter.pdf , http://nil.rpc1.org/psp/remote.html and http://www.luaplayer.org/sio/readme.html for more information) but you twist the cables for RX/TX (so TX from SIO goes to RX for GPS and RX from SIO goes to TX from GPS) before connecting to the GPS serial RS232...
But this will take GPS drivers to be written for the PSP and also we would need an external power source (I suggest using an external powerpack that one uses to charge the PSP)...

Best regards!

26. aside from this working would it be possible to just utilise the software off and actual sat nav device. eg. the tom tom go which also has sybian OS versions.

27. ## Gpsp-v3

Well, with drivers for the GPS I think you could just use a MAX3232 (just like the one you use for the SIO
Yes, if backyarders can access the software that Sony write without upgrading
that would be good. I still don't know if it can be fast enough in LUAplayer.

If someone knows how to read a string of bytes faster than I'm doing let me know.
I don't see too many people documenting the serial port on the LUA forums.
Without a PIC programmer its impossible to do this, correct?
That's true, and it is better to have one because the pic code will be updated
as it is in version 2. There is a simple way to biuld a programmer into the pic
circuit with just a few resistors. It plugs into a PC serial port to program it with
free IC-Prog software. I might see about doing that in the schematic later.
I think this is cool but a lot more people would believe you if you posted pics of it on your pspscreen and the gps.
That's ok, noone suggested that they didn't believe me so it's not required,
but for intrest sake, You'll notice I went to some trouble to get a photo of
the PSP screen that can be seen while the area with the hardware in it is lit. :)
I did this with a desklamp, and a well aimed spotlight. This photo is in the new package.

There is a parts list in the new package, the position fix data is now extracted
from an NMEA sentence common to the Garmin and the Sony unit from eBay,
the new circuit has no need for the 4.7K resistor tied to +5 Volts because the
MCLR is turned off in the pics software. The current limiting resistor is now
22K to better protect the PSP. this is the highest value I tried where it still
worked reliably, There are small improvements and bug fixes to the software.
A 'top speed' field has been added to the speedometer screen, and is saved
to file on program exit.
The GPSP-V3.zip package is complete, and previous version packages should be discarded.
Cheers, Art.

ps
Thanks go to a forum member called 'jabi' for pointing out an error in the schematic
where the 33uF capacitor is connected to the 7805. The capactor is supposed to be connected
in parallel with the supply voltage prior to the regulator, not in series.
The schematic has been corrected for this release.

There is a callibration error in the world map, but since the callibration values
can be edited in the LUA script, and the map pictures can be edited, this will
be an easy fix.

28. wow, some nice improvements this time around, and your setup looks very clean... let us know about the sony mouse, cheaper cost with same result is always nice, can't wait to build one myself

29. I have got the next one saving the vehicle or person's top speed to a text
file using a modified verion of the highscore saving function out of LUA snake
by Shine. The session top speed value could also be displayed on the lower screen.
I don't like to think of a variable named 'topspeed' as a 'high score' on the street,
but more as a personal verification of speed in the event of a speeding ticket.
Art.

30. This looks like an extremely useful project. I'm planning to interface a Legend GPS -- are there any interface issues beyond simple voltage level conversions (e.g. MAX232 or whatever?)

Is serial port access currently available to homebrew under firmware 2.0? Thanks.

Page 2 of 3 First 1 2 3 Last

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•

All times are GMT -8. The time now is 11:57 AM.

Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY