This is a cross-platform library for Arduino and mbed OS for interfacing a microcontroller board with the Carrera® DIGITAL 124/132 slot car racing system. Data transmission uses a single pair of wires connected directly to the slot car tracks. Be aware, though, that the Carrera® Control Unit provides 14.8V (D132) or 18V (D124), so you have to convert that to 5V or 3.3V, depending on your platform, or you will most certainly damage your hardware. For starters, a voltage divider made of two resistors and an (optional but recommended) reverse polarity protection diode will do:
Image by Peter Niehues [CC BY-NC-SA] |
This project is still at an early stage and documentation leaves a lot to be desired, so you best have a look at the existing examples for now. To make the most out of this, you might also want to make yourself somewhat familiar with the CU data protocol (available in German only).
- In the Arduino IDE, navigate to Tools > Manage Libraries…
- The Library Manager window will open, and you will see a list of libraries that are currently installed or ready for installation.
- Search for "Carrera" using the search bar.
- Click on the item, optionally select a specific version, and install it.
Copyright (c) 2017, 2021, 2023 Thomas Kemmer.
Licensed under the Apache License, Version 2.0.
Carrera® is a registered trademark of Carrera Toys GmbH.
This is not an official Carrera® product, and is not affiliated with or endorsed by Carrera Toys GmbH.
Thanks to Stephan Heß and Peter Niehues for doing all the hard work.