Grove Sensors with Windows IOT and C#

Hi All,

I need help to use some sensors with GrovePI, Raspberry 3 and windows IOT. I am using C# as language. Is there some example about that?

The sensors are : Grove Collision, Grove GPS, grove ear clip heart rate sensor.

Thanks a lot
Alessandro

Hi @algraps, There is some examples with GrovePi but first you should install the Windows 10 IoT C# driver library for GrovePi, you can find more details here at Grove Starter Kit for IoT based on Raspberry Pi Wiki Page


Hi,

thanks a lot for your information… I showed and I am using. The issue is with collision sensors, GPS and grove ear clip heart rate sensor:

With Collision Sensors, I mounted on pin D2 and I used this code:

        collision = DeviceFactory.Build.GrovePi();
        collision.PinMode(Pin.DigitalPin2, PinMode.Input);
        Collision = collision.DigitalRead(Pin.DigitalPin2);

As output, I have always 1 without a dependency from collision or a vibration. rarely I have 0 also.
I don’t undestand where is the error.

With grove ear clip heart rate sensor when I use the clip on the ear I have 1 and when i disconnect from ear i have 0. How can I use to calculate the heart rate?

With GPS I don’t find any example. I don’t know how can I use.

Thanks
Alessandro