/gentex_magicmirror

Raspberry Pi to Gentex 657 rear view (LCD) magic mirror

Primary LanguagePythonApache License 2.0Apache-2.0

gentex_magicmirror

Raspberry Pi to Gentex 657 rear view (LCD) magic mirror


Sources:

Open font source: https://github.com/winjs/winstrap/tree/5a3c1341190e7585fd550e01cfded50ae4e8a4c7/src/fonts

pygame code based on: https://learn.adafruit.com/pi-video-output-using-pygame/pointing-pygame-to-the-framebuffer


Gentex Mirror Hardware

Notes on the Gentex 657 mirror. Driving reverse lamp pin (9) with a duty cycle of 10s on, 1s off keeps it from timing out. It works as low as 3.3V, driven from a raspberry pi GPIO.

The other thing to note - the switch resistor stack also works on 3.3V. Too bad the pi has no analog to digital converter to read it directly.

Mirror Pinout: https://ls1tech.com/forums/stereo-electronics/1887542-need-pinout-16-pin-mirror-camera-display.html#&gid=1&pid=1

Mating connector: TE Connectivity / AMP 917981-2 - Mouser carries them for $3.28 each.

Pins for connector shell (Order extras - they are fragile) - TE Connectivity / AMP 175265-1 - Mouser has them too. $0.27 each.


Setup Notes:

Use GPSD and chony for time sync.. https://photobyte.org/raspberry-pi-stretch-gps-dongle-as-a-time-source-with-chrony-timedatectl/


Demos

Example of the thing runing: https://photos.app.goo.gl/M7oZyTBy9QhEEuzM9

Alt text Alt text Alt text