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

add yfd50 pararameter #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

raniereee
Copy link

@raniereee raniereee commented Aug 12, 2024

Description

Add the calibratrion parameter for YFD50 sensor.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Test Configuration:

  • Firmware version :
  • IDE : Arduino 1.18.19
  • Hardware : ESP32 Dev Module
  • SDK :

@raniereee
Copy link
Author

Just calibration parameter for sensor YFD50.

@raniereee
Copy link
Author

Just calibration parameter for YFD50 water flow sensor.

@hafidhh
Copy link
Owner

hafidhh commented Aug 19, 2024

Do you mean the yf-dn50 sensor?

@raniereee
Copy link
Author

Yes. You are right.

@hafidhh
Copy link
Owner

hafidhh commented Aug 19, 2024

i see on data sheet Q = 200L/m and frequency = 0.2*Q
Frequency

$$Frequency (hz) = 0.2 * Q$$ $$Frequency (hz) = 0.2 * 200$$ $$Frequency (hz) = 40$$

Pulse/Liter

$$Q = {Frequency \over Pulse/Liter}60$$ $$Q * Pulse/Liter = Frequency * 60$$ $$Pulse/Liter = {Frequency \over Q}60$$ $$Pulse/Liter = {40 \over 200}60$$ $$Pulse/Liter = 12$$

Can you explain how to get 20?
Did you get 20 from data sheet?

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