Can BrickPi be programmed from Matlab/Simulink to control LEGO NXT sensors and motors?

1 visualización (últimos 30 días)
Hi, Has anyone tried controlling LEGO NXT sensors and motors via BrickPi over Raspberry Pi 3's on-board WiFi? BrickPi is essentially an expansion board to Raspberry Pi: https://www.dexterindustries.com/BrickPi/.
BrickPi officially does not support Matlab/Simulink yet. I am wondering if anyone can point me to relevant resources to help figure out how to access and control these motors and sensors. Thanks, Gautam
  1 comentario
René van der Meer
René van der Meer el 24 de Dic. de 2017
Gautum, this is a very good idea! I would love to use this as well. I hope that someone already has done this. Otherwise would could start with the Dexter SW?

Iniciar sesión para comentar.

Respuesta aceptada

Jannik Hahn
Jannik Hahn el 9 de Dic. de 2019
Hi Gautam,
maybe a bit late, but you can use the "Simulink Support Package for Raspberry Pi Hardware" and control the motors and sensors via SPI. I actually use the "SPI Master Transfer" and extract the needed inputs from the c++ libraries provided by Dexters BrickPi3-master.
Cheers Jannik
  6 comentarios
Gautam Goel
Gautam Goel el 20 de Nov. de 2020
Jannik
Thank you very much. I am excited to try this out.
Gautam

Iniciar sesión para comentar.

Más respuestas (0)

Comunidades de usuarios

Más respuestas en  Power Electronics Control

Categorías

Más información sobre LEGO MINDSTORMS EV3 Hardware en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by