ultrasonic sensor

Discussion specific to the intelligent brick, sensors, motors, and more.
Post Reply
freggel10
Posts: 6
Joined: 21 Nov 2010, 10:29

ultrasonic sensor

Post 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
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: ultrasonic sensor

Post 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).
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests