Skip to content

Conversation

raniereee
Copy link
Contributor

@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
Contributor Author

Just calibration parameter for sensor YFD50.

@raniereee
Copy link
Contributor 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
Contributor 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?

@hafidhh hafidhh merged commit d72820e into hafidhh:master Sep 25, 2025
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