Project Updates for 5/14/2018
After looking at a few charts, I believe the CAN inputs are for M-CAN (though I did see a couple of sources say C-CAN so I'm not 100% certain), which is the Multimedia CAN channel that the car interfaces with the AVN (Audio/Video/Nav) unit. The next step would be to find where the wires go to it.
At lunch on Friday, I swapped the data lines for the USB port and tested them only to discover that swapping them reversed them. So I looked at some more diagrams and it appears that the one I pulled up off the internet the day before was wrong and that I had originally been correct in the color coding. So that was a wasted 20 minutes plus it'll be another 20 minutes to redo the wire swap. I guess I'm starting to learn now to test and then make the change and test again instead of change then test. So, that means I tested a bunch with everything in the correct position and the video from the camera looked pretty messed up while the USB port was connected to the radio. All I can really do is exchange the wires and try again. It looks like I may have to swap them on the adapter as well.
On Saturday, I swapped the adapter data wires and the wires in the car. I hooked everything up and just before putting it back together, I decided to test if we were getting voltage from the USB port to test with. It turns out that the pinout is reversed from what the diagram shows, meaning all I needed to do was turn the plug around and it worked fine. I also tested the Aux Port and that worked fine. So after going through all of that, I decided that rather than mess with the CAN bus for now, I would rather just have everything back together and so I went to assemble everything. It turns out there were a couple of posts on the back of the panel that goes over the stereo that were lined up for the old stereo and not the new one. I went ahead and shaved those down flat and was able to get everything together. I put the trunk back together as well.
So for my next project, I decided to start working on the 3D design of the camera adapter using OpenSCAD. This is the part I will print off on my 3D printer that will allow me to mount a camera at an angle. I got about as far as making the plate that will go against the car and the housing that the camera will sit inside. I still need to figure out some tabs for holding it into the car as well as take a few additional measurements. I ordered the stepper motor drivers since the ones that I have all seem to have bent pins or missing heatsinks and I think that's all I will need to get my 3D printer working.