pistorms module provides drivers for most of the functionality of the
mindsensors.com PiStorms including lego-port class instances
for the input and output ports, an evdev driver (evdev is not to be confused
with ev3dev) for the touchscreen and GO button, a power_supply driver for
monitoring the battery and an leds driver for the multi-color LEDs.
The PiStorms has four LEGO MINDSTORMS EV3 compatible input ports. There are some differences though. Sensors cannot be automatically detected, so you must manually specify the mode of the port before using a sensors. And in many cases, you must also manually specify the type of sensor that is attached. Furthermore, all four ports share a single I2C adapter (master) instead of each port having its own.
|Connection types||NXT/Analog, NXT/Color, NXT/I2C, Other/I2C, EV3/Analog, EV3/UART|
|Number of modes||6|
||I2C pass through|
For example, if we are looking at the port labeled “BBS2” on the
PiStorms, the address will be
|||The generic |
I2C signals are passed through
the input port to
NXT/I2C sensors will be automatically detected, otherwise
you must manually specify the sensor that is connected by
|||Only the LEGO EV3 Touch sensor is supported. The driver will load by default.|
|||Only the LEGO EV3 Ultrasonic, Color, Gyro, and Infrared sensors are supported. When this mode is set, a sensor device will be registered for the type of sensor that is attached (or was most recently attached).|
The PiStorms has four LEGO MINDSTORMS compatible output ports. Unlike the EV3, motors cannot be automatically detected when attached. By default, the ports are configured with the NXT motor driver, which will work for most cases.
|Number of modes||1|
||NXT/EV3 Large Motor|
pistorms module provides six LED devices for controlling the LEDs
on the Pistorms. There are two tri-color LEDs. Each component (red, green,
blue) is controlled separately.
The device nodes can be found at
Some models of PiStorms only have one LED. The driver will still provide controls for two, but only one will actually work.