Introduction: Smart Park Using Laser Communication (Intel IoT)
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: 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: Step 2 : Collecting the Requirements
We will be using the Following things for this project :
Loads of Cardboard
Step 3: Step 3: Interfacing the Sensors on the Intel Edison
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: 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.
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