IOT Assignment
IOT Assignment
SYSTEM
REPORT
The recent growth in economy and due to the availability of low price cars in
the market, every average middle-class individual can afford a car, which is
good thing, however the consequences of heavy traffic jams, pollution, less
availability of roads and spot to drive the motor car. One of the important
concerns, which is to be taken in accounting, is that problem of parking those
vehicles. Though, if there is space for parking the vehicle but so much time is
squandered in finding that exact parking slot resulting in more fuel intake and
not also environment friendly. It will be great deal if in some way we find out
that the parking itself can provide the precise vacant position of parking slot
then it'll be helpful not limited to the drivers also for the environment.
Therefore, many innovations are created to find solution.
EXISTING SOLUTIONS
At present some countries have portals which users can gain information
about parking areas via the in-telnet. This system can give user the
information about parking space, but it won’t be able to give which parking
slot is vacant and occupied. Hence, such system cannot smartly handle the
issue. Car lifts along with automated robotic system, which auto-magically
takes car to a particular parking spot as soon as the car enters on a platform.
This system cannot be installed by medium scale shopping malls, movie
theaters as it can cost them a huge amount. At many public places, the system
only shows the availability but it cannot show the exact slot and path to the
slot available. Hence, there is the need to smartly find the path to the vacant
spot.
1. Space
2. Information
3. The right Individual
4. Real time.
In its broadest sense, the term IoT encompasses everything connected to the
internet, but it is increasingly being used to define objects that talk to each other
Simply, IoT is made of devices from simple sensors to smart phones and
wearables connected together. The Internet of Things is essentially a system of
machines or objects outfitted with data collecting technologies so that those
objects can communicate with one another. IoT is all about the Network, Devices
and Data.
Sensors and devices are devices which may have special properties or perform simple
task to get information from the environment such as in this scenario to detect the
presence of a vehicles with the help of sensors. The task of the devices mainly is to grab
information from the environment.
Connectivity this is the most important part of IoT which is to connect the sensors or the
devices to a cloud, a platform that can be accessed through the internet. So, we should
make sure that the internet connectivity is given. To achieve this, different methods are
used such as using GSM (which is the most common form) or by Wi-Fi or connecting directly
via Ethernet which will route to the internet.
Data Processing once the data is transmitted over the internet to the cloud/server then
there have to be a data process which would be performed and displayed to the user. These
processes may involve displaying the temperature or the availability of a vehicle in a slot
(our project) and much more.
User Interface this is the platform in which the data could be communicated with the
user. And also, the platform in which the user can remotely send instructions to devices to
perform particular tasks such to activate or deactivate, on or off etc. The users can connect
to the IoT application via a mobile or desktop application but the most commonly used
platforms as there is no need to design specific native apps and desktop apps for different
vendors but just implement the user communication module in the web interface as its
compatible to all devices.
As stated in the previous section, our project consists of sensors, microcontrollers and a server.
Besides that, there will be parking areas and parking buildings incorporated
Microcontrollers
Arduino
Raspberry PI
Server
Users
Parking Attendants
Drivers
Administrator
Infrared Source
1. The source of infrared is either in built or form outside environment.
2. Range of detection and wavelength of infrared radiation to be detected can be configured.
Transmission medium
1. Vacuum
2. Air
3. Optical fibers
Optical system
1. To converge the infrared radiation into the detector
2. Optical lenses or mirrors
3. The material for optical system is chosen according to their transmittance/reflectance for
desired wavelength of IR
Detector
1. Thermal detector has detector material and is independent to wavelength
2. Quantum detector is wavelength dependent
Signal processing
1. The signals produced by the detector are small so amplification is
required.
Similarly, if the radiation is completely blocked the receiver can detect it and provide
the desired output. For example: let’s consider a Break beam sensor and a conveyer
belt. When an opaque object interrupts the IR flow the receiver doesn’t receive any
signal thus the conveyer belt stops.
Reflectance sensors use reflective property of IR. The emitter emits an IR beam
which is reflected by the object. Reflected IR is the detected by the receiver. The
object causes change in the property of the reflected IR or the amount of IR received
by the receiver varies. The degree of change is dependent on the reflectance of the
object. Thus, detecting the change in amount of received IR helps in figuring out the
properties of object such as surface geography and reflectance.
These sensors are ideal for a parking area, because upon detecting an object in front
of it, it transmits to the controller that it has detected an object and this stays true
unless the object moves away from the sensor
The main advantage of ultrasonic sensors is that measurements may be made without touching
or otherwise impeding the target. In addition, depending on the distance measured,
measurement is relatively quick (it takes roughly 6ms for sound to travel 1m). However, many
factors such as temperature, angle, and material may affect measurements.
Weighing in all the different mode of operations we picked this sensor to be part of our project
for its simplicity and quick response time.
The sensors we picked, IR sensor and Ultrasonic sensors are both cheap but we needed both
because we are working with different parking areas that needed different sensors to convey
the surrounding
Arduino UNO comes with different features and capabilities. As mentioned earlier, the microcontroller
used in UNO is ATmega328P, which is an 8-bit microcontroller based on the AVR architecture.
UNO has 14 digital input – output (I/O) pins which can be used as either input or output by connecting
them with different external devices and components. Out of these 14 pins, 6 pins are capable of
producing PWM signal. All the digital pins operate at 5V and can output a current of 20mA. Arduino
Uno has 6 analog input pins which can provide 10 bits of resolution i.e. 1024 different values. The
analog pins on the Arduino UNO are labelled A0 to A5.
✓ From above discussion we can understand that Arduino is good for repetitive tasks such as
opening the garage door, switching the lights on and off.
✓ For example, if you want to monitor the soil moisture and mail me if it is necessary to water
the plants. For this application, Arduino can be used.
✓ But if you want to monitor the moisture, mail me when the plants need to be watered and
check the weather report from online. If there is rain do nothing. For this application Raspberry
pi required.
✓ In simple Arduino is used for beginner’s projects and some complicated projects can be easily
handled by pi.
The server we used is built on the MQTT framework. We have explored different other web
frameworks and we picked MQTT for its simplicity and it is ideal for real time systems.
The first one can be further divided in to two based on the exiting mechanism.in the first case we
have parking areas with the same entrance and exit gates; the second one on the contrary has
separate entrance and exit gates. The parking area will have several entrances and exit points
which makes it difficult to set a single point of entrance and exit.
It can be clearly seen from figure 17 the difference between the parking spaces in question, the
physical layout of both structures defines the sensors used and their placement to achieve a
maximum throughput.
In addition to the parking spaces, we have also narrowed down the specific kinds of cars that can
be parked in such parking spaces. As per our definition the vehicles that can be parked in the
parking spaces are four wheeled vehicles which don’t include heavy vehicles that are used in long
distance travels.
We will look what each module contributes to the overall system step wise.
HARDWARE COMPONENTS