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

조회 수: 1 (최근 30일)
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
René van der Meer
René van der Meer 2017년 12월 24일
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?

댓글을 달려면 로그인하십시오.

채택된 답변

Jannik Hahn
Jannik Hahn 2019년 12월 9일
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
Gautam Goel
Gautam Goel 2020년 11월 20일
Jannik
Thank you very much. I am excited to try this out.
Gautam

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 LEGO MINDSTORMS EV3 Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by