robsonj / grovepi Goto Github PK
View Code? Open in Web Editor NEWWindows 10 IoT C# driver library for GrovePi
Windows 10 IoT C# driver library for GrovePi
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.
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?
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
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?
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)
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.
The library works great. I successfully connected several sensors except the FourDigitDisplay one.
Could we have a sample for it?
Thanks.
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.
The nuget package is not updated as per latest source code.
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
I tried loading this into a vanilla IoT C# project and can't add this package as a reference. The error, which isn't very helpful, is:
GrovePi 1.0.5 is not compatible with UAP,Version=v10.0.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.