Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Heavy noise when using Ultrasonic Ranger #26

Open
zeroskyx opened this issue Jul 24, 2016 · 0 comments
Open

Heavy noise when using Ultrasonic Ranger #26

zeroskyx opened this issue Jul 24, 2016 · 0 comments

Comments

@zeroskyx
Copy link

Greetings,

whenever I'm using one of the Ultrasonic Rangers (http://www.seeedstudio.com/wiki/Grove_-_Ultrasonic_Ranger) on a Raspberry Pi 3 with Windows 10 IOT 14376 I get heavy noise when using the following code:

IUltrasonicRangerSensor Sensor = DeviceFactory.Build.UltraSonicSensor( Pin.DigitalPin2 );
while( true )
{
System.Diagnostics.Debug.WriteLine( $"{Sensor.PhysicalPort.MeasureInCentimeters()}" );
await Task.Delay( 100 );
}

The distance in cm ranges from -200 to +100 when doing nothing; the median of ten samples usually generate the correct value.
However, in order to reliably check the actual distance, I actually need about a second of samples which is not really nice...

Is this a known issue of the Ultrasonic Ranger, the Grove Pi+ or the current version of the software?

Help is greatly appreciated; thanks in advance!
-Simon

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant