The PF-for-Arduino® brick is motor driver for LEGO® PF motors that can be controlled with an Arduino board. The top of the motor driver has a 4 pin PF connector. The driver is compatible with the following motors:
The base has 8 anti studs to connect the motor driver to your MOC.
Brick: 2 studs wide, 4 studs long, 1 brick high
Cable: 20cm / 8"
The PF-for-Arduino motor controller has a 4 wire cable. The brown and red wire provide power to the controller and motor. The orange and yellow wires carry the the control signals to actuate the motor.
Connect the brown cable to the ground and the red cable to the positive terminal of a 9V power source. Connect the orange and red cable to a PWM pin of your Arduino® board. The S1 input controls the PF wire C1, the S2 input control the PF wire C2. Use the following control values to actuate the motors.
Use PWM to control the speed of the M, L, XL, and train motor or the angle of the servo motor. Respect the following voltage limits on the signal pins S1 and S2:
Dark Bluish Gray (base) / Light Bluish Gray (top)
3D printed ABS
Don't hesitate to contact us if you have questions concerning our train tracks.
| The PF-for-Arduino controller is available as 4DBrix™ part 1.01.002. |