SMART GARAGE PARKING SRI AKHILA YADLAPALLI Ultrasonic distance

  • Slides: 20
Download presentation
SMART GARAGE PARKING SRI AKHILA YADLAPALLI

SMART GARAGE PARKING SRI AKHILA YADLAPALLI

Ultrasonic distance Sensor Raspberry Pi 3 Hardware Required: Red, Yellow, Green LED lights 1000

Ultrasonic distance Sensor Raspberry Pi 3 Hardware Required: Red, Yellow, Green LED lights 1000 ohm resistors - 3 Jumper wires

Ultrasonic Distance Sensor: • These sensors measure distance by using ultrasonic waves. The sensor

Ultrasonic Distance Sensor: • These sensors measure distance by using ultrasonic waves. The sensor head emits an ultrasonic wave and receives the wave reflected from the target. Ultrasonic Sensors measure the distance to the target by measuring the time between the emission and reception. Formula: Distance L = 1/2 × T × C

HC-SR 04 Sensor:

HC-SR 04 Sensor:

SERVICE SPECIFICATION Ultrasonic distance sensor continuously measures the distance and it will return the

SERVICE SPECIFICATION Ultrasonic distance sensor continuously measures the distance and it will return the distance whenever an obstacle is detected in its way. While parking, this sensor measures the distance and if it finds an obstacle which is greater than or equal to 25 cm then it will flash a green light as an indication that it has less chance of hitting the obstacle and driver can park freely. If it finds an obstacle which lies in between 10 cm and 25 cm, then it will flash a yellow light which means that driver needs to be cautious as there are chances of getting hit. If it finds an obstacle which is less than or equal to 10 cm there are more chances of getting hit and it will flash the red light which means that driver must be extra cautious while parking.

In the first module, distance sensor connected to Raspberry Pi measures the distance whenever

In the first module, distance sensor connected to Raspberry Pi measures the distance whenever an obstacle is detected in its way. TECHNOLOGY AND ARCHITECTURE: In the second module, I’ve taken green, yellow and red LEDs and connected them to Pi. Green light glows when the distance is greater than or equal to 25 cm, yellow light glows when distance is in between 10 cm and 25 cm and red-light glows if distance is less than or equal to 10 cm. In the third module, the light that is on and the distance measured by the sensor is returned by the node-red programming tool.

Node-RED is a programming tool for wiring together hardware devices, APIs and online services

Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways. Node-red: It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click. Node-RED enables users to stitch together Web services and hardware by replacing common low-level coding tasks (like a simple service talking to a serial port), and this can be done with a visual drag-drop interface. Various components in Node-RED are connected to create a flow. Most of the code needed is created automatically.

inject exec Nodes: mqtt in mqtt out debug

inject exec Nodes: mqtt in mqtt out debug

 • By default node-red is not secure. Anyone who can access its IP

• By default node-red is not secure. Anyone who can access its IP address can access the editor and deploy changes. • This is only suitable if you are running on a trusted network. Security Issues with node-red: Different ways for securing node-red: • Editor & Admin API security 1. Username/password based authentication 2. OAuth/Open. ID based authentication 3. Setting a default user 4. User permissions 5. Token expiration

User or Password Based Authentication:

User or Password Based Authentication:

OAuth/Open. ID based authentication

OAuth/Open. ID based authentication

Setting a default user

Setting a default user

Token expiration

Token expiration

Problems: • Thin object as an obstacle • Covering of transmitter or receiver •

Problems: • Thin object as an obstacle • Covering of transmitter or receiver • Using Acoustic foam • Creating Interference Using Additional Ultrasonic Sensors

CONCLUSION: “Smart Garage Parking” can measure the distance of the obstacle if it is

CONCLUSION: “Smart Garage Parking” can measure the distance of the obstacle if it is in the path of the vehicle using Ultrasonic distance sensor. It will also send the information of the distance and the color of LED light that is glowing to node red. This will reduce stress to the driver while parking.

FUTURE WORK: I would like to enhance this project by adding features like send

FUTURE WORK: I would like to enhance this project by adding features like send the distance to driver’s phone in the form of message and driver can see it displayed in the car. Adding extra features like buzzer so that it makes sound when the driver is about to hit the obstacle.

TAKE AWAY: Before taking this course, I’ve very less knowledge in electronics and sensors.

TAKE AWAY: Before taking this course, I’ve very less knowledge in electronics and sensors. It has given me an opportunity to gain Io. T domain knowledge which is currently trending all over the world. I’ve used node red application for the first time in displaying the distance of the obstacle using Python.