Is it possible to use the voltage threshold monitoring on the XH2.54 connector while also powering the Witty Pi 4 from the USB-C connector?
So if I set the lower voltage threshold to 9v, and the voltage on the XH2.54 connector dropped to 0v, then the Witty Pi 4 would still be powered by the 5v at the USB-C connector and trigger a shutdown of the Raspberry Pi? Or is this not possible?
This is not recommended for full-sized Witty Pi 4, which has DC/DC converter on board and it converts the voltage on XH2.54 connector to 5V and feed that 5V to the same trace as USB-C connector. Witty Pi has only one power channel, and if you connect two power sources to it at the same time, they may fight each other if the two "5V" are different.
Witty Pi 4 Mini however, can be used for this purpose, because it has no DC/DC converter on board and the voltage on VIN pin can be measured by ADC.
Thank you!
The manual for the Witty Pi 4 Mini states that the threshold (min or max) can be set from 2v to 25v. Does that mean I can feed a 14v source directly to that VIN pin without damaging anything on the board?
@goremaker Yes. There is already a voltage divider on the board, and the actual voltage that feed to ADC is lower than 1.1V.