By default shorting pins 5 & 6 will do nothing on a running RPi.petergellert03 wrote: ↑Sat Mar 30, 2019 6:49 pmHello, I know that if I short pins 5 and 6 when the RPI is asleep it will wake up, so I've connected a capacitive touch button(with a 3v3 vcc) on it, and I've got it waking up. The turn off will be performed by the user from a locally hosted Apache2 server (part of a bigger project, as we all are ).
Now all I want to know, if I accidentally short it while the PI is awake - because it is a capacitive "button" and it doesn't needs to be completely touched, if put my hand close (2-3 mm) it does the magic - will anything bad happen?
Thanks in advance
You COULD do this, but Raspbian now has gpio-shutdown built in.
Unless something has changed, if you ground the RUN pin while the Pi is running, it will do a hard reboot, not a good thing.Milliways wrote: ↑Sun Mar 31, 2019 7:31 amYou COULD do this, but Raspbian now has gpio-shutdown built in.
NOTE the pin 5/6 thing is an anachronism. Now all Pi models have an accessible RUN pin it is unnecessary, and doesn't work if gpio-poweroff is used.
Unfortunately, it requires soldering. Not everybody can solder, and even some of those of us who can are reluctant to solder on a board they have not made from scratch (as in, what if I mess up and kill my RPi).
It is, but I was serious. Thread the line through the holes, push in some wires for a friction fit connection.
scruss wrote: ↑Wed Apr 11, 2018 2:39 amEugene ‘thirtytwoteeth’ Andruszczenko (of Game Boy Zero – Handheld Edition fame) posted a neat idea to help your Raspberry Pi Zero take jumper wires without soldering. He threaded fishing line through the 40 hole header, making an interference fit for male header pins. I tried it with 0.38 mm Trilene, which worked rather well.
never tried this but have a lookAdamStanislav wrote: ↑Sun Mar 31, 2019 5:31 pmUnfortunately, it requires soldering. Not everybody can solder, and even some of those of us who can are reluctant to solder on a board they have not made from scratch (as in, what if I mess up and kill my RPi).
LOL. That would not help anyone with the RUN thing, which is not on the header. At any rate, as others have pointed out, shorting RUN would do a hard reboot, like turning the power off and on, something to be avoided.mrreality13 wrote: ↑Mon Apr 01, 2019 6:42 amnever tried this but have a look