Forgot your password?
No account? Register one!
February 18, 2014
Product DEV-12081 |
about 3 weeks ago
I’m attempting to use a soft I2C library(https://code.google.com/p/rtoslibs/downloads/list) to get this shield to work with the Yun, but I’m noticing some odd behaviour. Here what I have tried so far. Firstly I got the the MPL3115A2 breakout board working with this library, basically converted the sample sketch with an Arduino Duemilanove. Then once that worked I got the humidity sensor to work and did a simple sketch that read from both sensors and plugged in the weather shield and it worked, much to my surprise. I also tested this with a Uno.
Then I repeated the same process with the Yun, the MPL3115A2 breakout board worked but the weather shield did not, with Simple humidity/pressure sketch or the weather shield sketch. The other odd thing I noticed that the rain and the wind interrupt had to be swapped to read correctly.
So can anyone here shed some light on why this may be so?
I can share the code if anyone is interested, once I’ve tidied it up.
*UPDATE: I got the Soft I2C to work with the weather shield and Yun when I plugged the 5V pin from the Yun to the Vin pin on the Yun, not too sure why this works because when I measured it they were about the same voltage. I will wire up the wind and rain sensors when I have time and report back if they work.
No public wish lists :(