12-26-2008 04:05 PM
01-06-2009 04:20 PM
Hi Arik:
Thanks for starting a new topic. Sorry for my delayed response -- I've been on vacation for several days.
Can you tell me what version of the NXT firmware you are using? Have you gotten other sensors to work successfully? Is there any way you can test your ultrasonic sensor with another NXT? What distances are you expecting to measure with your sensor?
01-07-2009 04:35 PM
1. The version of the nxt is 1.01
2. All other sensors are working OK
3 I entered the sensor block into loop and with my hand varied the disance frm 1 cm to 50,60 cm , the same readout 255!
01-07-2009 05:47 PM
I'd recommend upgrading your firmware. You can download version 1.05 from the MINDSTORMS support website:
http://mindstorms.lego.com/support/updates/
Look for the download named "LEGO MINDSTORMS NXT Firmware v1.05." I know an earlier revision of the firmware fixed some ultrasonic sensor problems.
Another thing to try: what happens if you experiment with the ultrasonic sensor "Try Me" program on the NXT? After you turn on your NXT, use the arrows to find the Try Me icon, select it, and then find the Try-Ultrasonic program. Connect your sensor to port 4, and listen for the pitch of the tone to change as you move your hand in and out of the path of the sensor.