|
General Volvo and Motoring Discussions This forum is for messages of a general nature about Volvos that are not covered by other forums and other motoring related matters of interest. Users will need to register to post/reply. |
Information |
|
car computer- feasibility, functionsViews : 3879 Replies : 53Users Viewing This Thread : |
|
Thread Tools | Display Modes |
Jul 15th, 2019, 10:03 | #31 | ||||
Aka MadBabs
Last Online: Nov 11th, 2022 15:29
Join Date: Sep 2017
Location: London
|
MENU button- selection which display is the knob assigned to (centre/HUD)
CD button- active display to switch to OBD readout (torque) RADIO- active screen to switch to media center TEL- active screen to switch to home desktop OR telephone function (if developed) NAV- active screen to switch to SatNav BACK- self-explanatory OPTION- bring up context menu for highlighted option (equivalent to right-click in windows) knob rotation- scrolling trough options on active screen knob press DOWN- selecting the option Joystick UP/DOWN/LEFT/RIGHT- to be assigned at later stage Quote:
Quote:
Quote:
Quote:
__________________
`03 V70 Mk2 Auto 2.4 B5244 NA, 170Bhp, 295K miles (Now parts donor) '05 XC70 MK2 Geartronic, 2.5 B5254T2, 210bhp, 129k miles Last edited by ThomasG; Jul 15th, 2019 at 10:58. |
||||
Jul 15th, 2019, 11:40 | #32 |
Premier Member
Last Online: Mar 20th, 2024 18:26
Join Date: Jan 2016
Location: Cross Country
|
I have successfully read and decoded can bus on a Volvo and ibus on a bmw.
Compared to can bus, ibus is trivial. Dealing with high speed can data is not easy. Can bus is a real challenge to emulate an existing device when you have no lab environment and have to reverse engineer everything. Your project is sounding like a mega project that requires a team of >10 people with different disciplines and experience to make it successful. The devil lies in the detail. And some of the detail is difficult. Really difficult.
__________________
XC90 R-Design MY2009, Black Sapphire Metallic. HP-Sound, RSE, Nav, Tel, ParkingCam, BLIS, ParkingHeater, RestHeat, Removable Towbar, Summer: CRATUS 20x8 on Pirelli Scorpion Zeros 255/45, Winter: NEPTUNE 17x7 on Continental WinterContact 4x4 235/65. |
Jul 15th, 2019, 11:57 | #33 |
Aka MadBabs
Last Online: Nov 11th, 2022 15:29
Join Date: Sep 2017
Location: London
|
Yes, I`m aware of that..
Thats why in my pretty much first post i said that it may take me years, and it is even possible that i`ll never get it done.. Yet i`m this deep- i can as well plod on until i get really really stuck. in the worst case- i will learn new things, and that is valuable by itself. ---------------------------------------------------- bit more technical it is only a sketch of an idea, but the way i understand it now: for connecting that knob i will need to provide +12V onVin pin, 0V on GND pin and then most of descriptions i`ve read by now describes communication as "one wire" but connector is 4 pin, take out Vin and GND that still leaves 2 pins for data transmission. i need to catch up on canbus and i-bus, i think i`m missing something here but if i`m not- and only one of the pins is used to transmit/listen (i can assume this knob will be capable of listening to the bus as well, to accomodate backlight changes) and it is high level for "0" low level for "1" then i will need to provide +12V onto that line, but trough some resistor, carefully choosen as to allow the knob to pull the line to "low" state (that is- resistor not allowing too much current that might saturate the line) then its a separate matter of logging data stream i think it is safe to assume that the line will remain "silent" (that is 12V) until one or other button is pressed- then i would expect around 56bits of data transferred (8bit adress, 8 bit lenght, 32 bit message 8 bit checksum) this by itself may take me well into christmas..
__________________
`03 V70 Mk2 Auto 2.4 B5244 NA, 170Bhp, 295K miles (Now parts donor) '05 XC70 MK2 Geartronic, 2.5 B5254T2, 210bhp, 129k miles |
Jul 15th, 2019, 12:08 | #34 |
Aka MadBabs
Last Online: Nov 11th, 2022 15:29
Join Date: Sep 2017
Location: London
|
or just get one, strip it for electronics, and solder in a simple rotary encoder plus several bolean inputs onto usb bridge..
----------------------------------------------------- even easier- get one of these and strip for electronics it has scroll wheel (knob rotating) it has mcro joustick on top (knob as a joystick) and several buttons that can be re-assigned drivers already exist, Bobs the uncle
__________________
`03 V70 Mk2 Auto 2.4 B5244 NA, 170Bhp, 295K miles (Now parts donor) '05 XC70 MK2 Geartronic, 2.5 B5254T2, 210bhp, 129k miles Last edited by ThomasG; Jul 15th, 2019 at 12:19. |
Jul 15th, 2019, 13:25 | #35 |
Aka MadBabs
Last Online: Nov 11th, 2022 15:29
Join Date: Sep 2017
Location: London
|
donor found
requirements: scroll wheel non-potentiometer based joystick at least 8 buttons https://www.ebay.co.uk/itm/Microsoft...cAAOSwVh9cfVOp ------------------------------------------------------------- even better: http://www.leobodnar.com/shop/index....roducts_id=204 and that would pretty much close the section of making sure that the bmw knob will work.. as a bounus- it has 8 analog inputs that i could use for light sensors for example next: to use my proper (not the work one) laptop with virtual box, external screen (not touch just yet) and see how is it managing 3 instances of android each running own, sometimes resource-heavy, stuff. and trying to figure out how o forward controls into these emulated droids
__________________
`03 V70 Mk2 Auto 2.4 B5244 NA, 170Bhp, 295K miles (Now parts donor) '05 XC70 MK2 Geartronic, 2.5 B5254T2, 210bhp, 129k miles Last edited by ThomasG; Jul 15th, 2019 at 15:56. |
Jul 15th, 2019, 20:39 | #36 |
Aka MadBabs
Last Online: Nov 11th, 2022 15:29
Join Date: Sep 2017
Location: London
|
That's just not going to work you know...
OK, I can make that knob from BMW behave like a dial selector with buttons on USB, mimicking joystick or another game controller.. I could get it to work under Linux. Others managed, so why wouldn't i? But to forward it into virtual machine running android AND figure out a way of switching that control between virtual machines and Linux itself... That. That may be a bit too much. On the other hand.. That IoT idea from paddy, the one with several Pis and HA to keep them all lined up. That may still work. One of pis running xbian Another android And third android And then fourth some version of Linux with HA (or similar ) on it.. Each having its own HDMI output, I would simply need a 4X2 HDMI matrix switch. And in pararell to that- 4hostX1device USB sharing switch. Get HA to switch these accordingly. That is- 4hdmi sources available to display 1 (Together with touchscreen capability switching in line with HDMI) 4hdmi sources available for display 2(HUD) (Figure out how to painlessly invert the picture, to be reflected in windscreen) And separately- USB sharing switch with only 2 options To either connect USB device to that Pi that uses display 1 at given moment. Or to connect it to the one that uses display 2. There will be no issue of forwarding USB signals into any virtual machine, as there will be none. There may be lag on USB activity, though- each time knob is reassigned, that Pi will have to recognise USB device anew (or not?) And then what.. Voice + touch control for satnav? Knob + touch control for Xbian? Touch control for torque... ----------- I still think that if there is a will, there is a way!
__________________
`03 V70 Mk2 Auto 2.4 B5244 NA, 170Bhp, 295K miles (Now parts donor) '05 XC70 MK2 Geartronic, 2.5 B5254T2, 210bhp, 129k miles |
Jul 15th, 2019, 20:47 | #37 |
Aka MadBabs
Last Online: Nov 11th, 2022 15:29
Join Date: Sep 2017
Location: London
|
Or maybe use 4 of rasp Pi-4B, these have 2 HDMI outputs each..
Use mirroring for both HDMI outputs on each, quite literally "mirroring" as the one on HDMI 2 will need to be inverted. And then, instead of 4X2 matrix, use 2 independent 4X1 switches. First switch "gathers" all HDMI1 outputs from all 4 units and chucks that onto touchscreen Second switch "gathers " HDMI2 from all 4 and throws them onto HUD display.. Yet one more! No HDMI1 used at all! Instead, to use rasp dedicated touch panel and figure out a way if switching that between 4 units! HDMI 2 still inverted and still on a switch.
__________________
`03 V70 Mk2 Auto 2.4 B5244 NA, 170Bhp, 295K miles (Now parts donor) '05 XC70 MK2 Geartronic, 2.5 B5254T2, 210bhp, 129k miles |
Jul 15th, 2019, 21:01 | #38 |
Aka MadBabs
Last Online: Nov 11th, 2022 15:29
Join Date: Sep 2017
Location: London
|
Paddy74!
You, sir, are a genius!
__________________
`03 V70 Mk2 Auto 2.4 B5244 NA, 170Bhp, 295K miles (Now parts donor) '05 XC70 MK2 Geartronic, 2.5 B5254T2, 210bhp, 129k miles |
Jul 17th, 2019, 11:53 | #39 |
Aka MadBabs
Last Online: Nov 11th, 2022 15:29
Join Date: Sep 2017
Location: London
|
Change of approach.
It was one big and rather stupid mistake to try to do it all at once. One step at a time then. Just like I did with my previous (and my first at the same time) system (TV with common interface to all possible/accessible media services) Step 1: Get a tablet (GPS equipped, luckily I do have one) And do following: Fit it as HUD, check position etc, try to use it as either GPS satnav or OBD readout in that position. Try and find out how to map HID device (mouse, keyboard, joystick etc) into android. Establish possibility of changing key maps, that is- if for example joystick button 1 is pressed, it will be recognised as space bar of keyboard. Establish will it be possible to assign keyboard key to bring up menu of Torque. Establish will it be possible to assign keyboard key to be recognised as OK (single click of highlighted option) Establish will it be possible to map scroll wheel of given HID device to scroll trough options. With maps, establish will it be possible to assign a keyboard key to bring munu selection, and separate key to bring up "search" function. Again, scroll wheel to go trough menu or "recently searched" options, OK to make selection. This I think as 2 separate tablets, or, as I actually intend to do- make tablet to work in described way with torque, make notes, erase and try to do it again with satnav, using same tablet. Then third run with media center. Maybe android tablet still, or maybe by then I will be using raspberry Pi or something yet different. And only when all that is ready and tested, only then try to aggregate it into one device ir system of devices.
__________________
`03 V70 Mk2 Auto 2.4 B5244 NA, 170Bhp, 295K miles (Now parts donor) '05 XC70 MK2 Geartronic, 2.5 B5254T2, 210bhp, 129k miles |
Jul 17th, 2019, 16:06 | #40 |
Aka MadBabs
Last Online: Nov 11th, 2022 15:29
Join Date: Sep 2017
Location: London
|
Has anyone got photos of what exactly sits behind dash/clocks on P2 and P3 V70, please?
__________________
`03 V70 Mk2 Auto 2.4 B5244 NA, 170Bhp, 295K miles (Now parts donor) '05 XC70 MK2 Geartronic, 2.5 B5254T2, 210bhp, 129k miles Last edited by ThomasG; Jul 17th, 2019 at 16:45. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|