The Renault Clio circa 2016 is a worthy sufficient machine. However thrilling? Not a lot. Till now, that’s, due to a cybersecurity outfit within the UK, Pen Take a look at Companions, that has transformed only one such mainstream purchasing machine right into a driving recreation controller by intercepting CAN bus knowledge (through The Reg). Oh, and sure, the automotive can nonetheless be pushed. However ideally not whereas taking part in video games.
Whereas a 2016 Renault Clio is hardly the final phrase in bleeding-edge automotive tech, it’s new sufficient to have sensors the place it issues—on the steering, the brakes and the throttle pedal. And meaning there’s knowledge flying across the automotive everytime you use these controls.
Pen Take a look at Companions tapped into the Clio’s Can bus, which is the first knowledge system utilized by fashionable automobiles. They accessed the Physique Management Module (BCM) by tapping immediately into the CAN wires utilizing a wire splicer.
“The splicers are low-cost merchandise that simply reduce away a tiny little bit of insulation from the wires and permit a faucet to be made. They’re typically used for including third get together merchandise to automobiles (e.g. monitoring black bins) and might be purchased from quite a lot of locations. Mine got here immediately from Amazon,” says David Lodge of Pen Take a look at Companions. Not precisely rocket science, then.
Properly, not but. Figuring out what messages are despatched when utilizing the steering wheel, brake and throttle was the primary drawback.
“A while within the hack automotive shifting the steering wheel and urgent the pedals allowed me to determine the arbitration IDs and which bits of knowledge had been used for every state. I’m not going to go too far into the CAN protocol right here, in essence, when you get {the electrical} state proper and know the bus velocity (which I used a Kvaser Leaf Professional for), an ordinary CAN packet consists of an 11 bit arbitration ID, 8 octets of knowledge and a choice of flags and metadata in regards to the packet,” Lodge explains.
Properly, obvs!
“As a result of CAN packets are so small (8 octet payload) and there are solely a small variety of arbitration IDs (0x800, or 2048 in decimal) and smaller arbitration IDs have a better precedence, typically messages go all the way down to particular bits inside the packet. A number of CAN database codecs discuss with the packet as a stream of bits quite than utilizing octets, however my thoughts works in octets,” he explains.
Me too, David, me too.
If that is the indicators decoded, remaining step is feeding them right into a recreation by some means. “Making the CAN messages do one thing required a translation methodology, I might patch the SuperTuxKart supply to take controller enter from CAN, however this may have taken fairly a little bit of time and required a full construct atmosphere. So I cheated discovered a straightforward route,” Lodge says.

He used the Python module pynput to difficulty enter system occasions however discovered the casr’s CAN bus system was truly too quick. “When testing I steered, it then pressed that key for each packet, resulting in a whole bunch of key presses for every occasion, with SuperTuxKart lagging means behind the CAN bus,” he says.
After filtering the outputs from the Can bus to make them usable, the final main drawback was the steering. “Steering although, steering was my bane,” Lodge says. “We weren’t partaking the engine, the ability steering wasn’t engaged. We additionally had the automotive’s tyres on a bodily flooring and as there was a mechanical hyperlink to the entrance wheels, they all the time moved.
“I didn’t need to tear up the tyres or the ground, so I made the steering threshold comparatively small (< 0x8030 was proper, > 0x80d0 was left). This principally labored, apart from a few individuals who tried to steer prefer it was a automotive which should’ve been exhausting to do and possibly took off fairly a little bit of rubber from the tyres,” he explains.
For the long run, there are some particulars Pen Take a look at Companions want to add. “SuperTuxKart has weapons which could possibly be fired. I actually hoped I might put in a management for these, ideally the horn. Sadly the Clio makes use of LIN to handle the controls on the steering wheel and the horn doesn’t use CAN.”
Lodge additionally says that sending messages to the instrument cluster to indicate velocity “would’ve been the cherry on the highest,” however he ran out of time. That stated, subsequent time, Lodge needs to do one thing barely completely different. “Anyone obtained an affordable bike they need to promote?” Watch this area. And the street, for those who’re driving.

Greatest CPU for gaming 2025
