NETWORK EQUIPMENT RESETTER using PIC16F628

Introduction

This program is a network power resetter. It controls a solid-state-relay that is in series with 110VAC that supplies power to a satellite internet receiver, various routers, etc. Once every 24 hours it drops power for 10 seconds to allow the receiver and routers to start clean, something that seems to be necessary to keep receivers and routers from “losing themselves” after running too long!

NETWORK EQUIPMENT RESETTER

Features

This is simply an electronic solution with a couple of features, but the same thing can be accomplished by the use of a mechanical “home” timer that drops power once per day, as illustrated in the image below.

Operation

  • Power is dropped automatically for 10 seconds once every 24 hours, starting eight hours after the unit is powered up.

NETWORK EQUIPMENT RESETTER schematic

Code:

/****************************************************************************
NETWORK_RESET_01.C

This program is a network reseter.  It controls a solid-state-relay that
is in series with 110VAC.  It supplies power to a satellite receiver,
various routers, etc.  Once every 24 hours it drops power for 10 seconds
to allow the receiver and routers to start clean.

The LED flashes once per second.

The 24 hour reset occurs eight hours from the time the unit is powered on.
If it is desired to changed that delay, decide how many hours (from now)
that you want the unit to reset.  Press and hold the button for
greater than five seconds, and release it.  The LED will stop flashing.
Immediately press and hold the button until the LED starts flashing.  Count
the flashes as you hold the button.  Release the button when the LED has
flashed the number of hours you want to delay.  Normal operation will
occur after three seconds.

To drop power immediately, press and hold the button for two seconds.

                 +5
                  |
                  14
                ----------
     SW  ----6-|          |-17-- LED
               |          |-18-- SSR
               |          |
               |          |
               |  16F628  |
               |          |
               |          |-13--PROG_CLK
               |          |-12--PROG_DAT
  6MHz XTAL-15-|          |-4---MCLR
       XTAL-16-|          |     GND
                ----------
                     5
                     |
                    Gnd

***************************************************************************/

 

For more detail: NETWORK EQUIPMENT RESETTER using PIC16F628

About The Author

Ibrar Ayyub

I am an experienced technical writer with a Master's degree in computer science from BZU Multan University. I have written for various industries, mainly home automation and engineering. My writing style is clear and simple, and I am skilled in using infographics and diagrams. I am a great researcher and am able to present information in a well-organized and logical manner.

Follow Us:
LinkedinTwitter