Message Boards Message Boards

0
|
15292 Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Connecting Lego Mindstorm EV3

Posted 10 years ago
POSTED BY: Simon Lausen
4 Replies
Posted 9 years ago

Hi Simon,

I have some basic Mathematica code which can drive an EV3 lego robot over the bluetooth connection, ie control motors and read sensors etc.

The code is used in an internal project of mine:

Youtube video

It uses the Serial IO package to stream commands to and from the EV3 brick.

Please feel free to get in contact, my email address is julian.w.francis @ gmail.com

The code is a bit hacky, and good do with some improvements, but it does work.

Kind regards, Julian

POSTED BY: Julian Francis

Dear Simon,

Have you been successful with your project to connect EV3 and Mathematica?

THX and best regards,

Joachim

POSTED BY: Joachim Janezic
Posted 7 years ago

Dear Joachim,

Mathematica EV3 code

You might find the above code useful. From memory, using a previous version of this on my PC was quite tricky. However, I have used the above on my Macbook Air (using Mathematica 11.2). It was pretty straightforward,

just run the package, and eg in a new notebook type:

EV3Connect[]

EV3StartMotor[ EV3PortB, 50 ]

Feel free to let me know if you have any difficulties.

Kind regards, Julian.

POSTED BY: Julian Francis

Dear Julian,

THX for this link, which I haven't known before.

I will try this out later this week and will report about progress!

Best regards,

Joachim

POSTED BY: Joachim Janezic
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract