Comments (4)
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.
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.
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.
Implementation issue is closed now.
from rpieasy.
Related Issues (20)
- rules syntax or me failed? HOT 2
- [Feature] Add BME680 Sensor HOT 10
- Systemd integration HOT 4
- LYWSD03MMC Xiaomi temperature sensor stuck in Bluetooth communication HOT 2
- Generic MQTT controller status feedback HOT 1
- Generic MQTT Autodiscovery HOT 2
- Weight - HX711 Load Cell HOT 6
- Ina219 possible to add Gain and ADC settings? HOT 7
- measure a 48V battery up to 60V? HOT 1
- Compatibility with python 3.11 HOT 7
- more 1 wire on second gpio?
- Failed to get unit file state for rpieasy.service HOT 2
- !PN532 init error:'Plugin' object has no attribute 'i2cl' HOT 1
- PZEM016/004 -> fast slow? HOT 2
- Unknown command: PZEMRESET,1 HOT 9
- [Rules] some minor bugs/issues HOT 4
- RPI 4 - Hardware type not shown and unknown GPIO HOT 3
- Thingsboard MQTT and HTTP controllers
- Working with Rpi Pico (no wifi chip) through USB? HOT 1
- RPI5 / Rock Pi 4S support? HOT 1
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 rpieasy.