Skip to content

Conversation

jeppenodgaard
Copy link

@jeppenodgaard jeppenodgaard commented Sep 10, 2025

Add support for Omron D6F flow rate sensor series.
The sensor series outputs an analogue voltage which is read using an ADC.

A new sensor channel has been added for flow rate. The unit is litres per minute.
The SI unit for flow rate is cubic metres per second.
Due to a sensor value resolution of 1/100000 this unit is not granular enough for low flow rate sensors.

@jeppenodgaard
Copy link
Author

I forgot to add an offset property. Changing to draft.

@jeppenodgaard jeppenodgaard marked this pull request as draft September 11, 2025 07:08
@jeppenodgaard jeppenodgaard force-pushed the sensors/flow branch 5 times, most recently from 0a50f26 to 714876c Compare September 15, 2025 08:51
@jeppenodgaard jeppenodgaard marked this pull request as ready for review September 15, 2025 09:29
MaureenHelm
MaureenHelm previously approved these changes Sep 15, 2025
oki Oki Electric Industry Co., Ltd.
olimex OLIMEX Ltd.
olpc One Laptop Per Child
omron Omron Corporation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nashif please help review this prefix

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to OMRON due to this comment

ubieda
ubieda previously approved these changes Sep 29, 2025
Copy link
Member

@ubieda ubieda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Although CI has some failures that need addressed.

Add flow rate to `enum sensor_channel` in litres per minute.

The SI unit for flow rate is cubic metres per second. Due to a sensor value
resolution of 1/100000 this unit is not granular enough for low flow rate
sensors.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
Jeppe Odgaard added 3 commits September 30, 2025 21:02
Add OMRON vendor prefix.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
Add support for Omron D6F mass flow rate sensor series. The sensor series
outputs an analogue voltage which is read using an ADC.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
Add Omron D6F to sensor build_all test.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
Copy link

@cfriedt cfriedt merged commit bbe4a06 into zephyrproject-rtos:main Oct 1, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants