• 0 Posts
  • 23 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle




  • With better tools, it would be easier to troubleshoot more precisely. An oscilloscope would help you understand what’s going on, for example.

    From what you describe, I’m actually starting to suspect the other end (the controller?) to be the problem.

    One idea you could try before buying anything is to disconnect the sensor, supply it with 5V and ground (double check with data sheet!) and see what’s happening on the output when there is flow. If you don’t measure anything, as I would expect since the pin alternates between a floating state and ground, you then add a 10k or 50k ohms pullup resistor between 5v and output and measure again, and should get the levels you expected to see in the first place.

    Don’t know if you’re comfortable doing this, but maybe you can find somebody to help you out?



  • These flow sensors are usually hall effect sensors, with two or four magnets attached to a rotor with a little water wheel. When water flows, the magnets turn and create something like a PWM signal at the output (actually it’s high level when magnet is there and low level when magnet is not there or vice versa). Measuring the pin with a slow multimeter, this would indeed give you approximately half the supply voltage when water is flowing, depending on a few other factors. So- readings sound sensible to me. To note that if the rotor stops with a magnet close to the hall effect sensor, you will read 5V (or VCC) at the output, but always VCC/2 when flowing.

    Most of these sensors employ an open collector output stage, but that doesn’t need to bother you with the readings you’re getting, I think.







  • Mh, it probably depends a lot where you’re coming from. I don’t need Powershell or have a reason to learn it in my daily work, and I mostly use WSL to access Linux shells everywhere else. And on top of that, I don’t understand why Powershell needs a completely different command set to basically every other shell. It’s a biased take, but I have not had an interaction with Powershell that I liked, nor have I seen a feature that made me want to look into it more.

    What’s the killer feature, would you say? Care giving me the fanboy-pitch?

    edit. Oh and I forgot, the tab completion in Powershell is so incredibly dumb. I never ever in my life want to cycle through all items in a path, and much less have it be case insensitive. Come to think of it, this might be the origin of most of my disdain. ;)








  • Take a look at Battery University, I think it’s a great resource.

    On the topic of lithium polymer charging, it has this to say:

    Charge and discharge characteristics of Li-polymer are identical to other Li-ion systems and do not require a dedicated charger. Safety issues are also similar in that protection circuits are needed. Gas buildup during charge can cause some prismatic and pouch cells to swell, and equipment manufacturers must make allowances for expansion. Li-polymer in a foil package may be less durable than Li-ion in the cylindrical package.