Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Sensor Module: Frequency Counter #378

Merged
merged 4 commits into from
Jul 31, 2024

Conversation

mschlenstedt
Copy link
Contributor

@mschlenstedt mschlenstedt commented Jul 18, 2024

Hi,

based on the new sensor module "yfs201" I created a more flexible module, which will work with all hardware which creates a frequency (pulses) at the GPIOs. Examples are Flow Rate Sensors or Anemometers. The GPIOs of the Raspberry can detect 5 KHz (not confirmed, I found this on some older webpages).

Example config::

sensor_inputs:
- digits: 4
  module: meinflowmeter
  name: meinsensor
  retain: true
  pin: 17
  interval: 10
sensor_modules:
- module: frequencycounter
  name: meinflowmeter

The output of the module is the Frequency at the used GPIO in Hertz (Hz).

@BenjiU BenjiU merged commit 91cea1c into flyte:develop Jul 31, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants