Unit - Iii
Unit - Iii
1. Define Microcontroller
Microcontroller can be thought of as tiny computers that are added to any physical
object or space to give it a ‘brain’. They contain one or more computer processors
along with memory and programmable input/output peripherals-all in a single
integrated circuit.
2. Types of Microcontroller
8 bit Microcontroller
16 bit Microcontroller
32 bit Microcontroller
64 bit Microcontroller
3. Define System on Chips (SoC)
A system on a chip (SoC ) is an integrated circuit (also known as a "chip") that
integrates all or most components of a computer or other electronic system.
4. Types of Arduino
Arduino Nano
Arduino UNO
Arduino Mega
Arduino Micro
Arduino Lillypet
5. Write Two Blocks in Arduino
Void setup ()
Whatever code you type inside the setup whenever you run the Arduino it will
execute only once,whenever the Arduino starts or is resetted.
Void loop ()
It will execute continuously until you stop the program.
Statements in this block starts to run after “setup” and runs infinitely until the
arduino is turned off.
6. Define Arduino IDE
Includes a code editor,compiler and uploader to upload programs to a board.
This runs on Widows,Mac OS,Linux
A program written with IDE for Arduino is called a Sketch.
Programmed in C language
Very simple
Provides many abstraction for simplicity of reading and writing powerfull
applications
Provides a serial monitor to see the serial data from the USB virtual COM
port
Allows one click compiling , verification and burning of code onto the
arduino
7. Define Raspberry PI
Raspberry is mainly called as credit card size or Mini computer. Why they called
so because how you’re desktop and laptop works .All functions is done by your
Raspberry PI.But comparing to desktop and computer the memory is less in
raspberry PI.
8. Types of Raspberry PI
Model A
Model B
Model B2 or Model B+
Model PI 2
Model PI 3
PI ZERO
9. Advantages of Raspberry Pi
Smaller in size
Drawless Power
Noise Free
Low cost
Used for Multipurpose
List out the Various Distributions available on Raspberry Pi
Raspbian “wheezy”
XBMC
Fire Fox OS
Qt on Pi
Arch Linux ARM
Fidora on Raspberry P
Android 2.3
Microcontroller: ATmega328
Operating Voltage: 5V
Input Voltage (recommended): 7-12V
Input Voltage (limits): 6-20V
Digital I/O Pins: 14 (of which 6 provide PWM output)
Analog Input Pins: 6
DC Current per I/O Pin: 40 mA
DC Current for 3.3V Pin: 50 mA
Flash Memory: 32 KB of which 0.5 KB used by bootloader
SRAM: 2 KB (ATmega328)
EEPROM: 1 KB (ATmega328)
Clock Speed: 16 MHz
Part=C
Four things form basic building blocks of the IoT system –sensors, processors,
gateways, applications. Each of these nodes has to have its own characteristics in
order to form an useful IoT system.
Figure 1: Simplified block diagram of the basic building blocks of the IoT
Sensors:
These form the front end of the IoT devices. These are the so-called
“Things” of the system. Their main purpose is to collect data from its
surroundings (sensors) or give out data to its surrounding (actuators).
These have to be uniquely identifiable devices with a unique IP address so
that they can be easily identifiable over a large network.
These have to be active in nature which means that they should be able to
collect real-time data. These can either work on their own (autonomous in
nature) or can be made to work by the user depending on their needs (user-
controlled).
Examples of sensors are gas sensor, water quality sensor, moisture sensor,
etc.
Processors:
Processors are the brain of the IoT system. Their main function is to process
the data captured by the sensors and process them so as to extract the
valuable data from the enormous amount of raw data collected. In a word,
we can say that it gives intelligence to the data.
Processors mostly work on real-time basis and can be easily controlled by
applications. These are also responsible for securing the data – that is
performing encryption and decryption of data.
Embedded hardware devices, microcontroller, etc are the ones that process
the data because they have processors attached to it.
Gateways:
Gateways are responsible for routing the processed data and send it to proper
locations for its (data) proper utilization.
In other words, we can say that gateway helps in to and fro communication
of the data. It provides network connectivity to the data. Network
connectivity is essential for any IoT system to communicate.
LAN, WAN, PAN, etc are examples of network gateways.
Applications:
In Figure 2, the extreme right block forms the application end of the IoT system.
Figure 2: Basic building blocks of IoT
In a nutshell, from the figure we can determine that the information gathered by the
sensing node (end node) is processed first then via connectivity it reaches the
embedded processing nodes that can be any embedded hardware devices and are
processed there as well. It then passes through the connectivity nodes again and
reaches the remote cloud-based processing that can be any software and is sent to
the application node for the proper applied usage of the data collected and also for
data analysis via big data.