Giter VIP home page Giter VIP logo

Comments (2)

KillingJacky avatar KillingJacky commented on August 28, 2024

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.

dothebart avatar dothebart commented on August 28, 2024

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)

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.