MCA reverse video

Everything regarding communication-protocols like CAN, OBD, LIN, JTAG, BDM, I2C, SPI, ...
Gwe89
Pro
Posts: 332
Joined: 09 Feb 2019, 21:21

Re: MCA reverse video

Post by Gwe89 »

Hey I just had a thought does the convers send CAN data to the MCA to switch to AUX port/radio ect...
Go4IT
Pro
Posts: 967
Joined: 08 Feb 2019, 12:25

Re: MCA reverse video

Post by Go4IT »

Gwe89 wrote: 27 Apr 2019, 14:21 Hey I just had a thought does the convers send CAN data to the MCA to switch to AUX port/radio ect...
Of course. All you can do in Convers is send as a CAN message.
bigi
Starter
Posts: 27
Joined: 17 Apr 2019, 22:12

Re: MCA reverse video

Post by bigi »

thats interesting - as it would be good to make it so it auto switches the input to AUX when selecting the second video input; then when selecting it camn switch the video input and audio inputs via multiple relays too.

I wasn't sure if the buttons where working via LINbus - but as you can select inputs on the convers it must be using MM-CAN. what i am not sure of is if all MCA messages are sent via ID 433?
Gwe89
Pro
Posts: 332
Joined: 09 Feb 2019, 21:21

Re: MCA reverse video

Post by Gwe89 »

Go4IT wrote: 27 Apr 2019, 16:21
Gwe89 wrote: 27 Apr 2019, 14:21 Hey I just had a thought does the convers send CAN data to the MCA to switch to AUX port/radio ect...
Of course. All you can do in Convers is send as a CAN message.
Thanks do you know what ID this would be would they be sent on the 433
Gwe89
Pro
Posts: 332
Joined: 09 Feb 2019, 21:21

Re: MCA reverse video

Post by Gwe89 »

So
1E6: 00 0C E4 9B 00
Switches the convers to aux for a few brief seconds but MCA stays on radio
This is all bench set up
Convers+ wired to MCA via MM-CAN
and my canbus log tool, I logged mm with ucds which you have to log on ms with this then i played it back and the MCA and convers went to AUX so I'm slowly going through the log to find the right ID and data
Gwe89
Pro
Posts: 332
Joined: 09 Feb 2019, 21:21

Re: MCA reverse video

Post by Gwe89 »

Found it
To switch to AUX
1F2: 29 0B 00 FF FF A0 00 00
MM-CAN


Found
1F2: 20 07 00 FF FF A0 00 00
switches to radio
oscarboiro
Active member
Posts: 123
Joined: 19 Feb 2019, 21:50

Re: MCA reverse video

Post by oscarboiro »

Gwe89 wrote: 27 Apr 2019, 20:21 Found it
To switch to AUX
1F2: 29 0B 00 FF FF A0 00 00
MM-CAN


Found
1F2: 20 07 00 FF FF A0 00 00
switches to radio
Thanks!!, in my Kuga is not possible control the NX, and my UCDS dont read any command, i don´t know the mondeo/smax have this option from the convers+.

Exist another command to control NX from the convers+? im interested to play with this signals, is possible calculate another command?

Now one question to my proyect, i have solved all software problems, now i have installed the video switch. my first option is a intall a MAX4310 to 2 video input signals or 4311 to 3 video input, but to this pic exist only in SMD format and no good to test in my protoboard. after read some articles from video signal, i try to use 2 transistor NPN, i have some PN2222A, the problem is calculate the correct resistor to the base, i don´t know the consumption of video signal to calculate. i try with base resistor with 5Kohm, but have a little distortion in the image, later try with 4Kohm and 2Kohm and this options work fine, not heat the transistor. my questios is, what i need to calculate the best resistor value? is good option use the transistor, or is better think to install a MAX4310/4311?
i install 2 led to watch when the arduino switch, but i only install to first test, my purpose is take it out the LEDS.

I set preference to put rear video signal when put rear knob, and after turn off the rear signal, return to video mode. when you have a video mode of, after turn of the rear signal, the camera is activate 15 seconds, same of genuine.
Kuga MK1 owner
bigi
Starter
Posts: 27
Joined: 17 Apr 2019, 22:12

Re: MCA reverse video

Post by bigi »

So this has been worked on quite a bit in the last week or so!

I have been making a hybrid solution - using the VideoIn Conversmod addition to switch the video, but using custom code to replace the video in adapter. so far, on receipt of the activation code, it switches a relay for the secondary video input, and also switches the stereo to aux input. I am also going to add another relay trigger to switch the AUX input audio lines as well but that is not as important. on receiving the video off message, the video returns to the rear camera, and also turns the MCA input back to DAB Radio. It also has logic to switch the video back to RVC in the event it receives the rerverse signal. so far so good :)

But now i want to improve it even more :lol:

1. I would like to make it so after switching to AUX and custom video, upon switching back it goes back to the last source - but to do that it would need to know what it was - is there a way that can be done?

2. Eventually I want to make it independent of the convermod addon, for example (if possible) by detecting someone pressing the "INFO" button on the MCA to activate the video input - is there a way to do this or will this be an internal code? I suspect it must be sending something out for the convers info? when selecting another input i would need to capture to allow it to switch back - again it depends upon if the sources send anything out.

Here is my code so far - comments welcome :)
You do not have the required permissions to view the files attached to this post.
Gwe89
Pro
Posts: 332
Joined: 09 Feb 2019, 21:21

Re: MCA reverse video

Post by Gwe89 »

oscarboiro wrote: 29 Apr 2019, 08:51
Gwe89 wrote: 27 Apr 2019, 20:21 Found it
To switch to AUX
1F2: 29 0B 00 FF FF A0 00 00
MM-CAN


Found
1F2: 20 07 00 FF FF A0 00 00
switches to radio
Thanks!!, in my Kuga is not possible control the NX, and my UCDS dont read any command, i don´t know the mondeo/smax have this option from the convers+.

Exist another command to control NX from the convers+? im interested to play with this signals, is possible calculate another command?

Now one question to my proyect, i have solved all software problems, now i have installed the video switch. my first option is a intall a MAX4310 to 2 video input signals or 4311 to 3 video input, but to this pic exist only in SMD format and no good to test in my protoboard. after read some articles from video signal, i try to use 2 transistor NPN, i have some PN2222A, the problem is calculate the correct resistor to the base, i don´t know the consumption of video signal to calculate. i try with base resistor with 5Kohm, but have a little distortion in the image, later try with 4Kohm and 2Kohm and this options work fine, not heat the transistor. my questios is, what i need to calculate the best resistor value? is good option use the transistor, or is better think to install a MAX4310/4311?
i install 2 led to watch when the arduino switch, but i only install to first test, my purpose is take it out the LEDS.

I set preference to put rear video signal when put rear knob, and after turn off the rear signal, return to video mode. when you have a video mode of, after turn of the rear signal, the camera is activate 15 seconds, same of genuine.


Ucds dont log MM-CAN but I found if you make an obd adapter that connects the MM-CAN wires to MS-CAN wires of the ucds you can then log MM-CAN because they use the same 125k speed this is possible you can then play the data back to see if you have captured the data you need I then start deleting lines from the log and play it back and if the input stops then it's in the part that I deleted so it narrows the canbus data down so I have alot less data to go through I then play each one back till I find the one I need
oscarboiro
Active member
Posts: 123
Joined: 19 Feb 2019, 21:50

Re: MCA reverse video

Post by oscarboiro »

My problem is in the kuga mk1, the kuga mk1 only have ms-can and hs-can. In the mondeo mk4 is possible control the nx from the convers+, but in the kuga mk1 I only have steering wheel control to volume + -, forward, reward, mode and voice. And no more options.
Kuga MK1 owner
Post Reply