 | | Re: Ultrasonic sensor interactions
|
|
(...) ; us_off.nbc ; ---...--- variable declarations ---...--- dseg segment ;------- definitions ------- TCommLSWrite struct Result sbyte Port byte Buffer byte[] ReturnLen byte TCommLSWrite ends ;------- declarations ------- thePort byte 0 // port 1 (...) (20 years ago, 22-May-06, to lugnet.robotics)
|
| |
 | | Re: Ultrasonic sensor interactions
|
|
(...) OK, verification done, the voltage is correctly switched to 5V with the touch sensor. I probably programmed a wrong port# ! But clearly the 5V is enough to power the US transducers (probably with reduced range) Philo (20 years ago, 22-May-06, to lugnet.robotics)
|
| |
 | | Re: Ultrasonic sensor interactions
|
|
(...) OK, and since I'm one of the few... I sent up a stationary NXT with an US sensor, and a "target" NXT with an US sensor as well, pointed directly at each other. Furthermore I had the "target" move back and forth to vary the range slightly. I (...) (20 years ago, 22-May-06, to lugnet.robotics)
|
| |
 | | Re: Ultrasonic sensor interactions
|
|
(...) I'm not sure yet; I admit to not being even remotely a "hardware guy", which is why I keep doing all this SW testing :-). (...) Another odd feature is that the ping frequency seems to change with both what you define the sensor as well as (...) (20 years ago, 22-May-06, to lugnet.robotics)
|
| |
 | | Re: Ultrasonic sensor interactions
|
|
(...) Sorry Brian, you are right! my ageing ear was not able to get the much weaker "ping" at first. My interpretation (to be confimed) is that the US sensor goes on working even if not configured, but some sensor modes don't provide the 9V supply (...) (20 years ago, 22-May-06, to lugnet.robotics)
|