Giter Club home page Giter Club logo

Comments (4)

TD-er avatar TD-er commented on July 19, 2024

Please note that some of these need some extra electronics like a level converter.
Or else you may damage GPIO pins.
And for the Arduino environment we use the "newping" library, which appeared to be way more stable compared to the previous implementation.

from rpieasy.

enesbcs avatar enesbcs commented on July 19, 2024

I know, already used an SR04 with ESPEasy for presence detection in restroom, with a voltage divider. (2 resistor)
For Linux/Python the newping library is not an option, and i think a multitasking Linux OS will not provide as accurate timings as an ESP8266/Arduino hardware does. Despite that my first test results seems fine in pure python. Now i will test it with multithreading code.

from rpieasy.

enesbcs avatar enesbcs commented on July 19, 2024

Support added in commit 3d697ce. Seems to works ok in multithreaded environment. I have experienced 1-4mm differences between measures with physically same distances. There were some big values in multiple measures, but with 5-8 samples at once the plugin can filter them - mostly.

from rpieasy.

enesbcs avatar enesbcs commented on July 19, 2024

Implementation issue is closed now.

from rpieasy.

Related Issues (20)

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.