ADDING A RESET SWITCH TO YOUR RASPBERRY PI

 

RASPBERRY PI  2

RASPBERRY PI 3

 

To reset the cpu all that is required is to short the two pads on the pcb labelled ( run )  - the best way to do this is to solder two header pins into the pcb holes and then connect a push switch. use correct header pins do not just solder wires to the board .you can buy the header pins and cables  from the raspberry main site ( you need to carefully cut one row off and solder it to the pcb ) the push switches are sold cheaply on ebay. wire the push switch to the pcb as shown below

Caution - there is a possibility resetting things this way could corrupt the sd card - but if the unit has 'hung' you have not got much option anyway

 

Another option is to solder two header pins onto the pcb but reset the raspberry pi if needed by using a jumper block

RASPBERRY PI ZERO 

 

You can also add a reset switch to your raspberry pi zero the pins are again labelled 'run'

below these two pins you will notice two more pins labelled 'tv' which can be quite useful if you want to use the zero with a tv monitor that does not have a hdmi connector


probably the easier way  will be to use a plug with  screw terminals


again use proper header pins do not  solder wires to the zero pi pcb

plug into video socket on the  tv not the TV ANT SOCKET !

 

 

 

ADDING  A ON/OFF SWITCH TO YOUR RASPBERRY PI CLICK THE LINK HERE

losing your internet connection - but it restores with a reboot ?


If your raspberry pi loses its internet connection occasionally for whatever reasons you could implement this script written by sandro machado

it's useful for a unattended or remotely placed raspberry pi

https://gist.github.com/SandroMachado/starred

WANT TO RE BOOT YOUR RASPBERRY PI EVERY DAY?


IF YOU DO I SUGGEST THAT YOU USE A STATIC I.P ADDRESS JUST IN CASE THE ROUTER DECIDES TO RE ASSIGN A DIFFERENT I.P ADDRESS ON ONE OF THE RE BOOTS FURTHER ALONG THE LINE.


THE BELOW SRCIPT WILL RE BOOT YOUR RASPBERRY EVERY DAY AT 1345 DAILY AND SHOULD RECONNECT YOU TO THE INTERNET AUTOMATICALLY

sudo nano /etc/cron.d/mycron


Then paste in

# m h dom mon dow user command
45 13 * * * root /sbin/shutdown -r now

or

45 13 * * 0 root /sbin/shutdown -r now

( 0 = sunday    --   1 = monday etc )

so above should reboot your raspberry every sunday at 13:45 

ADDING A USB SOCKET

 

BUILDING YOUR OWN CASE FOR THE RASPBERRY PI