Hello friends . Can two flow meters be connected simultaneously to Cayenne? Someone could help me please
It should not be a problem.
What connection is used to Cayenne?
I am using the usb connection. It only worked for me with a sensor , help pls
I’ll write you a code if you wait for tomorrow.
Yes, of course . thank you very much .
Can you write similar code but in Python for Raspberry?
This sensor uses interrupts.
For Arduino UNO can have a maximum of two sensors.
For Arduino MEGA you can have more.
ok, But the code arduino is similar?
Sorry, I do not know how to program in Python.
I think that yes, but I would to try it.
I’ll try it when I have the arduino mega, thanks for the advice
I modified something the code that you sent me, specifically the part where the amount of flow is counted. Can you review it please . (I express the volume in liters)
I also checked the widget counter and I have a 480ml error approximately. (To check I took a liter of water and passed it through the sensor and simultaneously checking what the “volume in liters” widget marked)
codetwoflowmeters.txt (3.1 KB)
I will look at it.