Loading files…
Welcome to the Sim Racing Button Controller repository!
This project is built around an ATmega328P microcontroller, which is configured to manage a button matrix tailored for sim racing setups. The system uses I2C communication, where the Arduino Micro acts as the master and the ATmega328P functions as the slave (Address standard 8). This ensures precise control and synchronization between the components.
The ATmega328P transmits a 16-bit signal representing the states of up to 16 buttons only when requested by the Arduino Micro. This on-demand communication minimizes latency and ensures efficient data transfer. Additionally, the PCB includes support for a joystick connection, expanding its versatility.
This project complements MySimRacingCore, which serves as the brain of the entire sim racing system. Together, they deliver a modular and high-performance solution for sim racing enthusiasts.
Example PCB for this project
You can either use the precompiled HEX file or compile the firmware yourself.
Install PlatformIO
Clone the Repository
git clone https://github.com/lusmdl/MySimRacingButtonBox.git
3. Open the Project
#define I2C_ADDR 8 in ProjectConfig.hpp to match your I²C master device configuration.The default address is 8. If you intend to connect this device twice, use addresses 8 and 9. The master will handle the rest.
Build and Upload
pio run --target upload
Hardware Connection
Running the Firmware
We welcome contributions from the community!
First, read the general contributing conventions for projects from me.
git checkout -b feature-branch).git commit -am 'Add new feature').git push origin feature-branch).This project is licensed under the MIT License - see the LICENSE file for details.
No comments yet. Be the first to ask about this board.