Comments (2)
Hi, could you please post the sensor readings for both reliable
and unreliable
?
But, even once I would connect the i2c (without even using it) the values would become unreliable again.
This is really weird, leaving the I2C bus idle means the I2C will not introduce any noise into the power circuit.
from seeed-wiki.
Since the grove pi contains lots of code, I'm using this simple sketch on a lotus:
https://github.com/dothebart/sketches/tree/master/loudness
its squaring the current values, to calculate the RMS later on, which it does in 0.1s steps over 1s.
In column 1 we have the current value measured at that very time, the second value is the RMS over the last second.
I've measured a silent environment:
noise:9409:6943
noise:6400:7249
noise:7921:7252
noise:6889:7409
noise:7569:7166
noise:7921:7140
noise:5776:7139
noise:7396:7382
noise:7569:7071
noise:7396:7146
noise:6084:7120
noise:7569:7355
noise:8281:7022
single: 5776 - 9409; Avg 1s 6943 - 7409
delta 3633 ; 466
i2c plugged in:
noise:7744:6946
noise:6889:7616
noise:9604:7117
noise:4900:8132
noise:9216:7677
noise:6561:6883
noise:6561:7494
noise:2809:7619
noise:6889:7398
noise:7569:8047
noise:4761:7308
noise:9604:7541
noise:7744:7462
noise:8100:7140
noise:8464:7707
noise:7744:7464
Single: 2809 - 9604; Avg 1s 6883 - 8132
Delta: 6795 ; 1249
So you see that the range of the values are quiet different once i2c is plugged in; While the RMS in the disconnected state narrows in very well, it even spreads with i2c connected.
from seeed-wiki.
Related Issues (12)
- BeagleBone Green SPI0_CS1 pin? HOT 1
- Only works with Arduino Leonardo HOT 3
- Grove_Air_Quality_Sensor_v1.3: Example does not compile on esp8266
- Value
- Bihar Land Recods
- P9_28 not GPIO_123
- Example Seeeduino LoRaWan w/GPS + TinyGPSPlus library
- Xadow-M0 missing link
- value acceX value convert to g
- Unable to get Status Code 204
- Grove-Serial_Bluetooth wiki-page faults
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seeed-wiki.