The MP3car.com Store The MP3car.com Blog    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > GPS

Reply
 
LinkBack Thread Tools Display Modes
Old 07-23-2006, 10:16 PM   #1
FLAC
 
PURDooM's Avatar
 
Join Date: Jun 2005
Location: Anoka County, MN
Posts: 1,020
PUR GPS Tracker 0.1b

Fustrated with currently avaliable free gps tracking solutions, I made one in php/VB6. Its special features over other programs include the fact you get to control your own server, and you can make ranges where your car is invisible. It also uses google maps. Why not give it a shot?

Edit: Webmaster has a hosted solution for this on page 5! So you can not worry about all the crazy mysql stuff and just set up a client. Check that stuff out!

(latest downloads on 4th page)

Edit: This is kinda specialized complicated stuff. I'll give you basic tips on setting this up but I DO NOT want to hold your hand on figuring out what an apache is or why you need to forward ports. Thats what google is for.

Continuing...

You need a working php/mysql web server, and an internet connection on your windows based carputer (boost mobile?). You can easily set up a php/mysql/apache server with something called 'WAMP'.

You will also need a gps splitter (gpsgate?) for the client software to make it work with hibernate/resumes, and to work with other gps applications.

No screenshots yet (I want to take some that doesn't reveal where I live), but I can push out the readme and url to bored people who want to give it a roll:

edit!
Downloads are on page 4!

Readme:
Quote:
PURDooM's PHP GPS tracker
v 0.1 beta

In order to use this, you need a web server which supports php and mysql, and basic knowledge on how to use it (googleable). On your server, make a database, then make a table named tracker with the command:

CREATE TABLE `tracker` (
`lat` float(15,10) default NULL,
`lng` float(15,10) default NULL,
`speed` int(11) NOT NULL,
`time` datetime default '0000-00-00 00:00:00',
`id` int(11) NOT NULL auto_increment,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

On your server, copy the contents of the 'server' directory wherever you want to use it.

Go to google maps api at http://www.google.com/apis/maps/ , and get an api key for the directory
you use for your tracker (example http://www.mywebpage.com/tracker).

Open trackcarheader.inc and put the api key sorrounded in quotes on the line that says $googleapi.

Edit $username, $password, $hostname, and $database to contain the appropriate settings to access mysql.

Put in a name for your car under $carname.

Put in a semi secret password for $badrangepass - this is what you will give to people who you trust
to know where your car is when it is at important locations, like home, school, or work.

If you wish, specify some bad ranges for lat and long numbers where you don't want strangers to know
where your car is. The format is:

$badrange = array('range1', 'range2', 'range3', ect...);

for each range, specify a minimum longitude and latitude, a maximum longitude and latitude, and a 1 word name for each range. You can find the ranges by centering google maps on the point, pressing link to this page, and copying the numbers after ll= in the url at the top of the page.

Next, put the contents of 'client' on your carpc, and edit the config. It looks like:

Upload Url:
http://www.mywebsite.com/gpstracker.php
Com port:
9
Frequency (miliseconds):
10000

Put the URL of the tracker web page on the 2nd line, com port on the 4th, and the frequency on the 6th (in miliseconds).

Make it start on startup somehow (startup folder?)

Run the program. If all goes well, you should be able to access the web page trackerview.php and see where the car is. If all doesn't go well, ask the forums.

If this works, its a minor miracle! I made this in only about 4 hours.

__________________
Current projects: iGmod reloaded (Latest release) (put on hiatus indefinatly)

Unlimited Internet and gps tracking for $6 a month with boost mobile!

Carputer 2: www.lmaocar.com

Last edited by PURDooM; 08-18-2006 at 01:33 AM.
PURDooM is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 07-24-2006, 12:33 AM   #2
Constant Bitrate
 
mccdeuce's Avatar
 
Join Date: Oct 2005
Location: Annapolis, MD
Posts: 151
anyway to make this work with the gps chip in boost phones?

I had been using Accutracking which was great but they have gone enterprise. Although I get free use still it would be nice to ensure some way of having service.
mccdeuce is offline   Reply With Quote
Old 07-24-2006, 01:14 AM   #3
FLAC
 
PURDooM's Avatar
 
Join Date: Jun 2005
Location: Anoka County, MN
Posts: 1,020
Well, it uploads via boost mobile easily, but I am not so sure about accessing the boost gps. I will have to look into that.

I don't trust the software on boost phones to work right - the phone suspends an application when it gets a phonecall. If I can find away around that then I can program a gps assisting application that starts when the phone turns on to help me out.

I will have to learn this codeplugging business I guess.
__________________
Current projects: iGmod reloaded (Latest release) (put on hiatus indefinatly)

Unlimited Internet and gps tracking for $6 a month with boost mobile!

Carputer 2: www.lmaocar.com
PURDooM is offline   Reply With Quote
Old 07-24-2006, 10:43 AM   #4
FLAC
 
PURDooM's Avatar
 
Join Date: Jun 2005
Location: Anoka County, MN
Posts: 1,020
Now we got some good testdata in. Screenshot of the server end:



I'll post client pictures later.
__________________
Current projects: iGmod reloaded (Latest release) (put on hiatus indefinatly)

Unlimited Internet and gps tracking for $6 a month with boost mobile!

Carputer 2: www.lmaocar.com
PURDooM is offline   Reply With Quote
Old 07-24-2006, 11:01 AM   #5
FLAC
 
Join Date: Apr 2005
Location: Queens, New York
Posts: 1,388
Hey Purdoom, i dl WAMP and this thing looks very very confusing...How do i set up my own server using this program?
__________________
2002 Mitsubishi Galant
Progress: 90% [-▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓- ->

Carputer Specs:
Via M10K
512mb Ram
60GB HDD
Souund Blaster Audigy2 NX
OPUS ITX PC Case

Cheekz185 is offline   Reply With Quote
Old 07-24-2006, 11:31 AM   #6
FLAC
 
PURDooM's Avatar
 
Join Date: Jun 2005
Location: Anoka County, MN
Posts: 1,020
Quote: Originally Posted by Cheekz185
Hey Purdoom, i dl WAMP and this thing looks very very confusing...How do i set up my own server using this program?

You install it and suddenly your computer is a web and mysql server running on whatever ip number is at www.whatismyipnumber.com with the root directory being c:\wamp\www . This means you put that ip into your web browser, and you should see *something*, probably whatever file you put as index.html. Unless, you are behing a firewall or router, in that case you need to forward your port 80 to your computer.

I suggest navicat for browsing your mysql databases. Use user root, no password.

This has been discussed thousands of times before, as it is a general discussion about how the internet works and doesn't pertain to carpcs in particular.
__________________
Current projects: iGmod reloaded (Latest release) (put on hiatus indefinatly)

Unlimited Internet and gps tracking for $6 a month with boost mobile!

Carputer 2: www.lmaocar.com

Last edited by PURDooM; 07-24-2006 at 11:39 AM.
PURDooM is offline   Reply With Quote
Old 07-24-2006, 11:43 AM   #7
MySQL Error
 
Sonicxtacy02's Avatar
 
Join Date: Sep 2004
Location: Woodbridge, VA
Posts: 5,136
subscribed to thread with hopes that makes light of day of the webserver issue
__________________
03 Acura RSX Coupe
a K.I.S.S Flash, VB, and Autoit Programmer
Developer of: RRFusion, MovieTimes, (new)RRMail, & RR Plugin Manager
Coming Soon:RRChrome, & CentraFusion
Is Your RR Plugin Managed?
Sonicxtacy02 is offline   Reply With Quote
Old 07-24-2006, 12:05 PM   #8
Confusion Master
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 10,509
subbed
Enforcer is offline   Reply With Quote
Old 07-24-2006, 12:10 PM   #9
FLAC
 
PURDooM's Avatar
 
Join Date: Jun 2005
Location: Anoka County, MN
Posts: 1,020
Might as well, i plan on updating this software untill its easy to install, pretty, and uses AJAX functionality (update map without page refresh)
__________________
Current projects: iGmod reloaded (Latest release) (put on hiatus indefinatly)

Unlimited Internet and gps tracking for $6 a month with boost mobile!

Carputer 2: www.lmaocar.com
PURDooM is offline   Reply With Quote
Old 07-24-2006, 12:30 PM   #10
Confusion Master
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 10,509
Well I'm starting to look into tracking as I am looking to add it to AccessControl (as it seems it's been requested)
Enforcer is offline   Reply With Quote
Old 07-24-2006, 12:35 PM   #11
FLAC
 
PURDooM's Avatar
 
Join Date: Jun 2005
Location: Anoka County, MN
Posts: 1,020
Quote: Originally Posted by Enforcer
Well I'm starting to look into tracking as I am looking to add it to AccessControl (as it seems it's been requested)

The uploader is really simple: It just takes nema data, parses it (used an example from the internet), then feeds the information to a url using GET paramaters (like index.php?lat=23.76&long=37.54&speed=5). I bet you could do that. Then it is just a matter of making a web page that accepts, stores, and displays the data.
__________________
Current projects: iGmod reloaded (Latest release) (put on hiatus indefinatly)

Unlimited Internet and gps tracking for $6 a month with boost mobile!

Carputer 2: www.lmaocar.com
PURDooM is offline   Reply With Quote
Old 07-24-2006, 12:40 PM   #12
Confusion Master
 
Enforcer's Avatar
 
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Posts: 10,509
Just got some code to read the NMEA from the GPS and am playing with it. So I'm on my way
Enforcer is offline   Reply With Quote
Old 07-24-2006, 05:23 PM   #13
FLAC
 
PURDooM's Avatar
 
Join Date: Jun 2005
Location: Anoka County, MN
Posts: 1,020
Another server screenshot...

__________________
Current projects: iGmod reloaded (Latest release) (put on hiatus indefinatly)

Unlimited Internet and gps tracking for $6 a month with boost mobile!

Carputer 2: www.lmaocar.com
PURDooM is offline   Reply With Quote
Old 07-24-2006, 05:43 PM   #14
FLAC
 
Join Date: Apr 2005
Location: Queens, New York
Posts: 1,388
This pretty cool... How is this compared to mologogo?
__________________
2002 Mitsubishi Galant
Progress: 90% [-▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓- ->

Carputer Specs:
Via M10K
512mb Ram
60GB HDD
Souund Blaster Audigy2 NX
OPUS ITX PC Case

Cheekz185 is offline   Reply With Quote
Old 07-24-2006, 05:45 PM   #15
FLAC
 
SnyperBob's Avatar
 
Join Date: Nov 2001
Location: Illinois
Posts: 1,167
That's hawt, subscribing
__________________
www.mobile-effects.com

Free file hosting, picture gallery hosting for installs, PM me.

Internet's first Front End Skin browser, featured installs, downloads, links, informative articles - all free to registered users.
SnyperBob is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PPC Car GPS and MP3 mini How To hotrod_nut General Hardware Discussion 1 02-25-2008 02:24 PM
My GPS scenario & Bluetooth quest. gizak GPS 13 04-12-2005 01:11 PM
Delou Routis GPS USB install issues, please help... jedi7001 GPS 8 03-26-2005 11:29 AM
few gps questions fuctup GPS 2 03-02-2005 02:40 AM
Finished Building my GPS, now some ?s for the GPS gurus Dominik GPS 9 10-25-2004 02:34 AM


All times are GMT -5. The time now is 03:36 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics