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
ultrasonic sensor
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: ultrasonic sensor
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
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Who is online
Users browsing this forum: No registered users and 2 guests