Read mass flow meter with the pi

I am considering purchasing a coriolis mass flow meter that emits pulses for a project. I know it is quite common to read volumetric flow meters with the pi but I cannot say the same for the mass flow meter.
Now my question is this; if I purchase the coriolis meter will I be able to hook it up to a raspberry pi as easy as the common flow meter and write code to determine flow rate and volume ?

I think your question is outside the scope of this forum. While some people do use pi here, this question would probably be better answered on a pi specific forum.

If the electrical signal (voltages and period of pulses) is similar to other sensors, then it shouldn’t be difficult to interface yours with the pi using the same code. Then you you would probably need to adjust the “application code” to interpret the data per your sensor’s data sheet.

1 Like

You can develop a customized DTH to interface anything from a PI as long as you know how to access your PI data from your DTH.

As this will be a customized DTH, except you are lucky enough to fall on a new Smartthing mobile app supported device, you are obliged to use the mobile Classic app.

I have several learnings from my portings using a PI.

  1. You can choose to host a html/php webpage on your PI and periodically poll from the DTH using the HubAction and parse the content as HTML and extract the values.
    This has the advantage to be able to check the PI refreshes properly by just browsing it with a webbrowser.

See example at: https://github.com/philippeportesppo/AirMentorPro2_SmartThings

  1. You can define a JSON structure the PI can answer upon a request, still based on a hubAction. Advantage is that you can enrich your JSON more conveniently but it’s less friendly to browse the PI directly.

See example at: https://github.com/philippeportesppo/Honeywell_HPA250B_SmartThings

And suggest you to restart the PI daily and implement a link check to the PI based on a counter when you try to acces it: if the last request didn’t make it, it means your PI doesn’t respond anymore.

Alright then. Thanks, Kevin.