Giter Site home page Giter Site logo

grovepi's People

Contributors

exadon avatar maxpg avatar patget avatar robsonj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grovepi's Issues

Nuget Package Fails : Missing File

Downloaded 1.6 Successfully
When I compile I got this Error,
Could not copy the file [UserFolder]\nuget\packages\GrovePi\1.0.6\lib\uap10.0\GrovePi\Properties\client.winU.rd.xml" because it was not found.

Grove Digital Accelerometer not working on Win 10 IoT Raspberry PI 2

Environment - Raspberry PI 2
OS - Windows 10 I0T Core
Sensor - Grove - 3-Axis Digital Accelerometer(±1.5g)

On below line...
DeviceFactory.Build.AccelerometerSensor(Pin.DigitalPin3).Read()
The excpetion is thrown as...
The thread 0xbb8 has exited with code 0 (0x0).
Exception thrown: 'System.IO.FileNotFoundException' in GrovePi.dll
WinRT information: Slave address was not acknowledged.
The program '[2652] XXX.exe' has exited with code -1 (0xffffffff).

Any known issue/help?

Heavy noise when using Ultrasonic Ranger

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

Installing Nuget gives "URI formats are not supported"

When I try to install the GrovePi version 1.0.6 (or any of the previous versions) from the Nuget package manger I get the following error: "URI formats are not supported."

I have tried installing the packing for the Background Application (IoT) template as well as the Blank App (Universal Windows) template and both give the same error. When I try to install the Nuget package in a traditional console application it installs no problem.

I am running VS 2015 with Update 1, everything that the Windows IoT team says needs to be used to run an app on the Raspberry Pi 2.

Anyone else ran into this issue and found a way to fix it?

Processor mismatch

There was a mismatch between the processor architecture of the project being built "x86" and the processor architecture of the reference ".nuget\packages\GrovePi\1.0.10\lib\uap10.0\GrovePi.dll", "ARM"

Is there a way to make this work on a local pc, either by just disabling all of grovepi code when deploying to x86 or somehow else?? I need to locally quickly test user interfaces and not deploy every time on raspberry (and other devices capable of running headed UWP IoT core apps)

Unable to use AirQuality Grove sensor

there is no direct method available for accessing airquality grove sensor values in this library especially for C#.

Is there any recommended way to do the same or do we need to implement our own Airquality Interface ?

We are mainly concerned about the C# implementation of the library.

Need Sample for FourDigitDisplay

The library works great. I successfully connected several sensors except the FourDigitDisplay one.
Could we have a sample for it?
Thanks.

rotary knob problem

Hi,
Just installed your lib from nugget. The led is working ok. When I try to use a rotary knob and read out the 'SensorValue', the first time it works, the second time, I get this error:

An exception of type 'System.IO.FileNotFoundException' occurred in GrovePi.dll but was not handled in user code
WinRT information: Slave address was not acknowledged.

Additional information: The system cannot find the file specified.

Slave address was not acknowledged.

If there is a handler for this exception, the program may be safely continued.

Cheers,
Jan.

Temperature & Humidity Sensor measures strange Celcius value

Hi,
I just built my first Win10 IoT App on the Raspberry Pi 2 where I connected the Temperature and Humidity Sensor to Port7 and the LCD RGB Backlight Display to I2C-1.
With the following lines of code I tried to display the temperature:
public MainPage()
{
this.InitializeComponent();
DeviceFactory.Build.RgbLcdDisplay().SetText(
DeviceFactory.Build.TemperatureAndHumiditySensor(Pin.DigitalPin7, Model.OnePointTwo).TemperatureInCelcius().ToString(CultureInfo.InvariantCulture)
).SetBacklightRgb(0, 255, 255);
}
It displays a value of 5.805! My actual room temperature is 23C at the moment.
Is there anything I am doing wrong? I tried different Digital ports but nothing changed.
And how can I detect the humidity? When that is not implemented yet, how can I help to extend the functionality? I love to contribute.

Thank you for your help.
Perry

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.