5

I need to use multiple bricks in order to use more motors and sensors. I need to read sensor values, and tell motors to move.

I've tried using bluetooth, however my attempts haven't been very successful. I know you can pre-define motors/sensors, and then set parameters using remoteGetInputValues(), and the equivalent for motors.

Whilst playing around with this, I have noticed it doesn't work inside a loop, or inside it's own function?

Does anyone know of any tricks/hints/proper instructions on how to work it out? I've tried looking everywhere for this.

The firmware is up to date, and I am programming in NXC.

2
  • You might want to checkout the question How can I use more than three motors which might solve your motor problem. Not sure if you can multiplex sensors though :( Commented Mar 21, 2014 at 16:28
  • Looking for the sensors! I can gear up motors but how to get sensor values?! Thanks anyway though!
    – user3089
    Commented Mar 21, 2014 at 19:13

1 Answer 1

2

Maybe you should look into using a multiplexer to add additional sensors to an NXT brick.

The Hitechnic Sensor Multiplexer lets you connect 4 sensors using only 1 of the NXT connection.

enter image description here

The same thing can be done with motors. For example using the Mindsensors NXTMMX, you can add 2 additional motors per multiplexer (even better, if you daisy-chain the multiplexers together you can control more motors than you'll ever need)

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.