Couple of things to think about with capacitors.
With electrolytic caps there ESR ( Equivalent Series Resistance) is quite high if you need a lower ESR try going for a polymer electrolytic.
Ceramic capacitors, as previously said don’t go for a capacitor that is rated at the same voltage, in my experience at least 1.5 to 3 times the max voltage your working with. So if your working with 5V I would go with a 16V part.
The reason for this is the DC BIAS of ceramic capacitors, if you need 1uF of capacitance and use a 6.3V cap the DC BIAS of the capacitor could only 20% to 30% of the stated capacitance. Therefore you would need 3 or 4 capacitors at 6.3V to get the correct capacitance where as with a 16V part you may only need 2 capacitors in parallel to achieve the correct capacitance.
Most good capacitor manufactures will have these online in the specifications area of there website.
Also be careful depending on the power supply your using they may need electrolytic as the ESR of ceramics is very low and this can cause the power supply to become unstable as the control loop of the power supply can’t cope.
These are lessons learned over the years as I alway say you learn more from making a mistake than being told what to do and getting it correct 100% of the time.
@NeverDie have a look at https://templates.blakadder.com/ which lists all devices (including power monitors) supported by tasmota. Tasmota exposes all measured data for a device through mqtt, where you can hook into.
I'm using a number of https://templates.blakadder.com/blitzwolf_SHP6-15A.html that way.
Tuya devices can often be flashed with https://tasmota.github.io/docs/Tuya-Convert/ without opening them.
@Nca78 Great - I have some of those somewhere (next mamoth task is to find them)! - Then I can remove the regulator and will report back!
All done!
With sensor only I am seeing 12.9uA in 'untripped' mode and 14.2uA when tripped for about 2 seconds - that is a result!
Testing further this module seems to work down to 1.9V which is ideal. Here is a table of results I get....
Voltage Vcc (V) Untripped (uA) Tripped (uA)
3.0 12.9 14.2
2.7 9.4 10.3
2.5 8.5 9.6
2.3 7.7 8.8
2.1 7.0 8.0
1.9 6.3 7.3
These are 'bench' measurements and may not reflect 'in use' performance (ie range may be reduced at lower voltages, I have not tested that yet).
Thanks so much for the hints, I only now have to test out to see if the range and spread is good enough for what I need. Maybe later on today or tomorrow....
Cheers!
Ok, could not find the root cause for why the embedded forum thread on openhardware.io couldn't detect if user has a valid session/is logged in to the forum.
Did a workaround by adding a "Comment" button which redirect user to the thread on the forum.
@zboblamont & @mfalkvidd - Thank you for that. It never occured to me that rounding might need some help. But now it makes logical sense.
@mfalkvidd I guess if you used 'bankers rounding' you would always end up with 0.