Smart Park Using Laser Communication (Intel IoT)
by Think Labs in Circuits > Lasers
1811 Views, 13 Favorites, 0 Comments
Smart Park Using Laser Communication (Intel IoT)
![image.jpg](/proxy/?url=https://content.instructables.com/F5S/P2PM/I9FGW1KD/F5SP2PMI9FGW1KD.jpg&filename=image.jpg)
Given the current parking crisis in our country and the new solutions like multilevel systems ,not helping much. Our project is an effort to save time, power and finances associated with parking. The check-in, parking slot assignment, power management and the bill generation are all done through a single system, which primarily uses LASER to communicate with the car. The Car uses a LASER transmitter which is pre-installed with a Unique ID on it e.g. HSRP ID. The receptors which are fitted just before the entry of the parking, shall receive the message through laser, and assign a nearest available slot to the car and thus turn on only the required lights. Upon the exit of the car, the system shall calculate the time that the car was parked. It then generates a bill, which shall be available to be paid via different methods.
Step 1 : Setting Up Intel Edison
We start with connecting the Intel Edison Dev Board to the computer ,and running the Putty Shell. As we are going to use Python to code for this project, we have to install the MRAA Library in the pre-existing 'yocto' image.This can be done by using the steps mentioned in the link below :
Installing the MRAA library on Intel Edison : https://github.com/intel-iot-devkit/mraa
Now, we are ready to interface the sensors on our Intel Edison.
Step 2 : Collecting the Requirements
![cables.jpg](/proxy/?url=https://content.instructables.com/FXL/J3H2/I9FGW17C/FXLJ3H2I9FGW17C.jpg&filename=cables.jpg)
![cardboard.jpg](/proxy/?url=https://content.instructables.com/F1I/K28Z/I9FGW17D/F1IK28ZI9FGW17D.jpg&filename=cardboard.jpg)
![laser diode.jpg](/proxy/?url=https://content.instructables.com/FXF/9IXG/I9FGW17E/FXF9IXGI9FGW17E.jpg&filename=laser diode.jpg)
![ldr.jpg](/proxy/?url=https://content.instructables.com/FY2/48HJ/I9FGW17G/FY248HJI9FGW17G.jpg&filename=ldr.jpg)
![LED-lights-health-hazard.jpeg](/proxy/?url=https://content.instructables.com/FWO/7O49/I9FGW17H/FWO7O49I9FGW17H.jpg&filename=LED-lights-health-hazard.jpeg)
We will be using the Following things for this project :
Laser Diode
Photo Diode
Jumper Cables
LEDs
Loads of Cardboard
Step 3: Interfacing the Sensors on the Intel Edison
![image_2.jpg](/proxy/?url=https://content.instructables.com/FB9/6HRM/I9FGVYXW/FB96HRMI9FGVYXW.jpg&filename=image_2.jpg)
![image_1.jpg](/proxy/?url=https://content.instructables.com/FEV/083G/I9FGVYXZ/FEV083GI9FGVYXZ.jpg&filename=image_1.jpg)
![image.jpg](/proxy/?url=https://content.instructables.com/FEN/OF1N/I9FGVYXX/FENOF1NI9FGVYXX.jpg&filename=image.jpg)
We connect the Laser Diode to the GPIO 8 on the Edison and the LDR (Photo Diode) on the A1. VCC and Ground are Connected with the already given ports on the Dev Board. and we are all set.
We use the Cardboard to make a simulation of a parking lot and attach the Laser Diode to the base of the car (made with Cardboard.
Refer to Images.
Step 4: Code Repo
Below is the Link for the Code to be run on the Putty Shell.
a.py : Code to enter the Unique ID of the Car.
b.py : Code to Operate the Laser Diode.It has already been calibrated with proper delay in order for proper transmission and retrieval.
c.py: Code for the receiving of messages on the LDR. This code also has been calibrated.
Link : https://github.com/rahulcoder/Minion-crew-SMART-PA...
P.S : Make sure that the LDR is directly in front of the Laser Diode.As this is a case of LASER Communication, Point to Point is important.
You can also view the project on the Hacker League Website.
LINK : https://www.hackerleague.org/hackathons/intel-r-iot-roadshow-bangalore-india/hacks/smart-car-park-using-laser-communication