Closed plskeggs closed 4 years ago
Yes, it is used for power. We use an ups-lite shield: https://www.tindie.com/products/rachel/ups-lite-for-raspberry-pi-zero/ We removed its native switch and soldered it with the antenna's switch. No software functions is used in power-up flow. When the antenna is being plugged in, the system powers on. It's not very graceful, but simple.
As I suspected; thank you!
As always, you're welcome!
What do you do with the micro switch that detects whether the antenna is plugged in? Is this used for power? I don't see any references in the code to otherwise read a pin connected to the switch, so it must be for something other than triggering a change to the software.