1 Half-size Perma-Proto Raspberry Pi Breadboard PCB Kit (circuit board and GPIO socket) (Adafruit ID 1148) (photo 9).Tower Lamp Controller Circuit Board Parts: 2 #4-40 3/8" flat head machine screws and nuts for the NAUSB-W-B (photo 8).1 Neutrik NAUSB-W-B Reversible USB 2.0 gender changer (type A and B) (available from eBay) (photos 6 and 7).1 6" USB Cable with male type A and male micro B connectors (Adafruit ID 898) (photo 5).2 #4 Flat nylon washers (Amazon Supply part number B000FN1560) (photo 4).2 1/4" Round nylon spacers for #4 machine screws (Amazon Supply part number B000FP9YW0) (photo 4).2 5/8" #4-40 Machine screws and nuts (photo 4).1 EDIMAX Wireless 802.11b/g/n nano USB Adapter (available from Amazon) or other supported WiFi adapter for Raspberry Pi (photo 3).1 16GB SDHC class 4 card (8GB can also be used) (photo 2).1 Raspberry Pi model B 512MB RAM (Available from Amazon or Adafruit ID 998) (photo 1).The following parts and tools are needed to construct the Raspberry Pi Internet Monitor: The circuit is built on an Adafruit half-size perma-proto Raspberry Pi breadboard printed circuit board as shown in the "Internet Monitor Circuit Board Layout" diagram. The simple circuit used is shown in the "Internet Monitor Tower Light Controller Schematic". This is needed because the tower lamps require more voltage and current than the Raspberry Pi can deliver. The circuit for controlling the lamps uses opto-couplers connected in between the Raspberry PI's GPIO pins and the tower lamp. Two Python programs are used to monitor the internet connection and control the shutdown switch (for details on how these programs work see the last step of this instructable.) The Raspberry Pi Internet Monitor consists of a model B Raspberry Pi, a circuit for controlling the tower lamp, an illuminated switch used to indicate when the monitor is operational and gracefully shut down the Raspberry Pi when pressed, a barrier strip for connecting the circuit board to the tower lamp, and some jacks for connecting power as shown in the "Internet Monitor Wiring Diagram". If the pings are unsuccessful, the red lamp is illuminated (third photo). If the pings are successful 1 to 50% of the time, the amber lamp is illuminated (second photo). If the pings are successful more than 50% percent of the time, the green lamp is illuminated (first photo). A Raspberry Pi periodically issues Linux ping commands to a set of web sites and based on the results will illuminate different color lamps in an industrial tower lamp mounted on a laser cut case. The Raspberry Pi Internet Monitor is used to provide visual status of a WiFi internet connection. I decided to build a gizmo that would make it easy to tell whether the internet connection was working or not. In my house, you can often hear someone shouting "Is the Internet down?" Sometimes it is but most of the time it's a "user problem".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |