I'm trying to use the Mindsensors's Motor Multiplexer, but I'm not sure how to connect it to the NXT?

So far, I have connected the MMX (port NXT) to the NXT (port S1), connected the green thing on it to a 9 volt battery (can I use this or do I have to use a 6-AA Battery Holder with NXT Mounts?), port M1 to a lego Interactive Servo Motor , and port M2 to a converter cable to a PF extension wire to a LEGO® Power Functions M-Motor.

This is the code I am using, but it doesn't seem to work?

///////////////////////////////////////////////////////////////////////////////////////////////////// Simple testprogram to show the functionality of the Mindsensors NXTMMX interface in RobotC// The interface/driver is based on the NXC interface written by Deepak Patil for easy migration//// Written by Rudolf Lapie// 26 APRIL 2010///////////////////////////////////////////////////////////////////////////////////////////////////

// The driver routines for the Mindsensors Multiplxer#include "NXTMMX-lib.h"

Is the polarity of the battery connected right? A 9V block battery will not last very long. I would try to find an alternative, if I were you. I use a PF battery pack (6xAA) with a home made adapter cable for it to the MMX.

I took a normal PF extension cable and snipped it in half. You can find out which pin carries what here: http://www.philohome.com/pf/pf.htm in the "Power Functions working" section. I then soldered a black and red one onto the right PF wires: These are "breadboard wires". They have a stiff, solid wire end to them which makes soldering onto them easy and also stay in the green connector on the MMX very nicely.I used some simple heat shrink sleeving on the part where there PF wire and these wires meet. You can use electrical tape, too, if you prefer.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum