How do the two displays, and their touch screens get connected?
I see the OBD cable connection, two CAN interface chips,
a USB port, measurement of the 12v, and some power supply stuff.
Good luck on the enclosure.
Both displays are on one SPI interface. Each gets its own CS pin. I put the LED driver (2n2222 NPN at the top) on a pwm output so I can control the brightness. Am hoping to find a message on the canbus indicating the condition of the cars light sensor so I can dim the display whenever the LEAFs built-in instrumentation is dimmed. Worse case, I can add a cadmium sulphide cell to one of the spare analog inputs,
For the touch screen, I connect the X&Y in series (X- on the left to X+ on the right and similarly Y- on the left to Y+ on the right). Then I just connect the remaining connections (left_X+,left_y+,right_X-,right_Y-) to four of the analog inputs (16,17,19,20). Drive X+ to 1 and X- to 0 and read Y, then dirve Y+ to 1 and Y- to 0 and read X. Ends up decoding the two screens to two of four quadrants but it easy arithmetic to convert to more meaningful X&Y coordinates. There is a calibration routine you need to go through at least once to get good accuracy. Was kindof noisy so I had to filter a bit. I also added interrupt support so the routine is only called when you actually touch the screen (no wasted power or CPU time). Right now all it does is bring up a screen configuration overlay to let you select which display you want on each screen.
You do not have the required permissions to view the files attached to this post.