Introduction: Parking Spot Status - IoT
We all have been there. Not finding a parking spot for your car. So we came up with a project to find vacant parking spots using sensors. We tried to achieve the same goals using IoT, we did. The sensors used were increased and so was the difficulty. However this instructable gives you all the required files and how to use them accordingly.
Contributor: Pranavchendur T K ( https://tkpc.in ), Gokulnath
Step 1: Hardware and Softwares Required
1) Arduino Uno
2) Ultrasonic sensors HC-SR04
3) Jumper wires
5) Arduino software
7) Processing (software)
8) A php instance
Step 2: Setting Up Hardware
The arduino and the ultrasonic sensor HC-SR04 is connected as shown in the diagram. The coding part for 'em is done using arduino software. You can find the files here. The number of sensors that can be integrated is left upto you. Use this as a template for it.
Step 3: Getting Connected
We use Processing software since this is a prototype. This takes out a piece of hardware out of the list. IT collects the sensor data from the arduino and push it through HTTP requests to the server. We implement this by running the code on a computer to which the arduino is connected on a specified COM port. Use the attached sketch for implementing your processing application.
Step 4: Spinning Up the Server
We use PHP to handle the request from the arduino sensors. We use AJAX to update the status page in real time. The attached code can be deployed to a PHP instance to power up your setup.
Step 5: Testing
When you are finally set up, run a few hit and trial runs to find out bugs if any. The output from the sensor should be updated lively to any website that you used for the process. Both cases of outputs are shown in these images.
We have a be nice policy.
Please be positive and constructive.
mas, pengolahandata sync ini maksudnya gimana yah mas?