Electronics

Racing Sim: Instrument Cluster – CAN-BUS

With the arrival of the chips required to build a CAN Bus interface (The Microchip MCP2515 and MCP 2551) and a CAN Bus shield for testing purposes I was able to get the Tachometer and Temperature gauge working on the instrument cluster. Thaniel has done a lot of work in documenting the various messages which has come in very useful. I don't own a BMW on which to perform the logging required to decipher the protocol (I'm more of a Citroën fan ;)). With some further experimentation I was able to figure out the individual bits that control various warning lights on the cluster, such as the engine management, cruise control and oil level lights. (more…)

By Terence Sharp, ago
Electronics

Racing Sim: Instrument Cluster – Speedometer

While waiting for a CAN Bus Shield to arrive in the post I decided to get to work on making some of the functions that don't rely on the CAN Bus interface work. The most interesting of these is the Speedometer. The speedometer expects a signal on Pin 19 of the black connector. On the pin diagram here it is listed as "Signal, Wheel Speed, Rear Left". Not knowing any more information than that I needed to figure out what sort of signal this input expected, was it a 5V/12V square wave? PWM? Measuring the voltage of this pin the cluster is supplying 12V so I started shorting it to ground, the speedometer began to twitch! Clearly I got lucky first time, the cluster expects the pin to be shorted to ground. (more…)

By Terence Sharp, ago
Electronics

Racing Sim: Instrument Cluster Project

I'll admit it, I'm a huge fan of Euro Truck Simulator 2. For such an oddball "game" the depth of the simulation is compelling and addictive. Last year I built my own "racing sim" setup out of a driver's seat from a Ford Ka, A Logitech G27 and a spare LCD Monitor. It's simple but it is far more enjoyable than being sat at a desk in a bolt upright position. With the release of SCS' telemetry SDK I finally decided to add a real life instrument cluster to my set up, it would give me an opportunity to do something useful with an Arduino and learn a bit more about reverse engineering in the process. (more…)

By Terence Sharp, ago