• Maybe dont need the CAN bus

    Saabman02/13/2023 at 11:20 0 comments

    I hooked up the Pi to the Van last night to look at the can data when the screen turns on but noted that maybe I dont need to send anything special to it from the head unit. Needs more investigation

  • RAspberry Pi Setup

    Saabman02/10/2023 at 22:16 0 comments

    It appears that the read screen receives some command from the head unit over the CAN buss to turn on when a DVD is selected. There is also a second input in the rear of the car which can display on the rear screen as well. This may go via a the head unit or it may be a video input on the rear screen which is just selected from the head unit. I need more time with the circuit to nut that one out.

    So I will set up a raspberry pi with a CAN buss adaptor to interface to the CAN bus and then log some data and see if I can work out what turns the screen on.

    Im using a Rasp pi 3B+ and the MCP2515_CAN module.

    The MCP2515 CAN module out of the box requires 5V to run but the Pi IO is only 3.3V. A slight mod is required to the board to allow the CAN driver to run on 5V and the interface to run at 3.3 for the pi. the path I followed is as per https://forums.raspberrypi.com/viewtopic.php?t=141052 The following image is from the same thread

    can-test-mod-50.jpgI found the pi would not reliable start with the 5V line connected to the driver chip. Ill look int why one day but in the mean time have found it works if I disconnect the 5V line start the pi  then connect the 5V to the CAN driver.

    This is a bit clumsy as I dont have a portable screen for the Pi so I connect the pi and MCP2515 module to the can bus - For a previous project I soldered a couple of wires into the radios blue tooth module and routed them out through the glove box for easy access.

    I then SSH into the pi from my laptop and run CANutils on the pi I then scopy the files to my laptop - I should work out a better way to do this. A USB CAN adaptor sounds like a good idea...

    192.168.1.25 is the Pis IP address.

  • Radio Connections

    Saabman01/31/2023 at 11:07 0 comments

    The Head unit is conected via 3 connectors

    • C1 we can leave for the moment as it is just the connection to the factory Blue tooth module -Ive got another project about that one
    • C2 Speakers Connect here along with power and CAN Bus in
    • C3 Video and Audio to and from the Roof console and the reverse camera

    POWER

    C2 - 1
    12V+
    C2 - 12
    Gnd

    CAN Bus

    C2 -2
    CAN -
    C2 -13
    CAN +

    Speakers

    C2 - 8Rear Left +
    C2 - 9
    Rear Left -
    C2 - 10
    Rear Right +
    C2 - 11Rear Right -
    C2 - 19
    Front Right +
    C2 - 20
    Front Right -
    C2 - 21
    Front Left +
    C2 - 22
    Front Left -