|
Post by triggerfish on Apr 17, 2019 22:55:27 GMT -8
Asked before, but I can not find that part anymore, so I'll just ask it again.
I would like to see in Blynk if my external power supply is switched on or off. Due to my unreliable solar condition, during dark days, I have an external; power supply on a timer. I'd like to have a led in blynk, showing that.
I have tried to dig through all readme's but I can not find how to read that from the board.
Fomr the test program I may even conclude it's not possible:
# the three channels of the INA3221 named for SunAirPlus Solar Power Controller channels (www.switchdoc.com)
LIPO_BATTERY_CHANNEL = 1
SOLAR_CELL_CHANNEL = 2
OUTPUT_CHANNEL = 3
There is nothing like EXTPOWER_CHANNEL mentioned anywhere.
So is it possible? And if so: How?
|
|
|
Post by lbendlin on Apr 18, 2019 8:21:09 GMT -8
I remember playing with that as well. Just connect the external power source and do a couple INA3221 readings. Then do the same with the solar cell connected (and providing some power). There's a distinct pattern in the readings that allows you to tell one power source from the other.
|
|
|
Post by SDL on Apr 18, 2019 12:20:03 GMT -8
Lutz is correct. There is a definite pattern.
When you find the pattern, Peter, post it up here for others.
BP
|
|