|
 |
|
11-03-2008, 09:10 AM
|
#46
|
|
Low Bitrate
Join Date: May 2008
Posts: 66
|
Thanks, dMand :-)
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
11-03-2008, 10:27 AM
|
#47
|
|
Newbie
Join Date: Feb 2008
Posts: 3
|
car pc
That is a very nice setup. I am in the planning stages of my carpc now and watching your video has given me some ideas and questions. I don't want to offend you but are open to helping others with carpcs? I am very impressed with two aspects of your system, the first one is the LED sign and the second is the way you can talk to your pc and it responds.
Great job!
|
|
|
11-03-2008, 10:56 AM
|
#48
|
|
Low Bitrate
Join Date: May 2008
Posts: 66
|
I have no problem answering any questions that you have, but I'm a busy guy. Please don't ask me to give you my software (it won't work for you), or to do your work for you. This was a learning process for me and I am happy to share what I have learned.
-av
|
|
|
11-10-2008, 03:18 PM
|
#49
|
|
Newbie
Join Date: Nov 2008
Posts: 3
|
Wow, I think more than anything I admire the ingenuity involved in this install, especially the voice control and other software goodies.
I was actually building a Linksys Router into my installation as well (with DD-WRT) however in my case it was for WiFi.. I hadn't thought of using the WOL feature but it certainly does make things easy (I am currently just using a remote button.. was going to use a circuit to trip that).
Have you had any issues with your USB hubs? Some folks here have reported problems getting devices to stay recognized when using them, however it's sometimes hard to avoid them especially if you use a laptop (same here).
Nice to see homebrewing at this kind of level!
|
|
|
11-10-2008, 04:26 PM
|
#50
|
|
Low Bitrate
Join Date: May 2008
Posts: 66
|
Hi Junkie,
Thanks for your compliments! :-)
I've read that other people have had USB problems, but I think I've been lucky -- most of my USB problems were caused by power leakage, and I was able to solve most of those problems with well-placed diodes and relays. The system goes to Hibernate now after 10 minutes, and when it comes back, all of the USB connected devices work fine -- sound, camera, all the serial ports, the GPS, the microphone, the touchscreen, it's all perfect :-)
Cheers,
-av
|
|
|
11-13-2008, 08:35 PM
|
#51
|
|
Newbie
Join Date: Apr 2007
Posts: 32
|
A LED suggestion that i've always wanted to develop myself but dont' have the know-how would be this.
A digital measuring device would keep track of the distance of the car behind you. Then taking into consideration how fast both cars are moving the LED sign would flash up to the driver behind you that they are following you to close. Hopefully causing them to back off. I'm sure you could come up with something awesome like that.
|
|
|
11-14-2008, 12:24 PM
|
#52
|
|
Low Bitrate
Join Date: May 2008
Posts: 66
|
Hi PinPoint,
That is a neat idea, but probably not worth the cost of an expensive sonar or other rangefinding system.. Since I check my rearview while driving every 3-5 seconds anyway, I could just have a button to flash "Back Off" or something :-)
|
|
|
04-06-2009, 12:26 PM
|
#53
|
|
Maximum Bitrate
Join Date: Dec 2007
Location: Iowa
Posts: 534
|
Hey AvWuff, I know this almost a dead thread about now but i've checked out ur site and i love your gps tracking and the site that lets you see where your car is located. I'm interested in implementing this to run in the background. Any thoughts? How difficult was this?
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
04-06-2009, 02:36 PM
|
#54
|
|
Low Bitrate
Join Date: May 2008
Posts: 66
|
Hi Bxsteez,
It wasn't very difficult at all. Basically, I have a MySQL database running on the Car PC with two tables: "trips" and "gps". The Trips table contains "trip" information -- that is, each drive from point A to point B is a "trip". The software automatically creates a new trip if the car is started more than 10 minutes from the last event of the previous trip.
The "gps" table basically contains latitude, longitude, trip ID, date & time, and speed. A new record is added to this table every 2 seconds while the car is running.
Because keeping the data in the car isn't very useful, when I arrive back home, my software "syncs" this trip & gps data with my web-based MySQL server. For each trip, there's a flag "synced", and if that flag is false, it simply copies all of the GPS records over to the remote database, and then sets the flag.
The final part of the equation is displaying the data. That's pretty simple -- the trips table turns into the listbox that lets you select which trip you'd like to view, and when you select a trip, all of the points are loaded into a GPolyLine (part of the Google Maps API).
Then there's some extra stuff so that you can click on the line to see the date & time at that point, and the speed... data that is just pulled from the database.
The "Live" position reporting works in much the same way -- except it uses the internet connection in the car. It simply calls a script on my webserver with the current latitude and longitude every few seconds, and the server stores that info in the database and can then generate a map to display that information live.
Good luck,
-av
|
|
|
04-06-2009, 02:45 PM
|
#55
|
|
Maximum Bitrate
Join Date: Dec 2007
Location: Iowa
Posts: 534
|
This is what i thought but my problem is getting the information to the website to update the position. I'm new to webpage development so maybe it is simple and i just don't realize it.
|
|
|
04-06-2009, 02:46 PM
|
#56
|
|
Low Bitrate
Join Date: May 2008
Posts: 66
|
You need to have skillz in some kind of server-side scripting language (ASP, PHP, something like that) and a place to store the data server-side (such as a database).
I'm sure you'll figure it out. If not, there's a bunch of services online that do this sort of thing for you.
|
|
|
04-06-2009, 02:51 PM
|
#57
|
|
Maximum Bitrate
Join Date: Dec 2007
Location: Iowa
Posts: 534
|
Thats what i'm trying to pick up. I think i can write the webpage in java since i did some research on the google api and i think i can make the map page with no problem but i'm trying to find info on how to upload the gps info from the com port to the webpage. I wondered if i just stored it in a file and then send the file to the server. I'm not sure how efficient that would be if i want it to be updated at a decent rate. What do you think?
|
|
|
04-06-2009, 02:59 PM
|
#58
|
|
Low Bitrate
Join Date: May 2008
Posts: 66
|
No, no, basically you need a program running on the car PC that can open the com-port and read the NMEA data, and every 10 seconds or so, call a URL like this one:
http://www.yourserver.com/your/web/p...&long=-78.3332
with the numbers there replaced with the actual numbers
Then, in your php/java/whatever page, you look for those values coming from the URL string and store them in the database. It's not that hard to do server-side.
-av
|
|
|
04-06-2009, 03:03 PM
|
#59
|
|
Maximum Bitrate
Join Date: Dec 2007
Location: Iowa
Posts: 534
|
Interesting... I'm looking into PHP. This is probably gonna take me a while lol.. I know how to write in C and C++ but i've never written in java or php. Do you know if the google api can be used in php or is it just java?
|
|
|
04-06-2009, 05:28 PM
|
#60
|
|
Maximum Bitrate
Join Date: Dec 2007
Location: Iowa
Posts: 534
|
Ok i think i have a handle on thhis MySQL database thing. Enough to start writing code. Quick question. How do you get the information to the database? Basically how do i setup a url that will store information into the table of the database?
****NEVERMIND... i'm such an idiot lol****
Last edited by Bxsteez; 04-06-2009 at 05:43 PM.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:31 PM.
| |