402C Unit - 2 IoT
402C Unit - 2 IoT
Sensors are used for sensing things and devices etc.A device that provides a usable output in
response to a specified measurement.
The sensor attains a physical parameter and converts it into a signal suitable for processing (e.g.
electrical, mechanical, optical) the characteristics of any device or material to detect the presence
of a particular physical quantity. The output of the sensor is a signal which is converted to a
human-readable form like changes in characteristics, changes in resistance, capacitance,
impedance etc.
IOT HARDWARE
Fig. OS Installation
Once the write is complete, eject the SD card and insert it into the Raspberry Pi and turn it on.It
should start booting up.
Setting up the Pi
Please remember that after booting the Pi, there might be situations when the user credentials like
the "username" and password will be asked. Raspberry Pi comes with a default user name and
password and so always use it whenever it is being asked. The credentials are:
login: pi
password: raspberry
When the Pi has been booted for the first time, a configuration screen called the "Setup Options"
should appear and it will look like the image below.
The definition of WSN, according to, Smart Dust program of DARPA is:
“A sensor network is a deployment of massive numbers of small, inexpensive, self powered devices
that can sense, compute, and communicate with other devices for the purpose of gathering local
information to make global decisions about a physical environment”.
Components of WSN:
Sensors:
Sensors in WSN are used to capture the environmental variables and which is used for data
acquisition. Sensor signals are converted into electrical signals.
1. Radio Nodes:
It is used to receive the data produced by the Sensors and sends it to the WLAN access point. It
consists of a microcontroller, transceiver, external memory, and power source.
2. WLAN Access Point:
It receives the data which is sent by the Radio nodes wirelessly, generally through the internet.
3. Evaluation Software:
The data received by the WLAN Access Point is processed by a software called as Evaluation
Software for presenting the report to the users for further processing of the data which can be
used for processing, analysis, storage, and mining of the data.
The Sensor Node
Sensor node: Capable of executing data processing, data gathering and communicating with
additional associated nodes in the network. A distinctive sensor node capability is about 4-8
MHz, having 4 KB of RAM, 128 KB flash and preferably 916 MHz of radio frequency.
These are highly overpowered, and their energy consumption is excessive. These are used in
embedded systems. key characteristics of microcontrollers are particularly suited to embedded
systems are their flexibility in connecting with other devices like sensors and they are also convenient
in that they often have memory built in. In a wireless sensor node, DSP could be used to process data
coming from a simple analog, wireless communication device to extract a digital data stream. In
broadband wireless communication, DSPs are an appropriate and successfully used platform.DSP-
specifically geared, with respect to their architecture and their instruction set, for processing large
amounts of vectorial data, as is typically the case in signal processing applications.Memory -to store
programs and intermediate data.Different types of memory are used for programs and data.
In WSN there is a need for Random Access Memory (RAM) to store intermediate sensor readings,
packets from other nodes, and so on. While RAM is fast, its main disadvantage is that it loses its
content if power supply is interrupted. Program code can be stored in Read-Only Memory (ROM) or,
more typically, in Electrically Erasable Programmable Read-Only Memory (EEPROM) or flash
memory (the later being similar to EEPROM but allowing data to be erased or written in blocks
instead of only a byte at a time). Flash memory can also serve as intermediate storage of data in case
RAM is insufficient or when the power supply of RAM should be shut down for some time.Turning
nodes into a network requires a device for sending and receiving inform.
I. COMPONENTS OF SENSOR NODE
Sensor nodes are conventionally made up of five basic components as shown in Figure 2
microcontroller, a power supply unit, a transceiver, memory unit, and sensor unit.
Microcontroller
The microcontroller is the central component in the WSN signal chain. It communicates with all of
the sensors to read and process the data that the sensors are measuring. It communicates with the
radio, to package the data in a manner that the radio can transmit wirelessly. It also houses the
memory, containing all of the system parameters such as sleep modes, and the RF communications
protocol. ADI has a family of microcontrollers that are designed specifically for this extremely low
power application space such as the ADuCRF101 which is based on Cortex M3 processor
technology.
Power Supply
Each component in the wireless sensor node is powered through the power supply unit and the
limited capacity of the power supply unit requires energy efficient operations for the task performed
by each component. The power in a WSN is mainly dissipated by sensors and Transceivers while
either transmitting or receiving
Two options for power supply are:-
Figure 5.
The components of a sensor node
Internet of Things
The devices that are involved in IoT are:
IoT_Sensor - In general, sensors monitor and records the physical conditions of the environment
which is then sent to a central location (Sink node) where the data is collated and analysed for further
action. Sensors in NetSim are abstract in terms of what they sense, and NetSim focuses on the
network communication aspects after sensing is performed.
LoWPAN Gateway (in IoT) - LoWPAN is an acronym of Low power Wireless Personal Area
Networks. The LoWPAN IoT gateway functions as a border router in a LoWPAN network,
connecting a wireless IPv6 network to the Internet.
Ad-hoc Link: Ad hoc link depicts a decentralised type of wireless network. The network is
ad hoc because it does not rely on any pre-existing infrastructure, such as routers in wired
networks or access points in managed wireless networks. In NetSim IoT, Ad hoc link are
used to connect the IoT_Sensors and the 6LowPAN_Gateway. Ad hoc links are used here for
a visual representation of connection of all the devices in an Ad hoc basis.
Users can also add routers and nodes as shown below. Routers can be connected to the
6LoWPAN-Gateway and nodes/switches can be connected to routers using wired/wireless
RCR Institute of Management & Technology Page 25
Prepared By Mrs.P.Lalitha, Dept.of MCA Internet of Things
links.