To get higher resolution in the plot, values are scaled and cut off where needed to fit into the y-range of 2..3.1 in the graph and show best resolution/most details:
fix (light brown) 0 shows as 2, 1 shows as 2.5, and 2 shows as 3 (2 + .5 * fix)
sats/satellites (light blue): 0 shows as 2, 1 as 2.1, 2 as 2.2, etc (2 + .1 * sats)
position "lat|long" available (red): show as text on hover over red circles
current (green): 0 shows as 2.5, then to scale (*)
volts 0 and 1 (purple and brown): less than 2 show 2, >=2 show to scale
on/off indicator (teal): off shows as 2.05, on shows as 3.05
*) Calculated current - measured voltage difference over sense/shunt resistor of known value - feels weird: almost 180..250 mA = which it cannot be for sure, last but not least I was measuring the other day around 30 mA.
The sense/shunt resistor is 5 band coded and shows 0.47 R... measured with the digital multi-meter it shows 1.0 R... and in series with a 3.6 R it contributes with 0.4 R. I assume in these low ranges the values are not especially accurate, even though the resistor is a precision (sense) resistor out of a digital power inverter. In other words - for what the (green) amps line is worth - the (green) amps line shows change/increase/decrease of power drawn, and not absolute value. The more noteworthy is the fluctuation of voltage due to power draw and light-weight implemented sourcing... Current has smooth phases and bumpy phases - don't know why. The 0.05 V above 2.7 min Vcc of GPS module is fine but a fine line.
The graph shots include:
Start-up to fix level 1 (light brown from 2 to 2.5 (0 to 1)
Start-up all the way to fix level 2: from 2 to 2.5 to 3 (0 to 1 to 2)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Update:
I modified hardware and software to provide more details:
Calculate/plot current from delta v0 and v1 and kown resistor value
To get higher resolution in the plot, values are scaled and cut off where needed to fit into the y-range of 2..3.1 in the graph and show best resolution/most details:
*) Calculated current - measured voltage difference over sense/shunt resistor of known value - feels weird: almost 180..250 mA = which it cannot be for sure, last but not least I was measuring the other day around 30 mA.
The sense/shunt resistor is 5 band coded and shows 0.47 R... measured with the digital multi-meter it shows 1.0 R... and in series with a 3.6 R it contributes with 0.4 R. I assume in these low ranges the values are not especially accurate, even though the resistor is a precision (sense) resistor out of a digital power inverter. In other words - for what the (green) amps line is worth - the (green) amps line shows change/increase/decrease of power drawn, and not absolute value. The more noteworthy is the fluctuation of voltage due to power draw and light-weight implemented sourcing... Current has smooth phases and bumpy phases - don't know why. The 0.05 V above 2.7 min Vcc of GPS module is fine but a fine line.
The graph shots include:
3 Attachments