Académique Documents
Professionnel Documents
Culture Documents
1. List the different types of sensors available (not less than 15) and create a table
mentioning sensor image, its usage, connection specifications, etc. An example of one sensor is
given in the following table.
OUT
Active High
Outpu
phones to disable
the screen while
someone is dialing
the phone and
keeping it on ear.
7 Pulse Sleep Tracking 1 Ground Black Plug and Play type sensor
Sensor Anxiety monitoring Operating Voltage: +5V or
Remote patient Connected to +3.3V
monitoring/alarm the ground of Current Consumption:
system the system 4mA
Health bands Inbuilt Amplification and
Advanced gaming 2 Vcc Red Noise cancellation circuit.
consoles Diameter: 0.625”
Connect to +5V Thickness: 0.125” Thick
or +3.3V
supply voltage
3 Signal
Purple
Pulsating
output signal.
6 SCL
I2C interface -
Serial Clock pin
7 SDA
I2C interface -
Serial Data pin
8 XCLR
Master clear
pin (Active low)
18BCE2333 Udit Uberoi
7 AD0
If more than
one MPU6050
is used a single
MCU, then this
pin can be
18BCE2333 Udit Uberoi
used to vary
the address
8 Interrupt
(INT)
Interrupt pin to
indicate that
data is
available for
MCU to read.
2. Design a module for smart city, named smart municipal water release approach. The tank
should have two sensors one is to identify the maximum tank capacity and the other is to
maintain the minimum water level as a backup. The tank should automatically release the water
at a particular time every day. The water which is released by tank should be noted in online
cloud. Consider ThinkSpeak / Amazon Web Service (AWS) for this process. Design the same
using any simulator (ThinkCad) / NodeRed / others and display the diagram here.
The water-level sensors perform a two way communication with the Raspberry Pi where it sends
back the raw sensor data when the Raspberry Pi demands for it. This sensor works on the
SONAR principle where it emits an ultrasonic sound wave and receives it back. When the
voltage on the “TRIG” pin is high it emits the sound wave and on receiving it back the voltage on
the ECHO pin is set to “HIGH”.
Raspberry Pi: The Raspberry Pi houses a Node.js script which performs a two-way
communication with the water-level sensor and the MQTT broker respectively. It receives a
request from the Android or Web client via the MQTT broker to get the water-level. On getting
the request it sends a “HIGH” signal to the sensor‟s TRIG pin. The sensor then emits an
ultrasonic sound wave which sets the ECHO pin to HIGH after receiving it. This “HIGH” signal is
received back by the Raspberry Pi. The Pi then calculates the distance based on the time
elapsed between the sending and receiving of the sound wave. It then communicates with the
MQTT broker and sends it the calculated distance.
MQTT Broker: The MQTT broker is a central server which runs on Amazon Web Service‟s EC2
instance. The broker acts as a bridge that connects all the modules. It is the centralized MQTT
server that hosts topics through with the communication takes place. For the broker all the
connected devices are clients (website, Android app, and Raspberry Pi). The website and/or
Android app requests the Raspberry Pi to send the water-level which is received by the broker
first. It then locates all the devices subscribed to that topic, finds Raspberry Pi in the list, and
18BCE2333 Udit Uberoi
forwards it the request. Similarly, when the Raspberry Pi calculates the level it publishes the
level data to a particular topic which is received by the broker first. The broker then looks for all
the devices subscribed to the particular topic, finds website and/or Android app in the list, and
forwards the level-data.
Through explaination is given in the research paper which was similar to the idea I had
envisioned as the logistics weren’t worked out the paper is linked below which shows what a
refined solution will look like. In essence the logic and idea behind it is the same. You could use
a different protocol or a different sensor for your approach but the basics will still be that, basics.
Due to lack of time due to CAT II, I won’t be able to elaborate further but I could after CATS and
projects are over.
Citations:
https://www.ijarcce.com/upload/2016/august-16/IJARCCE%2067.pdf
https://components101.com/sensors/