Page 1 of 5 12345 LastLast
Results 1 to 10 of 42

Thread: 2002 Volvo S60 Super Connected Car PC

  1. #1
    FLAC
    Join Date
    Jan 2008
    Location
    Dartmouth, MA
    Posts
    914

    2002 Volvo S60 Super Connected Car PC

    As I've accomplished nearly all my goals in my Car PC, and I won't be doing much work until next summer as I start college this year, I figured it's about time I make a "Show off your project" thread. Believe me, there is plenty to show off.

    The goals of this project start off like the typical car pc:
    7" touch screen in dash looking nice and clean
    Windows xp, slimmed down
    PC in trunk
    Powerful audio system
    Good performance

    Things took a swift turn when I encountered the Sheeva Plug. For those that don't know it's a headless linux computer with a retail price of $100 in the compact form of a wall wart power adapter. It consumes under 5 watts of power making it suitable for always-on in-car operation.

    Pair the sheeva plug with a verizon 3g USB stick, a wireless router, and a fusion brain, some serious programming and now you're packing a POWERFUL set of features. I love programming, I love tinkering. I've been programming since I was 9. Built my first computer when I was 10. I've never stopped tinkering. This was my ultimate toy.

    After many attempts at getting the formula just right, I got everything working:
    The output:
    • Always-on sheeva plug, always connected to the web.
    • Always-on wifi router. Providing a wifi hotspot around my car at all times.
    • Fusion brain attached to all my accessory lights, the desktop PC's turn on, my garage door opener, my amplifiers.
    • Software providing a control-system. It processes rules.
      --Ex. If car is on, and it is night, turn on accessory lights.
      --If car is on and PC is off, turn on computer.
      --If car is on and voltage is above 13, un-isolate my accessory battery.
    • Software providing an interface with the network/internet.
    • Various connections to the network interface:
      --A cenrafuse plugin
      --An ajax web page
      --A gps tracking ajax page
      --An AIM bot interacting with the the car through the web interface
      ----AIM bot provides SMS Text Messaging control from my phone
      ------I get text messages when my battery is low


    That's the list in the smallest possible nutshell. In subsequent posts I'll post pictures and all the in-depth details.

    I would also like to thank several forum members here for some of the help and tools they have provided me.
    tripzero - thank you for all the work you have done on linux. It makes working with the sheeva plug much easier
    chunkyks - thank you for your work on linux programs as well.
    2k1toaster - Hey I know I paid for the fusion brain, but thank you for the help you've given me. I'm sure at times I've been a a minor annoyance
    mp3car - the store has been excellent to me, and the forums are an amazing resource. Without stumbling on this site while trying to get my mp3 player hooked up to my stock radio, I would have never found the CarPC hobby.

    Picture to be added real soon...
    My Nearly Complete Car:
    http://www.mp3car.com/vbulletin/show...ed-car-pc.html

    Micro Control Center... Control Your Car Across the Internet
    http://www.mp3car.com/fusion-brain/1...-internet.html

    Website: (It's a work in progress, really. All my projects have taken me from ever really developing it.)
    http://paulfurtado.com/

  2. #2
    FLAC
    Join Date
    Jan 2008
    Location
    Dartmouth, MA
    Posts
    914
    Also if at any point in this thread you want more details, or some code to help you get started with your own project, feel free to ask. Really. I love answering questions and solving problems.
    My Nearly Complete Car:
    http://www.mp3car.com/vbulletin/show...ed-car-pc.html

    Micro Control Center... Control Your Car Across the Internet
    http://www.mp3car.com/fusion-brain/1...-internet.html

    Website: (It's a work in progress, really. All my projects have taken me from ever really developing it.)
    http://paulfurtado.com/

  3. #3
    FLAC
    Join Date
    Jan 2008
    Location
    Dartmouth, MA
    Posts
    914
    Before pictures:







    My Nearly Complete Car:
    http://www.mp3car.com/vbulletin/show...ed-car-pc.html

    Micro Control Center... Control Your Car Across the Internet
    http://www.mp3car.com/fusion-brain/1...-internet.html

    Website: (It's a work in progress, really. All my projects have taken me from ever really developing it.)
    http://paulfurtado.com/

  4. #4
    FLAC
    Join Date
    Jan 2008
    Location
    Dartmouth, MA
    Posts
    914
    Trunk Complete Pictures:































    My Nearly Complete Car:
    http://www.mp3car.com/vbulletin/show...ed-car-pc.html

    Micro Control Center... Control Your Car Across the Internet
    http://www.mp3car.com/fusion-brain/1...-internet.html

    Website: (It's a work in progress, really. All my projects have taken me from ever really developing it.)
    http://paulfurtado.com/

  5. #5
    Admin. Linux loser.
    Auto Apps:loading...
    Bugbyte's Avatar
    Join Date
    Sep 2004
    Location
    Corning, NY
    Posts
    7,359
    Blog Entries
    2
    I saw Paul's car at afkfest and it is flat out impressive! It really is incredible how he has managed to do some very innovative things with the Sheeva including being able to IM with his car.

    I'd like to know a bit more about the web page for the car and the rules based system. How does that work and is it on the Sheeva?

    I think some of these ideas would make ideal OSDash services. For example, a web page that you can set the parameters using the gui and those parameters would be sent to the car when it was online.

    Oh yeah, also some details on the battery isolation and charging system. I'm going to have to do this as well.
    Quote Originally Posted by ghettocruzer View Post
    I was gung ho on building a PC [until] just recently. However, between my new phone having internet and GPS and all...and this kit...Im starting to have trouble justfiying it haha.
    Want to:
    -Find out about the new iBug iPad install?
    -Find out about carPC's in just 5 minutes? View the Car PC 101 video

  6. #6
    FLAC
    Join Date
    Jan 2008
    Location
    Dartmouth, MA
    Posts
    914
    Some older pics from the beginning of the install:













    From my designing of a two-rack system. That turned into an utter failure and a mess.

    Amp level:


    Top level for cpu:


    Lit up:


    Ahh the good 'ole days.
    My Nearly Complete Car:
    http://www.mp3car.com/vbulletin/show...ed-car-pc.html

    Micro Control Center... Control Your Car Across the Internet
    http://www.mp3car.com/fusion-brain/1...-internet.html

    Website: (It's a work in progress, really. All my projects have taken me from ever really developing it.)
    http://paulfurtado.com/

  7. #7
    FLAC
    Join Date
    Jan 2008
    Location
    Dartmouth, MA
    Posts
    914
    Quote Originally Posted by Bugbyte View Post
    I saw Paul's car at afkfest and it is flat out impressive! It really is incredible how he has managed to do some very innovative things with the Sheeva including being able to IM with his car.
    Thank you!
    I'll break my response down into multiple posts. Give me a few minutes.
    My Nearly Complete Car:
    http://www.mp3car.com/vbulletin/show...ed-car-pc.html

    Micro Control Center... Control Your Car Across the Internet
    http://www.mp3car.com/fusion-brain/1...-internet.html

    Website: (It's a work in progress, really. All my projects have taken me from ever really developing it.)
    http://paulfurtado.com/

  8. #8
    FLAC
    Join Date
    Jan 2008
    Location
    Dartmouth, MA
    Posts
    914
    Quote Originally Posted by Bugbyte View Post
    I'd like to know a bit more about the web page for the car and the rules based system. How does that work and is it on the Sheeva?
    There's a lot of python scripts going on here. A MySQL database holds all data related to everything.

    Relays
    Theres a table which contains just relays and their states. Each row in the table has a relay number, a relay name, and a state: 0,1 ,or 3. 0 is off, 1 is on, 3 is turn on for .5 seconds then off.

    A python script constantly polls the table and then sends the appropriate command to the Fusion Brain Daemon over the DBUS to set each relay.


    Sensors
    Two mysql tables here. One holds all the current data on each mysql sensor. One holds a few minutes worth of history on each sensor.

    Again, python loads data from the fusion brain daemon and populates these mysql tables.


    "Views"/"Readable Data"
    This starts getting a bit more interesting. Here I have a mysql table called views. It has two columns. One is the name of the view, and one is how to come up with its value. Basically the second field allows you to enter raw python code that comes up with the value. I wrote some nice functions that allow things to be easier.

    Ex. typing sensor(5) will give you the value of sensor 5 on the fusion brain. Throw some math in there and you get some pretty nice features.

    All the values calculated from this table are processed with python and then they get thrown into the readable data table for quick access.

    Rules
    This table contains two fields. A condition and a command. Once again the condition is raw python. Nice functions here let you snag values from readabledata and sensors, as well as current relay states, obd2 values, web request, linux commands, gps location, or raw mysql queries.

    A python script runs through the condition field, if a rule's condition evaluates to true, it runs the code in the command field. Which has the ability to do anything python can do and some easy functions for setting relays.

    Command Line interface
    I wrote another python script with all the functions included. Typing commands at the command line allow you to get/set any piece of information with super-dumbed down commands. There is also another mysql table which contains shortcut commands.

    Ex. "exteriorn" will run relay(5,1), relay(6,1), relay(7,1) turning on the fog lights, door lights, and underglow.

    typing "coord" will return the latitude and longitude with the standard comma in between.

    many others exist.

    Web interface
    This is the easy part. Apache server. PHP installed.
    Using the "backtick operator" you can run a linux command from within php.

    http://ipaddress/commands.php?cmd=coord

    Will take "coord" and pass it to the python command line app, and return its output to the client.

    Now throw an ajax/jquery page on the server with some cool buttons and dialogs and effects and whatnot and you get a slick web interface which can be coded with several hours.

    Centrafuse interface
    Centrafuse plugins are coded in C#. C# has a WebRequest class. Instead of a web browser loading that url, a button in centrafuse does. Simple as that.


    AOL Instant Messenger Interface
    You've seen AIM bots. The likes of smarter child, or your friends getting turned into spammers. What if instead of a bot having some logic to reply, all it did was take the instant message, remove any text formatting and load it into that URL then reply to the AIM message with that url? Easy as that. The aim interface resides on a web server. It is also coded in python. This way if the car is offline, you get an appropriate message from aim. The remote web server also has a mysql storing the most recent values from the car so when the car is offline, you can still get somewhat updated data. You can also send a command that persists to whenever the car comes back online.

    SMS Text Messaging Interface
    AIM sends/receives text messages. End of story.
    My Nearly Complete Car:
    http://www.mp3car.com/vbulletin/show...ed-car-pc.html

    Micro Control Center... Control Your Car Across the Internet
    http://www.mp3car.com/fusion-brain/1...-internet.html

    Website: (It's a work in progress, really. All my projects have taken me from ever really developing it.)
    http://paulfurtado.com/

  9. #9
    FLAC
    Join Date
    Jan 2008
    Location
    Dartmouth, MA
    Posts
    914
    Quote Originally Posted by Bugbyte View Post
    Oh yeah, also some details on the battery isolation and charging system. I'm going to have to do this as well.
    The battery isolation is fairly simple. I have a starter battery and an accessory battery. In betwen there is a battery isolator with a fuse on each side.

    Basically the isolator is just a 200amp relay. You turn it on and off just like a relay. Only it can't be connected direct to the fusion brain as its coil draws way too much power. So you wire a standard fusion brain relay, to in turn control the isolator.

    A few of my fusion brain rules then decide when to isolate/connect the batteries.

    That answer your question or do you want/need more details?
    My Nearly Complete Car:
    http://www.mp3car.com/vbulletin/show...ed-car-pc.html

    Micro Control Center... Control Your Car Across the Internet
    http://www.mp3car.com/fusion-brain/1...-internet.html

    Website: (It's a work in progress, really. All my projects have taken me from ever really developing it.)
    http://paulfurtado.com/

  10. #10
    FLAC
    Join Date
    Jan 2008
    Location
    Dartmouth, MA
    Posts
    914
    These pictures were taken by protodelorean at afkfest

    This screen in the dash with my centrafuse control plugin showing:


    Another shot of the trunk:


    What's hiding behind all the prettiness:
    My Nearly Complete Car:
    http://www.mp3car.com/vbulletin/show...ed-car-pc.html

    Micro Control Center... Control Your Car Across the Internet
    http://www.mp3car.com/fusion-brain/1...-internet.html

    Website: (It's a work in progress, really. All my projects have taken me from ever really developing it.)
    http://paulfurtado.com/

Page 1 of 5 12345 LastLast

Similar Threads

  1. install mac mini
    By ssteger in forum VaultWiki
    Replies: 0
    Last Post: 02-09-2010, 03:47 PM
  2. Replies: 22
    Last Post: 12-17-2009, 07:21 PM

Bookmarks

Posting Permissions

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