NXT encoder, Arduino and Matlab to control motor rotation - RobotShop Forum

Putting robotics at your service™

Free shipping on orders over $75

NXT encoder, Arduino and Matlab to control motor rotation

Print view Share :
Previous topicNext topic

Page 1 of 1 [ 2 posts ]

New ( offline )
Posts: 1
Posted: 2018-04-12 15:56 
I am trying to work with my students taking a process control lab to utilize an Arduino Uno, Matlab and Lego NXT motors to open/close valves to control water height in a tank.

the NXT motor is equipped with a quadrapole encoder but students are having a difficult time to get it to run properly.

Using Matlab 2017 that has encoder library.

most blogs on the subject are dated (pre 2014) and thus not useful.

any guidance/suggestions are greatly appreciated.
Greg Ogden

User avatar
Expert ( offline )
Posts: 837
Posted: 2018-04-16 11:14 

Did you take a look at this video ? At 15:00, he explains how to control Lego NXT Motors with Matlab.
Here is also the RWTH - Mindstorms NXT Matlab Toolbox to control Lego Mindstorm NXT robots that might help you.

Brahim Daouas, B. Eng
Robotics Specialist - Electronic

RobotShop inc.
Putting Robotics at your service!™

Imagine it. Build it. Control it.™


All times are UTC - 5 hours [ DST ]. It is currently 2018-04-24 17:16