Page 1 of 1

ultrasonic sensor

Posted: 03 Oct 2011, 07:24
by freggel10
Hello,

I want to use the ultrasonic sensor to a microcontroller.
On the NXT you could connect to each input port an ultrasonic sensor. I assume that with the selection of ports the slave address of Ulatraschalsensors is changed, because they must different in an I2C system. Can someone explain to me how this works?

freggel10

Re: ultrasonic sensor

Posted: 03 Oct 2011, 11:54
by mattallen37
The NXT sensor ports' I2C buses are all separate. They are all individually bit-banged by the ARM7. The Ultrasonic sensor uses the lego standard I2C address of 0x02 (of bits 0-7).