08-16-2019, 11:03 AM
(08-16-2019, 10:50 AM)Vitalic Wrote: Is the GPIO for rearcam input or output?
I guess it is an inputvalue the trigger a script when Pin goes high? So if i use the reargear signal 12V i'll have to convert it to 3.3V for the GPIO to not demage the Pi.
At the moment my new PCB is produced for my own solution in BMW. Pibus sends a high in GPIO pin 17 if rear gear is selected and then a HDMI switch selects the source cam to be displayed on the display. Therefor AV Video is converted to HDMI.
Maybe i should give your solution a try as i don't need the switch anymore. Also USB cams should give better resolution then a AV cam.
How is the rearcam pic shown? Integrated in AOP or external window?
Yes, it works the way you described. When state of the desired pin is HIGH then rear camera video is visible. When pin gets low the video is hidded. Everything is integrated into OpenAuto Pro application via v4l2 driver.