Dear wayland can you please add (flowErrorSLM) input like the scale factor ?
float flow = ((float(result) - sensirion3300Offset) / scaleFactor)- flowErrorSLM
Dear wayland can you please add (flowErrorSLM) input like the scale factor ?
float flow = ((float(result) - sensirion3300Offset) / scaleFactor)- flowErrorSLM
Iāve added a flow error input (FErr).
In your screenshot above the T_raw output from read-flow-temp looks like an error - Iāll check my code. The negative value from SLM indicates an expiratory flow (inspiratory flows are positive).
You asked about learning resources. If you havenāt done so already, Iād recommend working through the XOD tutorial (https://xod.io/docs/tutorial/) and guide (https://xod.io/docs/guide/). In particular, the traffic light example (https://xod.io/docs/guide/simple-traffic-light/) will show you how to handle different states, something that may be relevant to your project.
The following article should help you get up to speed with the pid-controller:
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.