Main Menu

Recent posts

#21
CurrentRanger / Need guidance for current moni...
Last post by BDLawISU84 - May 27, 2026, 08:26:20 AM
I think I've run into a use case that CurrentRanger just wasn't designed for, but just double-checking before I look at other products ...

My board toggles between sleep & wake states frequently ... it wakes every 30 msec, polls some inputs for 3-5 msec, then goes back to sleep. In sleep mode, the current usage is about 500-800 uA. In wake mode current usage is > 5 mA.

On my bench the board is powered by a power supply and I have a USB isolator connected so I can monitor the current readings and eventually graph them. I'm running the off-the-shelf R3_1.1.6 CurrentRanger firmware. My custom graphing app initializes the CurrentRanger via commands '!' (reset all settings to defaults), 'a' (auto-off disabled), 'u' (start logging) plus a "mode" setting I document below.

If I run CurrentRanger in uA mode (init sequence = "! a 2 u"), the sleep current looks correct but the wake current readings are clipped at just under 3300 uA.

If I run CurrentRanger in mA mode (init sequence = "! a 1 u"), the wake current looks correct but the sleep current readings are 0 or sometimes negative:
0.00e-3
-0.40e-3
0.00e-3
-0.40e-3
-0.40e-3
-0.40e-3

If I run CurrentRanger in autoranging mode (init sequence = "! a 1 6 u"), I almost have a working solution except that when the op amp saturates in uA mode during the wake up, I get extreme out of range errors like this  glitch to 446 mA ...
553.53e-6
556.75e-6
665.44e-6
1002.38e-6
446.44e-3    <-- 446 mA
7.65e-3
3.22e-3
1259.62e-6
983.46e-6
1022.51e-6
974.21e-6
890.47e-6
823.24e-6
787.42e-6

I guess one solution is to toss the first 2 readings reported whenever the exponent changes from a high number to a lower number, but I'm trying to do some average current consumption over time calculations and that throws off those averages.

Is there any kind of workaround for this?
#22
CurrentRanger / Re: CurrentRangerApp
Last post by Felix - May 19, 2026, 08:18:15 AM
That's great, thanks for the update!
#23
CurrentRanger / Re: CurrentRangerApp
Last post by vitormhenrique - May 18, 2026, 03:16:24 PM
Just a quick update, the mac app is now signed, so installation should be straightforward!
#24
CurrentRanger / Re: CurrentRanger w/ isolation...
Last post by Felix - April 20, 2026, 09:16:34 AM
jamie,
Which serial output are you referring to?
There is USB serial output as explained here. There is also the "BT serial header" which will only output if it detects an HC06 bluetooth module but you can recompile to force output I guess.
For isolating the input you could just use a floating power supply (ex battery) to power your PSU.
With USB you could simply use a USB isolator.
So not sure if it's still worth the effort to build an isolator.
#25
ATXRaspi / Re: Voltage drop across ATX bo...
Last post by Felix - April 16, 2026, 01:45:09 PM
Somehow I did not see this post until now. It's important to keep all connections very short and with very good quality wiring, thicker wire to reduce any drops across wires.
A 4.8v should still power the Pi without much issue, unless there are more significant drops during heavier load, which are not apparent or easy to spot with a multimeter.
Which ATXRaspi revision was this?
#26
Low Power Techniques / Re: Wireless low power battery...
Last post by Felix - April 16, 2026, 01:43:28 PM
Maybe it's doable with a ESP+Zigbee, if you put in the leg work to wire up everything.
But I will say anything in the few $ range will require a bunch of effort on your part.
As far as battery life, it will need to be carefully coded to sleep your nodes to an absolute minimum. But keep in mind anything ESP/wifi will take a hit whenever it wakes and connects to wifi, and this is impactful on small batteries.

I stick to my Moteino creations whenever it comes to low power. I have documented real implementations where Moteino based/derived nodes thrive in the most extreme situations for years and years without intervention, on small batteries such as CR123A.

For perspective, in one instance the client came to me to redevelop a solution that was ESP based, same battery type, but the ESP could not keep up pace and hold a charge for more than a few weeks.
#27
CurrentRanger / Re: CurrentRanger w/ isolation...
Last post by jamie - April 16, 2026, 01:36:25 PM
Thanks, Felix.

I'm trying to design an isolater so I can use the CR with my Saleae MSO while also measuring voltage via another channel. This scope only has single-ended inputs so the two ideas I had was a) trying to read and decode the serial output from CR using the Saleae's LA channels or b) figure out a way to eliminate the ground loop on the analog inputs. I'm already using all of the LA channels in my test fixture and I'd probably have to use a MCU to issue an "Ok" command anyhow. So Option B seems like the simplest option. I'm aware that it'll limit me to 50 mA, but that's fine for my particular application. (TI also makes the AMC0300R-Q1 with a 250 mA input range).
#28
Pi Gateway / Re: Fresh Install of Pi Gatewa...
Last post by Felix - April 16, 2026, 01:26:24 PM
I do but I get pulled into more meaty projects and I have to prioritize.
Whenever I have some time I try to be consistent with the important LowPowerLab products and support and invest where most interest is shown.
#29
CurrentRanger / Re: CurrentRangerApp
Last post by Felix - April 16, 2026, 01:24:53 PM
Nice work, thank you for sharing!
#30
CurrentRanger / Re: CurrentRanger w/ isolation...
Last post by Felix - April 16, 2026, 01:18:02 PM
Not sure how you're trying to use the CR with that amp but the input range of that part is +/- 50mV.
The CR can output up to 3.3V depending on the current seen at the input.
The CR output is not really designed to drive any load whatsoever, however since the input impedance of your isolation amp is high it should be OK. However I can't speak to the noise figures since I don't know enough and even then an experiment is needed to verify the theory.
You will have to worry about powering your amp from both isolated sides.
Since this is experimental I hope you know what you are doing and wish you good luck :-)