@aeisele55 I don't think PIR's would be suitable for that as the detection range would result in both being triggered.
You may be better off with a pair of TOFS or laser beam and receivers.
Take a look at the data-sheet: https://www.st.com/resource/en/datasheet/vl53l0x.pdf
Table 13 shows the dependency between time budget (20ms to 200ms) for ranging and resulting accuracy.
OK,
I'll try and get the voltages (using the data from axp192) when charging and when not charging and see if i can detect it using this.....
Thanks Aaron
Hello @AEisele55
on M5Stack you can select Setup - Switch Mode - USB Mode and reboot.
However on M5Core2 this option is missing. Setup doesn't have a Switch Mode entry.(Tested with UIFlow firmware v1.10.6)
Thanks
Felix