Saturday, April 15, 2017

MindPi - Version 1

A simple way to directly connect the Raspberry Pi and the Lego Mindstorms Ev3.


2 Computers - Raspberry Pi and Mindstorms Ev3
53 Lines of Python
42 Mindstorms Blocks

Why I Built It?
About four or five months ago as a gift a received a Raspberry Pi, I was appropriately great full but wished it was Lego! ) : I set it up played the Pi Craft or whatever that thing is called but got board in around fifteen minutes. Then it was set on the shelf and I went on my merry way. Then I thought of this so I could use both the Pi and the Mindstorms Brick together. So that's what I did.

How Does It Work?
The Raspberry Pi collects this infomation in the command line:

Welcome, What direction should the motor rotate?
(Left or Right)
Great, How many degrees
(90. 180, 270, 360):

Then it flashes the led in a pattern. The Mindstorms brick can receive this signal using the color sensor. Then in this example it uses that signal to rotate a motor the specified degrees.

When you click this link you will get all of the stuff you need to try it for yourself...
It will directly download as a .zip
If you have questions leave them on the video or here.

Legal: (:
Images Used were all created by Me or are cited below:

Mindstorms Brick

PI #2

PI Logo