Connecting a small resistor in series with each LED reduces the current flowing through the LED so that it doesn’t burn as brightly. We’ve kept things simple by not including resistors in the design, but by doing so we’re shortening the lifespan of the LEDs a little. You’ll also need to change the device code accordingly, but we’ll do that when shortly, when we look at the code itself. Note You will need to select different pins if you are not using the imp004m Breakout Board. Plug the board into the breadboard.įor each LED, connect the longer of its two pins to the following development board pins: imp004m Breakout Board Pin You may need to solder a strip of connector pins to the board. The monitor hardware comprises the imp development board and three LEDs. A Twilio account, which you can set up here.An Electric Imp account, which you can create using impCentral™.An Electric Imp imp004m Breakout Board or any other imp-based development board.Networks’ signal strength as measured by the Net Monitor and their openness are indicated by icons. Click Refresh at any time to update the list. Click Get to view a list of nearby WiFi networks with which the Net Monitor is compatible.In addition, it provides a couple of useful tools: The web UI is dynamic: it auto-updates every 20 seconds with the latest network status information. Uses Twilio to send you an SMS when the your network’s state, as monitored by agent, changes.Serves a web UI that is accessible from anywhere on the Internet via a browser.The real intelligence lies in the part of the Net Monitor application which runs in the cloud as the device’s ‘agent’, which does a number of things: In this sense it is a true Internet ‘thing’: it’s just a data source. It signals its state on the LED and, if necessary, attempts to re-connect when it needs to. Once the Net Monitor goes green again, you know you’re good to go. When the Net Monitor becomes disconnected it automatically begins to attempt to reconnect periodically: the yellow LED is lit when it’s trying to do so. This might be because WiFi is down or there’s an outage on your broadband connection. The Net Monitor itself has three LEDs which provide a traffic-light style readout of local network status: green if the Net Monitor is connected or red if it has been disconnected. It uses Twilio’s Programmable SMS API to send text messages to your mobile phone when your network’s state changes, alerting you to outages. This tutorial will help you build a simple monitor that shows you the current state of your home or office wireless network, whether you’re nearby or traveling.
0 Comments
Leave a Reply. |