SlotForum banner

homemade carrera cu to pc cable

5.2K views 7 replies 3 participants last post by  radez  
Thanks for this post.
I got a homemade cable made out of a USB to TTL module and an old PS2 cable I had lying around.
First try was a console cable for a rasp pi. Too cheap didn't work. Second one I tried is a circut board with headers on one side and a usb on the other side. I had a PS2 cable in a box in the closet that I cut off and figured out the wire mapping. The image above verified against our 132/164 CU with a quick voltage check.

In case my experience helps someone:
I connected CU gnd to TTL gnd and CU RX to TTL TX and CU TX to TTL RX and used the carreralib python module. Viola! Lap counter and timer.
carreralib.readthedocs.io/en/latest/
 
Track is my 14yr old son's he wanted to have a lap counter but didn't have the cash to buy one yet. For now I think we'll just run the demo on a RaspPi I had lying around.
I may try and get him to build a pygame interface or a wxPython interface to display the data in a graphical interface and use it as teaching tool. For now the demo meets our needs. Hope you enjoy the pythonlib, I do a lot of python and was excited to find it.