The BrickPi3 connects LEGO Mindstorms with the Raspberry Pi.
On Raspbian for Robots, run DI Update to install the latest version.
On Raspbian:
-
Clone this repository onto the Raspberry Pi:
sudo git clone http://www.github.com/DexterInd/BrickPi3.git /home/pi/Dexter/BrickPi3
-
Run the install script:
sudo bash /home/pi/Dexter/BrickPi3/Install/install.sh
-
Reboot the Raspberry Pi to make the settings take effect:
sudo reboot
The following Lego Sensor and Motors are supported by Python and Scratch:
-
Lego Sensors
- EV3
- Ultrasonic Sensor
- Gyro Sensor
- Color Sensor
- Touch Sensor
- Infrared Sensor
- NXT
- Ultrasonic Sensor
- Color Sensor
- Light Sensor
- Touch Sensor
- EV3
-
Lego Motors
- EV3 Large Motor
- EV3 Medium Motor
- NXT Motor
In addition, the BrickPi3 firmware and Python drivers support custom analog and I2C sensors. Most NXT and EV3 aftermarket sensors should work if you add custom python support. See this python example for reading custom analog sensors and this python example for reading custom I2C sensors.
Please review the LICENSE.md file for license information.