Answers.Body: <p>Maybe you should look into using a multiplexer to add additional sensors to an NXT brick.</p>
  
  <p>The <a href="http://www.robotshop.com/ca/en/hitechnic-sensor-multiplexer-lego-mindstorms.html" rel="nofollow noreferrer">Hitechnic Sensor Multiplexer</a> lets you connect 4 sensors using only 1 of the NXT connection.</p>
  
  <p><img src="https://i.sstatic.net/zIf50.png" alt="enter image description here"></p>
  
  <p>The same thing can be done with motors. For example using the <a href="http://www.mindsensors.com/index.php?module=pagemaster&amp;PAGE_user_op=view_page&amp;PAGE_id=134" rel="nofollow noreferrer">Mindsensors NXTMMX</a>, 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)</p>
  
  <p><img src="https://i.sstatic.net/hNAaK.png" alt="enter image description here"></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-03-22T14:32:57.417Z
Answers.LastActivityDate: 2014-03-22T14:32:57.417Z
Answers.UserDisplayName: pcantin
Body: <p>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.</p>
  
  <p>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.</p>
  
  <p>Whilst playing around with this, I have noticed it doesn't work inside a loop, or inside it's own function?</p>
  
  <p>Does anyone know of any tricks/hints/proper instructions on how to work it out?  I've tried looking everywhere for this.</p>
  
  <p>The firmware is up to date, and I am programming in NXC. </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-03-21T16:28:18.477Z
Comments.Text: You might want to checkout the question [How can I use more than three motors](http://bricks.stackexchange.com/q/646/56) which might solve your motor problem. Not sure if you can multiplex sensors though :(
Comments.UserDisplayName: Zhaph - Ben Duguid
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-03-21T19:13:06.287Z
Comments.Text: Looking for the sensors!  I can gear up motors but how to get sensor values?! Thanks anyway though!
Comments.UserDisplayName: user3089
Tags: <nxt><mindstorms><bluetooth><nxc>
Title: How to use two NXT bricks for 3+ motors and 4+ sensors?
UserDisplayName: user3089
ThreadText: # How to use two NXT bricks for 3+ motors and 4+ sensors?
  
  (Asked by: username_0 on 2014-03-21)
  
  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.
  
  **Tags:** nxt, mindstorms, bluetooth, nxc
  
  > **Comments:**
  > **username_1**: You might want to checkout the question [How can I use more than three motors](http://bricks.stackexchange.com/q/646/56) which might solve your motor problem. Not sure if you can multiplex sensors though :(  
  > **username_0**: Looking for the sensors!  I can gear up motors but how to get sensor values?! Thanks anyway though!  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2014-03-22. Score: 2
  
  Maybe you should look into using a multiplexer to add additional sensors to an NXT brick.
  
  The [Hitechnic Sensor Multiplexer](http://www.robotshop.com/ca/en/hitechnic-sensor-multiplexer-lego-mindstorms.html) lets you connect 4 sensors using only 1 of the NXT connection.
  
  ![enter image description here](https://i.sstatic.net/zIf50.png)
  
  The same thing can be done with motors. For example using the [Mindsensors NXTMMX](http://www.mindsensors.com/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=134), 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](https://i.sstatic.net/hNAaK.png)
  
  
  ---
  
  