Take the 2-minute tour ×
LEGO® Answers is a question and answer site for LEGO® and building block enthusiasts. It's 100% free, no registration required.

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.

share|improve this question
    
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 :( –  Zhaph - Ben Duguid Mar 21 at 16:28
    
Looking for the sensors! I can gear up motors but how to get sensor values?! Thanks anyway though! –  user3089 Mar 21 at 19:13

1 Answer 1

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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