Copyright 2014 Kenneth M. Chipps Ph.D. www.chipps.com Network Management Using Sensors to Monitor Network Equipment Rooms Last Update 2014.08.12 1.1.0.

Slides:



Advertisements
Similar presentations
Copyright Kenneth M. Chipps Ph.D. How to Use a Spectrum Analyzer Wi-Spy Version Last Update
Advertisements

Arduino Week 3 Lab ECE 1020 Prof. Ahmadi. Objective Data acquisition (DAQ) is the process of measuring an electrical or physical phenomenon such as voltage,
“Power Supply” Controls Voltage Difference in Voltage is set Output Current is “as requested” by attached device.
Embedded Programming and Robotics Lesson 1 Basic Electricity and Electronics Transistor Basics Lesson 1 -- Basic Electricity1.
Electric Circuits And Voltage
20.1 Electric Circuits pp Mr. Richter.
Static Routing Last Update Copyright Kenneth M. Chipps Ph.D.
Embedded Programming and Robotics
EGD ELECTRICAL ELECTRICAL SYMBOLS.
How to Build a CAN Last Update Copyright Kenneth M. Chipps PhD 1.
If you want your boats or anything on your boats, go get them now. Otherwise, just leave them here.
CURRENTS AND OHM’S LAW. What?  Electricity – flow of electric current  Electric current – the movement of an electrical charge.  In most cases, we.
7.
P  German physicist Georg Ohm ( ) found relationship between potential difference & current.  He kept potential difference & current.
Chapter 34 Electric Current Voltage is an “electric pressure” that can produce a flow of charge, or current, within a conductor. The flow is restrained.
2 Types Current Alternating Current (AC) Direct Current (DC)
Unit 7: Electricity and Magnetism
17.2 Current pages Let’s get an introduction!
Circuits and Electronics. Circuits A circuit is a closed path through which a continuous charge can flow. A circuit is a closed path through which a continuous.
Powerline Distribution Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Circuits, Current and Voltage
The world is filled with electrical charges:
15.2 Electric Current, Resistance and Voltage pp Mr. Richter.
Chapter 1. Before the strips of newspaper were in contact with the plastic bag: they hung straight down while touching each other After sliding the plastic.
Electricity and Electric Circuits
Electricity and Electric Circuits
Electricity is a form of energy Electricity can exert a force on other objects Think of your Laws of Charge activity Electricity is when electrons flow.
Current Electricity 1. What is Electric Current? Electric current is the flow of electricity through a conductor. The current is caused by the movement.
Static, Currents, Circuits
ELECTRICAL SYSTEMS. Chapter Twenty One: Electrical Systems  21.1 Series Circuits  21.2 Parallel Circuits  21.3 Electrical Power.
The Control of Electricity in Circuits
SAMI MAKERSPACE MAKE: AN ELECTRONICS WORKSHOP. ELECTRICITY BASICS.
Chapter 6 Lesson 2. How can electricity flow? When an object gains of loses electrons, it has an electric charge. Similar to magnetic force, unlike charges.
Circuits and electricity basics interactive materials spring 2016 Stacey Kuznetsov
a path along which electrons flow must have no breaks in the path to work 2 types: –closed (no breaks) –open (break, causes the device to shut off - switch)
Electricity Notes 6 - Circuits Electric Circuit – _______________________________________ All electrical circuits have 4 parts: 1.____________________________________________________.
ELECTRICAL CIRCUITS. Circuits Circuits are paths which small particles flow through to provide us with electricity for lights, appliances, and other devices.
Electric Current Current, Ohms Law & Power. Electric Current  Electric current is related to the voltage that produces it, and the resistance that opposes.
Electric Current Everything (water, heat, smells, …) flows from areas of high concentration to areas of lower concentration. Electricity is no different.
+ Electric Circuits Series Circuits. + A Battery and a Bulb A flashlight consists of a reflector cap, a light bulb, batteries, and a barrel-shaped housing.
Example of a LAN Last Update Copyright 2009 Kenneth M. Chipps Ph.D.
Having fun with code, using Arduino in a middle school CS classroom
Current Electricity and Circuits
Electronics Circuits.
Prototyping with Microcontrollers and Sensors
Dr. Kyung Eun Park Summer 2017
Chapter 7 Section 2.
Recall that when two conducting objects at different potentials are connected by a conducting wire, charge flows from the object at a higher potential.
Microcontroller basics
Arduino is an open-source platform for building electronics projects
Introduction to the Arduino
Dr. Gary Stewardson, Raymond Boyles
Circuits, Current and Voltage
Lighting LEDs with a RASPBERRY PI
Introduction to robotics
ARDUINO     What is an Arduino? Features 14 Digital I/O pins 6 Analogue inputs 6 PWM pins USB serial 16MHz Clock speed 32KB Flash memory 2KB SRAM.
Energy & Voltage.
Circuits, Current and Voltage
CS-4540 Robotics Lab 00 - Introduction and OHM's law.
FeMaidens Programming
Unit 2.3 Electric Current.
Welcome to Digital Electronics using the Arduino Board
We have been working on Investigating Circuits. Let’s Review…
ELECTRICAL CIRCUITS.
Basic circuits Electrical circuits Electrical properties Ohm’s law
Circuits, Current and Voltage
Circuits.
ELECTRICAL CIRCUITS.
Electrical Circuits.
How electronic systems work using the Systems approach.
Presentation transcript:

Copyright 2014 Kenneth M. Chipps Ph.D. Network Management Using Sensors to Monitor Network Equipment Rooms Last Update

Copyright 2014 Kenneth M. Chipps Ph.D. 2 Objectives Learn how to create network monitoring sensors using Arduino and Raspberry Pi

What is Network Monitoring A common function of network management is monitoring the status of the network This can range from SNMP based monitoring to hardware based sensors as discussed here These sensors are used to measure and report any deviation from normal for parameters such as Copyright 2014 Kenneth M. Chipps Ph.D. 3

What is Network Monitoring –The temperature in the room –The humidity in the room –An entry door opening –Watching the room with a camera –Detecting water in the room –Detecting smoke in the room –Controlling access to the room with RFID Copyright 2014 Kenneth M. Chipps Ph.D. 4

Methods Used A common way to watch for deviation from normal levels is to mount a device in the network room that will continuously measure values and then send a signal when there is a significant deviation This device can be mounted in the equipment rack or on a wall An example of this is the NetBotz line from APC Copyright 2014 Kenneth M. Chipps Ph.D. 5

NetBotz This device looks like this Copyright 2014 Kenneth M. Chipps Ph.D. 6

NetBotz Copyright 2014 Kenneth M. Chipps Ph.D. 7

NetBotz Copyright 2014 Kenneth M. Chipps Ph.D. 8

NetBotz Copyright 2014 Kenneth M. Chipps Ph.D. 9

NetBotz Here is what APC says about it –The NetBotz 500 protects a room and its valuable contents, like IT equipment, from damage due to water leaks, high or low temperatures, smoke or dust, humidity, vandalism, theft, and many more dangerous environmental and physical factors, by providing advance warning of equipment failure Copyright 2014 Kenneth M. Chipps Ph.D. 10

Build Your Own What we will do here is to see how these various sensors work while we build a example of this type of system using the Arduino microcontroller and the Raspberry Pi computer Copyright 2014 Kenneth M. Chipps Ph.D. 11

What is Arduino The Arduino board is basically a microcontroller that can be used to interface with, receive data from, and control devices attached to it using script based programs to interpret and display the data Copyright 2014 Kenneth M. Chipps Ph.D. 12

Arduino Hardware There are several Arduino boards The ones we will use are the Uno and the Yun They look like this For an idea of size, on the Uno at the top left is the USB connector, on the Yun the top left connector is a RJ-45 jack Copyright 2014 Kenneth M. Chipps Ph.D. 13

Arduino Uno Copyright 2014 Kenneth M. Chipps Ph.D. 14

Arduino Yun Copyright 2014 Kenneth M. Chipps Ph.D. 15

Language Used With Arduino Arduino uses C or C++ more or less Not everything will run as it only supports a subset of the language To send the code to the board it is first written in or copied to a program called IDE Once there it is called a sketch Copyright 2014 Kenneth M. Chipps Ph.D. 16

Language Used With Arduino In this program you enter the code, verify it, and upload it to the board If saved from IDE, the file has an ino extension Copyright 2014 Kenneth M. Chipps Ph.D. 17

What is Raspberry Pi The Raspberry Pi board is a small computer similar to that found in a smartphone It is based on the same ARM processor found in cell phones It can be controlled using standard Linux commands or with a script based program that is usually written in Python Copyright 2014 Kenneth M. Chipps Ph.D. 18

Raspberry Pi Hardware There are several versions of the Raspberry Pi board Unlike the Arduino line these are mostly improvements to the basic board, rather then boards for different purposes These are the same size as the Arduino board Copyright 2014 Kenneth M. Chipps Ph.D. 19

Raspberry Pi Hardware Copyright 2014 Kenneth M. Chipps Ph.D. 20

Language Used With Raspberry Python is the primary language used Copyright 2014 Kenneth M. Chipps Ph.D. 21

Basic Electronics Before we begin building let’s see how the components and the connections between them work together to measure and display the information we need Copyright 2014 Kenneth M. Chipps Ph.D. 22

Circuits The components are connected to each other with circuits Circuits are closed loops of wire with a power source and something to do something useful with the energy, a load In a circuit, electricity flows from a point of higher potential energy usually referred to as power or + to a point of lower potential energy Copyright 2014 Kenneth M. Chipps Ph.D. 23

Circuits Ground often represented with a - or GND is generally the point of lower potential energy in a circuit In the circuits used here electricity only flows in one direction This type of circuit is called direct current, or DC circuit A circuit is a circular path that starts and stops at the same place Copyright 2014 Kenneth M. Chipps Ph.D. 24

Circuit A circuit looks like this first as a board as used and then as a visual representation called a schematic Copyright 2014 Kenneth M. Chipps Ph.D. 25

Circuit Copyright 2014 Kenneth M. Chipps Ph.D. 26

Circuit Copyright 2014 Kenneth M. Chipps Ph.D. 27

Circuit Copyright 2014 Kenneth M. Chipps Ph.D. 28

Relationship of V I R To make a circuit do something voltage current and resistance are used –Voltage - V –Current - I –Resistance - R Their relationship is Copyright 2014 Kenneth M. Chipps Ph.D. 29

Relationship of V I R Copyright 2014 Kenneth M. Chipps Ph.D. 30

How Does a Circuit Work Let’s see how a circuit does what it does as explained by SparkFun a supplier of many of the parts we will use –You’ve probably heard that a battery or a wall outlet has a certain number of volts –This is a measurement of the electrical potential produced by the battery, or the utility grid connected to the wall outlet Copyright 2014 Kenneth M. Chipps Ph.D. 31

How Does a Circuit Work –All those volts are sitting there waiting for you to use them, but there’s a catch: in order for electricity to do any work, it needs to be able to move –It’s kind of like a blown-up balloon; if you pinch it off, there is air in there that could do something if it’s released, but it won’t actually do anything until you let it out Copyright 2014 Kenneth M. Chipps Ph.D. 32

How Does a Circuit Work –Unlike air coming out of a balloon, electricity can only flow through materials that can conduct electricity, such as copper wire –If you connect a wire to a battery or wall outlet, you will be giving the electricity a path to follow –But if the wire isn’t connected to anything else, the electricity won’t have anywhere to go and still won’t move –What makes electricity move Copyright 2014 Kenneth M. Chipps Ph.D. 33

How Does a Circuit Work –Electricity wants to flow from a higher voltage to a lower voltage –This is exactly like the balloon: the pressurized air in the balloon wants to flow from inside the balloon - higher pressure - to outside the balloon - lower pressure –If you create a conductive path between a higher voltage and a lower voltage, electricity will flow along that path Copyright 2014 Kenneth M. Chipps Ph.D. 34

How Does a Circuit Work –And if you insert something useful into that path like an LED, the flowing electricity will do some work for you, like lighting up that LED –So, where do you find a higher voltage and a lower voltage –Here’s something really useful to know: every source of electricity has two sides –You can see this on batteries, which have metal caps on both ends, or your wall outlet that has two or more holes Copyright 2014 Kenneth M. Chipps Ph.D. 35

How Does a Circuit Work –In batteries and other DC - Direct Current voltage sources, these sides are named positive or +, and negative or - Copyright 2014 Kenneth M. Chipps Ph.D. 36