Hi,
I am a new owner of tHe UNO-type bricktronics shield -rather satisfied so far.
I would like to operate NXT motors according to heading and tilt indications coming from a LSM303DHLC compass+accelerometer sensor.
From a first test, it appears that the bricktronics shield does not allow communication of external sensors wired to the IC2 SDA SLC pins (or I missed something …)
What about connecting this LSM sensor to one of the sensor ports of the bricktronics and using the ad hoc library ?
Thank for your help
A quick way to separate wiring from library issues is to run an I2C scanner with the sensor connected and motors unpowered. If it finds nothing, check SDA/SCL aren’t swapped, GND is common, and the shield isn’t holding those lines for another device. If the address appears but reads fail, check pull-ups and whether the LSM303 breakout is 3.3V-only; the Uno side is 5V, so level shifting may be needed. The sensor-port idea only works if that port exposes the same I2C lines, since the LSM303 isn’t an NXT-protocol sensor.