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]|
For cross-platform support, the mbino library must be installed when compiling for Arduino.
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 should also make yourself familiar with the CU data protocol (available in German only).
Copyright (c) 2017 Thomas Kemmer.
Licensed under the Apache License, Version 2.0.
Carrera® is a registered trademark of Stadlbauer Marketing + Vertrieb GmbH.
This is not an official Carrera® product, and is not affiliated with or endorsed by Stadlbauer Marketing + Vertrieb GmbH.