Download Program Parkir Dengan Php Software

Posted on

Hardware components

Raspberry Pi 2 Model B
×2
Arduino UNO & Genuino UNO
×2
Intel Edison
×1
SparkFun Block for Intel® Edison - Arduino
×1
Seeed Grove starter kit plus for Intel Edison
×1
Ultrasonic Sensor - HC-SR04 (Generic)
×3
IR receiver (generic)
×4
IR transmitter (generic)
×4
Resistor 221 ohm
×4
Resistor 10k ohm
×4

Software apps and online services

Samsung ARTIK Cloud for IoT
Google Maps
Arduino IDE
Intel IoT XDK

An android based parking booking system project. The system allows user to book available parking space through android application. Download Sourcecode Aplikasi Parkir Motor menggunakan vb6. Fitur Aplikasi ini cukup lengkap, mulai dari Login sampai dengan Laporan. Descargar Libro La Busqueda De Alfonso Lara Castilla Pdf Download 2 Jan 2018. Download Program Parkir Dengan Php Software.

Story

Finding a free parking lot in a congested city like Dhaka is very hard. Here, if anyone wants to go outside from home with personal car first thing comes in his mind is about parking, where he will park his car. Most of the cases, people go to a parking station and find that all parking slot are full and then he have to search for another parking lot. So, it is a big hassle and many people keep in fear about parking of his car when he gets out with his car.

I realized that, to enjoy a better transport a better parking system is necessary especially in a congested city like Dhaka.

So, I was thinking, how the problem can be solved and finally I succeeded to make a cloud based smart parking system and I hope implementing the system can remove the parking problem of my city. ARTIK Cloud is really a nice and appropriate platform for such job.

Using this system a user will be will able to find an available parking lot easily using mobile or web app from anywhere. I also used Intel Edison with a display which may be placed several important locations of the city or road from where it will be possible to find free parking lot. The system updates parking data every 30 seconds.

In this project I will show you how you can easily build such smart system. Definitely, I will use ARTIK Cloud platform, the coolest IoT cloud platform. Before going to the details, enjoy the demo video of my demo project.

For this demo system you have to create three new devices in Samsung Artik Cloud platform. I will show it for one device. The steps are same for all devices. I named three devices as rainbow-parking, indigo-parking & edison respectively. Rainbow-parking & indigo-parking receive and store parking data such as free slots in a parking lot. Edison sends parking information according to the preset rules.

Steps involved in this project:

1. Making three devices in Artik Cloud Platform

2. Making one application in Artik Cloud

3. Making one rule in Artik Cloud

4. Preparing Arduino

Ran Gkaian Sensor Parkir Dengan Arduino

5. Connecting the Sensors

6. Preparing Raspberry Pi

7. Preparing Intel Edison

8. Developing Web Application

9. Developing Android Application

10. Completing the Project.

So, Let's start one by one. First thing first. Let's start with making a new device in Artik cloud platform.

Step 1: Making a new device in Artik Cloud Platform

A) Log in to your Samsung account and Click on DEVELOPERS option from top right corner.

Selecting developers option

B) From the DASHBOARD select DEVICE TYPES.

Select device types

C) Click on + NEW DEVICE TYPE

New device type

D) On the DEVICE DISPLAY NAME type a name for the device and give a UNIQUE NAME, then click to CREATE DEVICE TYPE.

Device name

Download windows 7 professional 64 bits portugues original. E) Click on + NEW MANIFEST

Manifest

F) Type a FIELD NAME for your sensor data you will upload and store here and mention the DATA TYPE as integer. Then click to SAVE.

save

G) Then click NEXT: DEVICE ACTIONS

Actions

H) Make an action or select from the STANDARD ACTIONS. Click to SAVE. For our project actions will not be required. Then click to NEXT:ACTIVE MANIFEST.

I) Take a look to Device Fields and again click to NEXT:ACTIVE MANIFEST.

J) Congratulation! you successfully created your first device. Now you have to connect the device to Artik cloud. So, let's do it.

K) Go to ARTIK CLOUD from right top corner.

L) Click on MY ARTIK CLOUD and select DEVICES.

M) Click to +Connect another device.

N) Type the name of the device you just created and click on it.

O) Click on CONNECT DEVICE.. button.

P) Your device is connected to the CLOUD.

Q) Click on settings icon.

R) Click on GENERATE DEVICE TOKEN..

S) Note down your DEVICE ID and DEVICE TOKEN. These will be required latter every time you want to connect to your device from physical devices, web apps or android apps.

Click on SAVE CHANGES.

Follow the same procedures to make an connect other two devices. I connected three devices named as rainbow-parking, indigo-parking and edison. Rainbow-parking and indigo-parking represent two parking stations and edison represents message board. I connected rainbow-parking to one raspberry pi and indigo-parking from another pi and placed in two different parking lot. Again, raspberry pis are connected with the sensors placed in parking lots to identify free and engaged parking slot through Arduino board.

I will jump to 3rd step now, I will explain second step later.

Download Program Parkir Dengan Php Software

Step 2: Making rule in Artik Cloud

In this step we will make a rule where we set some conditions according to which Artik cloud will generate an action when the condition meets and the devices and applications subscribed to the action receive a message instantly.

A) Select RULES from the MY ARTIK CLOUD menu

B) Click on + NEW RULE

C) From IF selection box select a data field for a device and set a value and condition. Then select an action for a specific device from THEN field. You can set a constant parameter value or can select a value from another device data. To define a data field from another device click on download icon shown in red box.

D) Select a device from the drop-down and then select data field.

E) Then click on SAVE RULE.

F) The complete rule for our project should look like as following screenshot.

Step 3. Preparing Arduino

The main work of the Arduino in my project is to collect data from sensors connected to parking stations and to send the data to Raspberry pi using serial port. Two Arduino board is required as I implemented the demo project for two parking stations. For the two parking stations I used two different types of sensors. For one I used IR sensors can be used in the place where direct sun light is not available and for another I used ultrasonic sensors and can be used in any location.

For IR sensor interfacing Arduino analog pins were used and for ultrasonic sensors Arduion digital pins were used. Arduino sketch for both types of sensors are attached. Upload appropriate sketch to your Arduino board. I developed the sketch for only four sensors. If you require more modify the sketch accordingly.

If you are new in IR sensors take a look here.

Details about ultrasonic sensor can be found here.

Step 4: Connecting the Sensors

For connecting all the sensors to Arduino please see the schematic section.

Connecting Ultrasonic sensors

Step 5: Preparing Raspberry Pi

I am assuming that, you have some previous experience in working with Raspberry pi. Lots of beginners tutorials are available in the Internet.

Let's start our work with raspberry pi. Raspberry pi is working as a WebSocket client and communicates with Artik cloud using WebSocket protocol. I used Node.js for programming. Unlike Python Node is not preinstalled on Raspberry Pi.

A). Install Node and npm on Raspberry pi using following commands in terminal.

B). Install WebSocket client ws to raspberry pi

C). Install serialport to raspberry pi

If you successfully completed all three steps then your pi is ready to communicate with Arduino using serial port and Artik cloud using websocket. As I said earlier two raspberry pis are required for two parking station. So, download the source code for the pis from the Github and upload rainbow-parking.js for the pi connected to Rainbow parking station and indigo-parking.js on the pi connected to Indigo parking station. You can used ftp client like FileZilla to upload the code on raspberry pi. Don't forget to change DEVICE ID & DEVICE TOKEN in the source code.

D) After uploading the code on raspberry pi run the code by typing the following command into terminal window.

Step 6: Preparing Intel Edison

I am assuming you have some previous experience on working with Intel Edison board.

A). Download Intel XDK from the link and install it to your computer.

B). Download edison-lcd folder from my Github and open with Intel XDK.

C) Connect i2c LCD display with Edison board. You may use base shield for easy connection.

D). Connect Edison board with computer using serial cable and upload the code and then run it. Uploading and running code is very easy using Intel XDK.

Step 7. Developing Web Application

For developing web application HTML and JavaScript was used. For communicating with Artik cloud here I again used WebSocket protocol. Epson adjustment program tx700w. For integrating Map in my application I used Google Map API.

Download the web-app folder from my Github and modify the DEVICE ID and DEVICE TOKEN with your own device id and token. Use ID of the device which generate the action on new data received (edison in my case). Open the websocket.html using a web browser and enjoy. See the demo video..

Step 8. Creating an application in Artik Cloud

Before going to develop Android application you need to create an application to Artik Cloud. To do so use the following steps:

A). From the developer dashboard select APPLICATION

B). Click on +NEW APPLICATION

C). Put name and description. For authorization select Client credentials, auth code, implicit. Put http://localhost:8000/acdemo/index.php as redirect url and then click to SAVE APPLICATION button.

D). Click on SET PERMISSION FOR A SPECIFIC DEVICE.

E). Select rainbow-parking and click on Read check box. Then click ADD DEVICE TYPE.

They may harm your game. Pokemon liquid crystal walkthrough pdf. Remember to save all your progress before try any codes. Please contact us if you need help. Infinite Rare Candy – Enter the code then go to your PC, go to withdraw items 44 Master Code to buy Master Balls 000014D1 000A Master Balls (You can buy them at all Pokemarts) 820 Master Code for Everything 1$: 10044EC8 0007 Buy everything only 1$ 3C25A344 FD8F451C AD86124F 2823D8DA Master Code (Must Be On): 72BC6DFB E9CA5465 A47FB2DC 1AF3CA86 Walkthrough Walls (need Master Code): 509197D3 542975F4 78DA95DF 44018CB4 Infinite HP in battle 01ff16dd0 Pokemon Liquid Crystal Download Thank you, friend.

F). Do the same for indigo-parking and click on SAVE.

G). From the top right corner click on SHOW CLIENT ID & SECRET

H). Note down Client ID and Secret, these will be required for Android Application.

Step 9. Developing Android Application

A). Download Android Studio and install it to your computer.

B). Download android-app source code from my Github

C). Run Android Studio and import the project by browsing the source.

D). Open MainActivity.java and put your CLIENT ID you got after creating application on Artik cloud.

E). Open MessageActivity.java and put DEVICE ID & ACCESS TOKEN for the devices you added to the application on Artik cloud.

F). Save the changes, Build APK, install it to your mobile phone and enjoy.

Step 10. Setup all the hardware

Connect all the sensors with Arduino board. Then connect Arduino with the Raspberry Pi using serial cable. Access raspberry pi using SSH client and run the code you uploaded before. Open the web application using your favorite browser and enjoy the whole thing. Don't forget to test it using Android application.

1 / 2Ultrasonic sensors
1 / 2IR Sensors
Both parking stations together
Connection between Raspberry Pi & Arduino
Read more

Android App Screenshot

Source code for sonar sensor interfacing using Arduino
Source code for Intel Edison to display parking information in lcd

Source Code for Smart Parking System

All the necessary code and files are included in this Github repository.
'>

Md. Khairul Alam

Engineer, developer, maker, and hacker.
Permalink

Join GitHub today

GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.

Sign up
Branch:master
Find file Copy path
Cannot retrieve contributors at this time
-- phpMyAdmin SQL Dump
-- version 2.11.7
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Nov 07, 2013 at 12:47 AM
-- Server version: 5.0.51
-- PHP Version: 5.2.6
SET SQL_MODE='NO_AUTO_VALUE_ON_ZERO';
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `parkir`
--
-- --------------------------------------------------------
--
-- Table structure for table `masuk`
--
CREATETABLEIF NOT EXISTS `masuk` (
`no_pol`varchar(8) NOT NULL,
`jenis`varchar(5) NOT NULL,
`tanggal`varchar(10) NOT NULL,
`jam_in`varchar(8) NOT NULL,
`jam_out`varchar(8) NOT NULL,
`biaya`varchar(4) NOT NULL,
PRIMARY KEY (`no_pol`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `masuk`
--
INSERT INTO`masuk` (`no_pol`, `jenis`, `tanggal`, `jam_in`, `jam_out`, `biaya`) VALUES
('B3696FMI', 'C ', '15/10/2013', '004909', '004928', '1000'),
('B6083FGR', 'C ', '15/10/2013', '002054', '003025', '1000'),
('B', 'MOTOR', '20/10/2013', '23:06:03', '', '1000'),
('B1010BFG', 'MOTOR', '28/10/2013', '22:38:36', '22:40:59', '1000'),
('B6060EEE', 'MOTOR', '28/10/2013', '22:46:57', '22:47:10', '1000'),
('B6060EEF', 'MOTOR', '28/10/2013', '22:47:32', '22:47:10', '1000'),
('B2020QWE', 'MOBIL', '28/10/2013', '22:47:57', '22:47:10', '2000'),
('B3333ERT', 'MOBIL', '28/10/2013', '22:50:34', '22:50:48', '2000'),
('B1223RTY', 'MOBIL', '28/10/2013', '22:53:00', '', ''),
('B9089FGR', 'MOTOR', '28/10/2013', '22:53:23', '', '1000'),
('B8989FGH', 'MOTOR', '28/10/2013', '22:53:35', '', '1000'),
('B2334JKL', 'MOBIL', '28/10/2013', '22:53:48', '', '2000'),
('B9090BFG', 'MOTOR', '28/10/2013', '22:54:08', '', '1000'),
('b1234fmi', 'MOBIL', '28/10/2013', '00:01:26', '', '2000'),
('b4444okk', 'MOBIL', '29/10/2013', '00:30:59', '', '2000'),
('B1234AJA', 'MOTOR', '07/11/2013', '00:16:14', '00:16:50', '1000'),
('B1111AJA', 'MOBIL', '07/11/2013', '00:26:34', '', '2000');
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATETABLEIF NOT EXISTS `user` (
`user_id`varchar(6) NOT NULL,
`nama`varchar(20) NOT NULL,
`username`varchar(15) NOT NULL,
`password`varchar(15) NOT NULL,
PRIMARY KEY (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user`
--
INSERT INTO`user` (`user_id`, `nama`, `username`, `password`) VALUES
('000001', 'hakko bio richard', 'hakko', 'romance18'),
('000002', 'niqo', 'niqo', 'niqo'),
('000004', 'hakko bio richard', 'hakko', 'HAKKO');
  • Copy lines
  • Copy permalink