NXT shield - M and arduino uno
 Hardware Related   Started by Snskreation S   2015-09-11 15:36:11 -04:00   Comments: 7    Viewed: 720

  1. Postby snskreationz » Thu Jan 10, 2013 4:58 pm

    I know the nxt shield M is made for the mega and not uno, but if I do connect the right pins to the proper place, would everything work the exact same way?
    Snskreation S, 2015-09-11 15:36:11 -04:00
  2. Mindsensors Support
    Mindsensors Support Member Richmond

    Postby support » Thu Jan 10, 2013 5:04 pm

    Yes, it will work. Refer to the Pins used by NXShield-M from the 'NXShield-Advanced-Development-Guide.pdf' at following url:
    Mindsensors Support, 2015-09-11 15:37:10 -04:00
  3. Postby snskreationz » Fri Jan 11, 2013 10:06 pm

    Hi again,
    Thank you for the link.

    Instead of asking many questions, I am going to explain what I am doing.
    I want to only use 2 NXT motors and then use my own sensors.
    Does this mean I can connect only SDA_BAS1 SCL_BAS1, SDA_BBS1 SCL_BBS1, connect motors on motor 1 on both sides, then have the rest of pins free?
    I used this shield quite a bit recently, but never delved this deep.

    Thank you for your support so far :)
    Snskreation S, 2015-09-11 15:37:23 -04:00
  4. Mindsensors Support
    Mindsensors Support Member Richmond

    Postby support » Sat Jan 12, 2013 8:18 am

    SDA_BAS1 SCL_BAS1, SDA_BBS1 SCL_BBS1 and SDA_BAS2 SCL_BAS2, SDA_BBS2 SCL_BBS2 are pins from arduino used by NXShield for digital sensor communication (on respective bank/port, e.g. BAS2 stands for Bank-A Sensor-2).
    Out of these pins, SDA_BAS1 SCL_BAS1 are also used for primary communication with the NXShield and communication for motors and analog sensors.
    the sensors you are connecting - are they i2c sensors or analog sensors?
    If they are i2c sensors, you should connect the respective pins from the list above.
    If they are analog sensors, you should at least connect SDA_BAS1 SCL_BAS1.
    Mindsensors Support, 2015-09-11 15:37:34 -04:00
  5. Postby snskreationz » Sat Jan 12, 2013 2:56 pm

    Thank you very much :)
    I plugged in Reset, 3.3V, 5V, GND x 2, Vin into the appropriate space, then plugged in SDA_BAS1, SCL_BAS1 and BTN_GO to the shield and right now I have 2 motors and 2 light sensors connected. 8-)

    I just have 1 more question; We can use the Colour sensor 2.0 as a light sensor through the NXT Mindstorms program, but when I initialize it as a light sensor, it just does not work. In the example in the provided library just uses it for lighting the LEDs. Is there a way to use it as a light sensor?
    Snskreation S, 2015-09-11 15:40:07 -04:00
  6. Mindsensors Support
    Mindsensors Support Member Richmond

    Postby support » Sat Jan 12, 2013 9:18 pm

    LEGO Color sensor is not compatible with NXShield yet.
    Mindsensors Support, 2015-09-11 15:40:18 -04:00
  7. Postby snskreationz » Sat Jan 12, 2013 10:45 pm

    Ok. Thats not a big problem
    Thank you very much
    Snskreation S, 2015-09-11 15:40:27 -04:00
  8. (You must log in or sign up to post here)

Log in | Sign up
Tems & Conditions!