Author Topic: Writing software for a car-computer  (Read 19689 times)

Siekmanski

  • Member
  • *****
  • Posts: 2725
Writing software for a car-computer
« on: November 12, 2014, 11:01:45 AM »
Just bought a Mini Cooper S and was thinking about building and writing software for a car-computer.

I think i'll buy a mini-itx pc and installing a windows OS on it.
This one is realy small: http://www.gigabyte.com/products/product-page.aspx?pid=4857#ov

A 7 inch HDMI touchscreen as monitor and user interface.

Reading data from the board-computer via the OBD2 connector and display:

- Engine RPM
- Vehicle speed
- Throttle position
- Engine oil temperature
- Engine coolant temperature
- Distance traveled
- diagnostic trouble codes
- etc.

- Music player with nice graphics and music info.
- FM radio tuner, and displaying station name and other R(B)DS stuff on the screen.

The above i think i can handle, but how about controlling a mobile phone via Bluetooth ?

- Connecting a mobile phone for hands free calling via Bluetooth to the car-computer.

Anyone of you have tried this or can give me some hints how to write code to get this done ?

Marinus
Creative coders use backward thinking techniques as a strategy.

jj2007

  • Member
  • *****
  • Posts: 13957
  • Assembly is fun ;-)
    • MasmBasic
Re: Writing software for a car-computer
« Reply #1 on: November 12, 2014, 02:44:36 PM »
It seems you like challenges ;)

Chinese hacker installs Windows 98 on an iPhone 6
Quote
Bored of iOS8? There may be hope. A hacker has successfully installed Microsoft's Windows 98 on his iPhone 6 Plus, using a game emulator available in the App Store.

FORTRANS

  • Member
  • *****
  • Posts: 1238
Re: Writing software for a car-computer
« Reply #2 on: November 13, 2014, 12:36:17 AM »
Hi,

   Looks like a nice project.  Reading and processing the data seems
like the hard part.  No clue about the Bluetooth.  Keep us posted.

   Just playing with the small, mobile computer sounds fun.  Though
a laptop (or tablet) may be more practical and easier.   Except for
the data port?  How does that hook up?

Regards,

Steve N.

Gunther

  • Member
  • *****
  • Posts: 4198
  • Forgive your enemies, but never forget their names
Re: Writing software for a car-computer
« Reply #3 on: November 13, 2014, 05:01:08 AM »
Hi Marinus,

your plan sounds interesting. What about a tablet PC?

Gunther
You have to know the facts before you can distort them.

Siekmanski

  • Member
  • *****
  • Posts: 2725
Re: Writing software for a car-computer
« Reply #4 on: November 13, 2014, 08:05:45 AM »
Hi Steve,

I found it realy interesting that those mini itx pc's are very small with the power of a desktop pc and you can run Windows 8 on it.
6.7 by 6.7 inches (17 cm by 17 cm) is easy to hide in your car.
I was planning to remove my radio and use that space for this tiny motherboard.
It has all i need, fast cpu, fast video card, SSD harddisk, enough usb ports to connect to other devices such as GPS, OBD2, FM-tuner frontend etc.
It has al i need for this project.
I'm looking for a suitible mini itx motherboard now, haven't made a decision yet.
Maybe i remove my speedometer and replace it with my 7 inch touchscreen.

I found this to power it up a DC-DC ATX PC power supply designed for car pc:
http://store.mp3car.com/M3_ATX_125_Watt_Smart_Automotive_Power_Supply_p/l3-xcv4-0ygm.htm

Except for the data port?  How does that hook up?

What do you mean Steve ?

Hi Gunther,

A tablet is possible but with the itx pc i have much more posibilities to do what i want.

I'll try to do some bleutooth coding......  :dazzled:

Hi jj2007,

It seems you like challenges ;)

Yes i do.  :biggrin:
« Last Edit: November 13, 2014, 06:29:15 PM by Siekmanski »
Creative coders use backward thinking techniques as a strategy.

FORTRANS

  • Member
  • *****
  • Posts: 1238
Re: Writing software for a car-computer
« Reply #5 on: November 13, 2014, 09:49:33 AM »
Hi,

enough usb ports to connect to other devices such as GPS, OBD2, FM-tuner frontend etc.

Except for the data port?  How does that hook up?

What do you mean Steve ?

   You answered above.  You are going to hook it up via a USB
port.  So a laptop would still work for a lazier person.

Thanks,

Steve N.

jj2007

  • Member
  • *****
  • Posts: 13957
  • Assembly is fun ;-)
    • MasmBasic
Re: Writing software for a car-computer
« Reply #6 on: November 13, 2014, 12:41:15 PM »
Maybe i remove my tachometer and replace it with my 7 inch touchscreen.

That is asking for speeding fines :eusa_naughty:

I have a better idea: Go for the model with the integrated projector. Imagine: You park your car somewhere against a white wall, you put your arm around her shoulder, you switch on your BRIX, and ... ::)

Siekmanski

  • Member
  • *****
  • Posts: 2725
Re: Writing software for a car-computer
« Reply #7 on: November 13, 2014, 06:42:13 PM »
hahaha..  :biggrin:
I meant the speedometer it's in the middle of the car and it's quite big thus enough room for a touchsreen there.



The speed of the car is also shown on the RPM meter at the left.

Still have to make up my mind where to place the touchscreen.

Instead of a wall projector, i could install XBMC on it and then put my arm around her shoulder and watch a nice movie on the touchscreen......
Creative coders use backward thinking techniques as a strategy.

anunitu

  • Member
  • *****
  • Posts: 1150
Re: Writing software for a car-computer
« Reply #8 on: November 13, 2014, 10:47:36 PM »
You do realize that soon all cars will be robot controlled so all those meters and screens will only be to keep the riders amused as they sit back and nap.

Welcome to your future,where you get to kick back forever,and the robots will not let you take any chances....

Siekmanski

  • Member
  • *****
  • Posts: 2725
Re: Writing software for a car-computer
« Reply #9 on: November 14, 2014, 06:49:20 AM »
Yeah the future.... will we have fun driving such cars ?
Creative coders use backward thinking techniques as a strategy.

anunitu

  • Member
  • *****
  • Posts: 1150
Re: Writing software for a car-computer
« Reply #10 on: November 14, 2014, 07:08:36 AM »
They are talking about the first self driving cars in 2015,that from Tesla. If we don't actually get to drive,then I would guess the answer is no,I think you would have to be like the people that restore old cars to drive.

No more drag races...ahh so sad,but SAFE..the robots won't let us hurt ourselves..

Zen

  • Member
  • ****
  • Posts: 962
  • slightly red-shifted
Re: Writing software for a car-computer
« Reply #11 on: November 19, 2014, 09:19:02 AM »
MARINUS/SIEKMANSKI,
You really come up with some great concepts. And,...this one is so practical.
...You should think seriously about franchising it,...you will probably become a billionaire,...and, some day run into Bill Gates,...who will ask: "Why didn't I think of that ???"
Zen

anunitu

  • Member
  • *****
  • Posts: 1150
Re: Writing software for a car-computer
« Reply #12 on: November 19, 2014, 11:19:35 AM »
Well think about it,you could tweet,and twonk,and maybe twerk(Is that the dancing thing?) or maybe just plain have a conversation with HAL..Open the trunk Hal...Hal,please open the trunk....I am sorry Dave,I can not do that...

Zen

  • Member
  • ****
  • Posts: 962
  • slightly red-shifted
Re: Writing software for a car-computer
« Reply #13 on: November 20, 2014, 06:54:44 AM »
ANUNITU,
...I was thinking,...you could program a number of cool spy functions,...
For instance,...if you were being tracked by the NSA, for who knows what,...you could have a special function that intercepts the outgoing GPS coordinate data,...and, substitutes GPS data and current routes that are completely erroneous. But,...this would only be cool if you were a spy.
Zen

anunitu

  • Member
  • *****
  • Posts: 1150
Re: Writing software for a car-computer
« Reply #14 on: November 20, 2014, 07:27:56 AM »
So spoof your outgoing GPS data...ZEN,are you sure you don't work for the NSA??