Page 1 of 1

Raspberry PI Zero W Question

Posted: Sat Mar 04, 2017 8:15 am
by drafterITA
Hello Community :)
I'm a total newbie and so forgive me for asking something that maybe is clearly impossible or super trivial..
with the new model of the Raspberry PI Zero, the W model, with built-in Wi-Fi and Bluetooth, would it be possible to "easily" add a tactile button on the side of the case to turn on/off this connectivity? And hook it on some of the GPIO pins of the RP.. or something like that :)
Because that would be neat.. since I ordered it for my GBZ build

Thank you! :)

Re: Raspberry PI Zero W Question

Posted: Sat Mar 04, 2017 8:37 am
by HoolyHoo
Should be doable by reading GPIO state and short script using "sudo ifconfig wlan0 down". Might need to reboot to bring wifi back up though. I'm sure a better command might be found without the reboot but that would be the gist of it.