Home

Awesome

CAN-bus-to-Arduino-to-Raspberry-Pi-Python-Keyboard-Press

This is a part of my car project. Basically I want to be able to use the media buttons on my car's steering wheel and trigger stuff on my computer. More exact a Raspberry pi running Android Auto (Open Auto). Goal is to get a button for volume up, volume down, media play/pause and a trigger for voice commands.

Dataflow

Components Needed - My Setup

How to run

Arduino Side

Normal Arduino stuff, except some modded library files that needs to be replaced. Follow there instructions to get everything installed:

Computer Side

This python script uses a kernal module named uinput to press keyboard keys in linux. Follow there instructions to install everything:

TODO:

Special Thanks and Inspiration