02 - IoT Hardware
02 - IoT Hardware
PRACTICAL NO: 02
RATIONAL
The world is at the onset of the Fourth Industrial Revolution and this revolution is very
much driven by the smarts in automating decision making and processes. Advancements in IT has
resulted in immense improvements in computational power across nearly all electronic devices and
enhanced capabilities in connecting the dots in an increasingly networked society. For successful
implementation of Internet of Things (IoT), the prerequisites are,
12 | P a g e
Vishwakarma Government Engineering College
Department of Instrumentation and Control Engineering
Introduction
There is no unique definition available for Internet of Things that is acceptable by the world
community of users. What all of the definitions have in common is the idea that the first version of
the Internet was about data created by people, while the next version is about data created by
things. The best definition for the Internet of Things would be:
“An open and comprehensive network of intelligent objects that have the capacity to auto-organize,
share information, data and resources, reacting and acting in face of situations and changes in the
environment”
The Internet of things consists of a large network of interconnected devices. These devices transfer
and collect huge amounts of data about how they operate and details about the information they
store. This data is sent to large cloud servers located across the globe. The cloud sends relevant
instructions based on the information received.
13 | P a g e
Vishwakarma Government Engineering College
Department of Instrumentation and Control Engineering
Components of IoT
IoT has 4 components that describe the functioning of most of the IoT systems:
These devices connect with the external physical environment. They collect the data from the
outside changes and store this information. A sensor senses the changes in the surroundings and
notes down these changes. This property makes sensors extremely useful in IoT applications.
For example, there are sensors in your phone such as GPS which track your location and guide you
to your destination. Cameras sense human movement to click pictures. Try finding out other
sensors in your mobile devices
Cloud servers process the data that sensors collect. But, in order to do so, they require
platforms. Connectivity is the connection among all IoT devices in any given IoT
ecosystem including sensors, routers, gateways, user applications and platforms. Connectivity
allows you to take control over the entire IoT system and hence it is crucial to select the right kind
14 | P a g e
Vishwakarma Government Engineering College
Department of Instrumentation and Control Engineering
of connectivity path. Wi-Fi, Bluetooth, Zigbee, cellular networks such as LTE or 5G all offer
connectivity to transmit large amounts of data.
Once the entire data transmits to the platform, functions are performed on this data in order to
process the data and send back necessary outputs. In other words, data analysis must take place.
This step is the most important step in IoT technologies. The analysis must happen at a quick rate
to provide better results.
This is the final stage. This stage is in direct contact with the actuators for regulation and control
requirement. Actuators are received the commands from the master (Data Processing and
Analytics) act as slave for closing the loop. Some of the IoT system has direct contact to User
Interface and it gives the output that users see on their screen. Every IoT device has a different
interface as each device has a different task or purpose to accomplish.
As mentioned before, IoT is a giant network consisting of interconnected devices. IoT devices
have sensors embedded into them. These sensors are capable of sensing their surroundings. The
devices store the information in some form of data. These devices include appliances such as
mobile phones, coffee machines, microwaves, geysers, fire alarms, Air conditioners, cars and so
on.
The sensors embedded in these devices constantly emit data about the surrounding and on the
working information of these devices. IoT serves as a platform to dump all the data collected by
these devices.
IoT platform includes cloud servers and large databases. The IoT platform acts on the data. It
integrates and processes the information. Further, the platform analyses the data thoroughly to
gather important details. The platform then sends back instructions based on the data provided.
Finally, the data aggregation is shared with other devices for better performance in the future. It is
also done for improved user experience.
15 | P a g e
Vishwakarma Government Engineering College
Department of Instrumentation and Control Engineering
a2. ESP32
a3. ESP8266
16 | P a g e
Vishwakarma Government Engineering College
Department of Instrumentation and Control Engineering
pins that may be interfaced to various expansion boards (shields) and other circuits. It has 14
digital input/output pins, 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power
jack, an ICSP header and a reset button. Since it has everything required for supporting the
microcontroller, one can simply connect it to a computer with a USB cable or power it with a AC-
to-DC adapter or battery to get started.
Advantages: Arduino Uno is easy to learn, has low costs, plus a wide array of sensors and several
third-party libraries. There are a large number of (online and free) resources that can be used with
this IoT board.
Disadvantages: When compared to Raspberry Pi, Arduino Uno needs some effort in order to carry
out tasks such as scheduling and database storage. So Arduino is not a great choice if you need
more processing power and memory.
Arduino Uno projects: Arduino Uno is perfect for projects such as programming a temperature and
humidity sensor, detecting motion with AC/ static electricity, controlling an automated soldering
robotic arm and so on.
17 | P a g e
Vishwakarma Government Engineering College
Department of Instrumentation and Control Engineering
L106 32-bit RISC microprocessor core and comes fitted with an AT Command firmware that can
be used with any MCU via COM port. It has 16 GPIO pins. On the memory front, it has 32 KB
instruction RAM, 32 KB instruction cache RAM, 80 KB user-data RAM and 16 KB ETS system-
data RAM. Other features include WEP or WPA/WPA2 authentication.
Advantages: The advantages of the ESP8266 include its low cost, reliability and easily availability
in the market.
Disadvantages: Until sometime ago, most of its documentation was in Mandarin, although the
emergence of the ESP8266 community has helped translate several details about programming.
ESP8266 projects: Examples of ideal projects include tracking geo-location, building a wireless
web server, putting pressure sensors on railway tracks to detect animal presence and set off an
alarm (thus avoiding animal deaths on tracks), building smart plugs, humidity and temperature
monitoring, and even making a personal assistant of your own (think along the lines of SIRI,
Google Assistant, Alexa!).
Advantages: Speed is certainly one of the main advantages here: testing on real-world examples
shows Teensy 4.0 to be capable of executing code more than five times faster than the Arduino
Uno, Plus it has a posse of peripherals, such as two 480 Mbps USB ports, 3 digital audio interfaces,
3 CAN busses, and multiple serial interfaces.
Teensy 4.0 projects: Teensy 4.0 is a good choice for IoT projects such as audio synthesis and
analysis.
A development board that lets one connect a mesh network to over a cellular service, Particle
Boron can act as a standalone cellular endpoint or LTE(Long term evolution as 4G) enabled
gateway for Particle Mesh networks.
19 | P a g e
Vishwakarma Government Engineering College
Department of Instrumentation and Control Engineering
Based on the Nordic nRF52840 SoC (System on a Chip), it has a built-in battery charging circuitry.
In other words, it’s a lot like the Electron, except with more features such as mesh networking and
Bluetooth. It also boasts two SARA cellular modules, NFC, lots of GPIOs, LiPo charging and
more. The board can act as a standalone cellular endpoint or an LTE enabled gateway for a Particle
Mesh network.
Advantages: Particle Boron’s big advantage is that Particle Borons can communicate with each
other over WiFi and then pass on the information to a central station which is far away over a
cellular network.
Disadvantages: One big disadvantage of moving from Particle Electron to Particle Boron would be
the loss of surface mountability.
Particle Boron projects: The Particle Boron is a good choice as a gateway to link an entire group of
local endpoints where Wi-Fi is missing or unreliable; it is also ideal for connecting projects to the
Particle Device Cloud.
Advantages: With an Adafruit FONA, one can make and receive voice calls from anywhere using a
headset, send and receive SMS messages, send and receive GPRS data (TCP/IP, HTTP, etc.) and
scan and receive FM radio broadcasts. Other advantages include buzzer vibrational motor control
allowing noiseless notifications and AT command interface with “auto baud” detection.
20 | P a g e
Vishwakarma Government Engineering College
Department of Instrumentation and Control Engineering
Disadvantages: It needs accessories such as a SIM Card, Lipoly Battery, MicroUSB cable for
charging the battery and an external antenna. Also, not all SIM cards may work.
Adafruit FONA projects: Ideal IoT projects are the GPS logging and marking ones as also the
geofencing projects that send alerts when the board moves out of a marked area.
The Beagle Bone Black’s features include 512MB DDR3 RAM, 4GB 8-bit eMMC on-board flash
storage, 3D graphics accelerator, NEON floating-point accelerator and 2x PRU 32-bit
microcontrollers. On the connectivity front, it has USB client for power & communications, a USB
host, Ethernet, HDMI and 2x 46 pin headers.
Advantages: The Beagle Board, especially the Beagle Bone Black version, is easy and inexpensive
to set up and use. It consumes low power and thus needs no additional cooling or heat sinks. Plus
the Beagle Bone Black features 65 input and output pins and a huge number of supported
interfaces, making it ideal for projects dealing with electronics. Moreover, there’s the Pocket
Beagle, which provides identical computing performance to Beagle Bone Black along with 50 %
21 | P a g e
Vishwakarma Government Engineering College
Department of Instrumentation and Control Engineering
reduction in size, 75 percent reduction in weight and 40 percent cheaper purchase price.
Disadvantages: The Beagle Board is not the best bet for complex multimedia and Linux-based
projects as it doesn’t have the graphical and audio capabilities that the Raspberry Pi has.
Beagle Board projects: Beagle Board is ideal for beginners in electronics and programming. So
projects that require reading from external sensors, commanding actuators (such as motors or light
systems), and networking are simpler and more efficient with the Beagle Bone Black than with a
Raspberry Pi.
in Raspberry Pi 3.
In addition to this, the Raspberry Pi 4 boasts an overhauled operating system. The user interface
22 | P a g e
Vishwakarma Government Engineering College
Department of Instrumentation and Control Engineering
has been modernized and updated applications include the Chromium 74 web browser. The legacy
graphics driver stack, allows for doing away with almost half of the lines of closed-source code in
the platform, in addition to offering the ability to run 3D applications in a window under X,
OpenGL-accelerated web browsing and desktop composition.
Advantages: As mentioned above, the Raspberry Pi 4 is faster and more capable than its
predecessors due to the scores of improvements. It can also play 4K video at 60 frames per second,
unlike Raspberry Pi 3. Other Pi 4 features include built-in Wi-Fi and Bluetooth. The board is also
capable of booting directly from a USB-attached hard drive or pen drive.
Disadvantages: The Raspberry Pi 4 can run Windows 10 but it’s important to keep in mind that it
is not anything like the full desktop version of Windows 10; it is but a low cost alternative.
Similarly, while it can run Windows desktop apps, it will need a lot of effort to make that happen,
and even then apps are more likely to run poorly. It also continues to lack internal storage but one
can use SD cards to address this.
Raspberry Pi 4 projects: Like its predecessors, the Raspberry Pi 4 is an incredibly useful IoT board
that can be used for numerous projects. Examples include filming one’s own stop motion video,
building one’s own Pi web server, a Raspberry Pi home security system, or a Raspberry Pi home
automation system, building a virtual jukebox, creating a network monitoring tool, a Raspberry Pi
robot and many more.
Conclusion
Assignment
1. Describe the scope of Raspberry Pi-4 as a single board computer
2. Briefly discuss the factors which make Arduino controllers more popular as IoT Devices?
23 | P a g e