Code Monkey home page Code Monkey logo

rpi.sensehat's People

Contributors

emmellsoft avatar mmu69 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar

rpi.sensehat's Issues

Key bouncing

Thanks for the library, almost everything is working marvelously.

However, I seem to be getting a lot of extraneous key events (key bounce?). Do I need to de-bounce in my app logic?

FYI, RPi 3, W10IoT: 10.0.14393.0, VS2015, and I'm sampling the key updates based on a timer with a 50ms interval. I've also tried 500ms and got the same results.

need guidance - namespace name 'I2c' does not exist

I am on 10.0.14393.67

After a build there are lots of complaints about "the type or namespace name 'I2c does not exist in the namespace 'Windows.Devices".

I have uninstalled Windows Iot Project Templates, and reinstalled them. Still no I2c

Exception thrown: 'System.IO.FileNotFoundException' in RTIMULibCS.dll

Hi,

I try to run the demo and I got the following error, any idea someone?

Visual Studio 2017
Targer version: Windows 10 version 1803 (10.0; build 17134)
Microsoft.NETCore.UniversalWindowsPlatform v6.1.7
Windows Iot Core 10.0.17134.1
Sandisk Ultra 16gb microSDHC class 10.

Error:

Exception thrown: 'System.IO.FileNotFoundException' in RTIMULibCS.dll
WinRT information: Slave address was not acknowledged.
Exception thrown: 'RichardsTech.Sensors.SensorException' in RTIMULibCS.dll
Exception thrown: 'RichardsTech.Sensors.SensorException' in System.Private.CoreLib.ni.dll

Hat Stacking

Hello,

On a project under Windows IOT I try to use in the same time the SenseHat and an Adafruit Motor Hat (Adafruit 2348).
Separately, all works fine but when I try to use the both Hat stacked I have a problem.
The SenseHat are not find any more.

At the begining I have try under Linux a Python and I had the same problem. Adafruit help me with these info :
The Hat spec requires all boards to have an EEPROM, and the goal is for all Hats to populate the EEPROM with the device tree overlay necessary to make the Hat work.

The problem is that all the EEPROMs have the same I2C address, so if you stack Hats, you get an address conflict. Editing /boot/config.txt so it tells the OS what DTOs to use will solve the problem, as long as the correct DTO already exists in /boot/overlays/

Raspbian has DTOs for all the RasPi Foundation Hats, so it's easy to call them out explicitly.

Can you help me too for windows Iot?

SenseHat.Create not thread safe

Hi
I'm not sure how bothered you are about it, but there's a clear race condition in SenseHatFactory.Create()

Avoiding that, is it ok to read from the sensors on any thread?

Thanks!

Migrate project to dotnetcore

There's currently a fork of this project that supposedly works (I wasn't yet able to fully test it). I talked to the owner of the fork and he said that unfortunatelly he can't work on it anymore. He also told me that there was the need to adapt the WiringPi and RaspberryIO libraries to fully support I2C. This means that he had to also fork those projects, change them and do a new build.
Since part of that port is already done, I would suggest to merge both branches and work only on this one (since it's the original). But for that, I would like to have your help, so that we can both see what can be optimized and how so (I have strong c# knowledge, but not familiar with the project).

Running with Raspian / Mono

Hi !

Do you think this would also run (with some small modifications) on Raspian + Mono?
What problems could exists?

Dominik

SensorHat Library is broken with new Windows 10 IoT Core builds

Starting after update to Windows IoT Core Version 10.0.14366.0 and still with the newest Version 10.0.14376.0 my previously working Demo (and own Application) gets an exception in Method

BootDevice()
on line: I2CSupport.Write(_accelGyroI2CDevice, LSM9DS1Defines.CTRL8, 0x81, "Failed to boot LSM9DS1");

That reads: "The semaphore timeout period has expired.\r\n\r\nAn unexpected error occurred when communicating with the device."

As of now it is not possible for me to make the sensehat run with the library anymore.

I'm Running a "Raspberry Pi 2 Model B"
with the newest IoT Core Build (10.0.14376.0)
and the newest available Library from NuGet (1.0.9) in my own project respectively the demo version from github.

RichardsTech.Sensors.SensorException

Hi,

I sometimes get the following error when trying to run a project:

Exception thrown: 'RichardsTech.Sensors.SensorException' in System.Private.CoreLib.ni.dll

When this happens I have to restart the Pi, because I cannot run any project on the Pi.
Sometimes I don't get the errors in a while and sometimes I have to restart the Pi each time.
What could be causing this?

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.