Utilizing radio frequency identification (RFID) know-how, this undertaking goals to create an clever visitors system. It’s developed and operated in such a method that fines are tracked independently. RFID know-how, passive tags, a processing unit (pc), and a communication system have been all utilized with low-cost tools. The primary degree is represented by information assortment through RFID, which scans any identifiable tag related to automobiles. Following that, information is shipped to the server over the web community connection technique.Trendy know-how is all the time bettering so as to make folks’s every day duties simpler. One of many main points dealing with growing cities is visitors administration, which is exacerbated by rising inhabitants density and car numbers with out increasing metropolis highways. This examine demonstrates that growing a visitors administration system utilizing the Web of Issues (IOT) is doable and cheap.
Introduction
In India, the variety of autos has expanded dramatically, which has resulted in a rise in visitors accidents. The federal government has taken quite a lot of makes an attempt to scale back these accidents, however these initiatives have repeatedly failed, and residents’ violations of visitors legal guidelines have escalated. One facet of the cooperation is the imposition of penalties for people who break visitors legal guidelines, significantly sign jumps. The idea offered on this title will assist to scale back highway accidents and avoidance.
Implementation stream
Stage 1
Contemplating the issues of present strategies and giving resolution to that downside by contemplating the essential necessities for our proposed system
Stage 2
Contemplating the {hardware} requirement for the proposed system
For this we have to choose the beneath parts:
1. Microcontroller
2. Inputs for the proposed system
3. Outputs
Stage 3
After contemplating {hardware} necessities, now we have to try the software program necessities. Based mostly on the microcontroller we choose there exists totally different software program for coding, compiling, debugging. We have to write supply code for that proposed system primarily based on our necessities and compile, debug the code in that software program.
After finishing all the necessities of software program and {hardware} we have to carry each collectively to work our system. For this we have to burn our supply code into microcontroller, after burning our supply code to microcontroller then join all enter and output modules as per our requirement.
Imaginative and prescient-based real-time visitors accident detection
The creator presents a vision-based actual time visitors accident detection technique. The creator intends to extract foreground and background from video pictures utilizing the Gaussian Combination Mannequin (GMM) to detect autos; afterwards, the detected autos are tracked primarily based on the imply shift algorithm. Then the three visitors accident parameters together with the adjustments of the autos place, acceleration, and the course of the shifting autos are gathered to make the ultimate accident determination.Visitors police contact the visitors violator. [2].
Actual time visitors accident detection system utilizing wi-fi sensor community
The target of this paper is to create a Actual Time Visitors Accident Detection System utilizing Wi-fi Sensor Community and RFID Applied sciences. Sensors put in in a car are used to detect the accident’s location, car’s velocity and the variety of passengers within the car. Based mostly on the alert sign, the monitoring station tracks the situation the place the accident has occurred and directs alert to the authorities involved. This may be finished by utilizing embedded board, wi-fi module and RFID tags. Sensor is put in to detect the car particulars, if it failed there is no such thing as a to get the accident car particulars. [7] [4].
Proposed System
On this undertaking we current an clever visitors violation detection and visitors stream evaluation system to observe and measure crimson mild leaping with RFID know-how.
4.1 Technique used
If any automobile passes the cease sign, the reader will learn the tag that violated the rule and can retrieve its info from the database. This undertaking is meant to ship an clever visitors system utilizing radio frequency identification (RFID) know-how.
It’s designed and carried out in a method the place fines are autonomously registered. Low-cost tools has been used equivalent to RFID know-how, passive tags, processing unit (private pc), and a connection system. First stage is represented by amassing information utilizing the RFID, the place it reads any recognized tag that hooked up with autos. Subsequent, a sure information is transmitted to the server utilizing web community communication system[9].
4.2 Technique Overview
Necessities
• Raspberry pi 3
• RC522 RFID Reader
• Webcam
• LCD
• Raspberry pi OS(desktop), which is put in utilizing NOOBS.
• PHP Net Server scripting language that’s embedded in HTML.
{Hardware} Necessities
5.1 Raspberry Pi
The Raspberry Pi 3 Mannequin B is a single-board pc developed by the Raspberry Pi Basis. This board consists of a 1.2Ghz 64-bit quad-core ARM processor and an 802.11n Wi-fi LAN, Bluetooth 4.1, and Bluetooth Low Power
Raspberry Pi-3 Pin Configuration
Broadcom BCM2837:
It’s a 1.2GHz 64bit ARM quad-core Cortex A53 processor, with 512 KiB shared L2 cache, dual-core VideoCore IV GPU @ 400 MHz supporting OpenGL ES 2.0, hardware-accelerated OpenVG, and 1080p30 H.264 decode.
GPIO (general-purpose enter/output) pins
RC522 RFID Module
The RC522 is a 13.56MHz RFID module that’s primarily based on the MFRC522 controller from NXP semiconductors.
The module can help I2C, SPI and UART and usually is shipped with a RFID card and key fob. It’s generally utilized in attendance techniques and different particular person/object identification applicationsas proven within the fig:5.3& fig:5.4.
Desk 5.2: RC522 Pin description
5.2 LCD
It’s one form of digital show module utilized in an in depth vary of functions like varied circuits & units like cell phones, computer systems, TV units, and many others. These shows are primarily most popular for multi-segment light-emitting diodes and 7 segments.
5.3 Gentle Emitting Diodes (LEDs)
The LED is a particular sort of diode they usually have comparable electrical traits of a PN junction diode. Therefore the LED permits the stream of present within the ahead course and blocks the present within the reverse course. The functions of LEDs used to make varied electrical and digital initiatives.
5.4 Net Digital camera
A webcam is a video digicam that feeds or streams a picture or video in actual time to or by a pc community, such because the Web. Webcams are usually small cameras that sit on a desk, connect to a consumer’s monitor, or are constructed into the {hardware}. Webcam software program allows customers to report a video or stream the video on the Web.
What’s RFID know-how and the way does it work?
RFID (radio-frequency identification) is a know-how that employs electromagnetic fields to determine and observe tags hooked up to gadgets. A radio reader, a radio receiver, and a tag make up an RFID system.
RFID Reader
It’s a know-how that makes use of digital identification to verify the identification, standing, and authenticity of auto information. It makes use of radio waves to speak an object determine. Every object is recognized by a serial quantity that distinguishes it from the others.This RFID reader can be utilized to trace a number of objects at a time [1].
RFID Tag
A Radio Frequency Identification Tag (RFID Tag) is a sort of digital tag that communicates with an RFID reader utilizing radio frequency waves. This RFID reader is steady sending radio waves, when the RFID tag is within the vary of the RFID reader it transmits the suggestions sign to the reader [3].
Within the car the RFID tag is positioned. A selected quantity might be given to the RFID tag, and it’ll learn with the help of utilizing the RFID reader and it’ll detect the car as proven within the fig:6.2.[5][8]. The reader will ship the information to the Raspberry Pi-3 with using python software program. Raspberry pi-3 will receive the knowledge from the RFID reader.
Software program Necessities
Raspberry Pi OS:
IP Scanner:
Superior IP Scanner is quick and free software program for community scanning. It’s going to mean you can shortly detect all community computer systems and acquire entry to them.
Supply Code
import cv2
import RPi.GPIO as GPIO
import serial
import time
import liquid crystal display
import urllib
import urllib3
import smtplib
import cv2
camera_port = 0
ramp_frames = 30
from urllib.request import urlopen
urll = ‘http://traffic13968.wizzie.tech/violations.php’#http://traffic13968.wizzie.tech/violations.php
def get_image():
retval, im = digicam.learn()
return im
def sendemail(ms):
from e-mail.mime.multipart import MIMEMultipart
from e-mail.mime.textual content import MIMEText
from e-mail.mime.base import MIMEBase
from e-mail import encoders
fromaddr = “[email protected]”
toaddr = “[email protected]”
msg = MIMEMultipart()
msg[‘From’] = fromaddr
msg[‘To’] = toaddr
msg[‘Subject’] = “Alert”#
#physique = ‘find below intrader image’
physique = ms
msg.connect(MIMEText(physique, ‘plain’))
filename = “test_image.png”
#attachment = open(“/home/pi/Desktop/webcam/test_image.png”, “rb”)
attachment = open(“/home/pi/test_image.png”, “rb”)
half = MIMEBase(‘application’, ‘octet-stream’)
half.set_payload((attachment).learn())
encoders.encode_base64(half)
half.add_header(‘Content-Disposition’, “attachment; filename= %s” % filename)
msg.connect(half)
server = smtplib.SMTP(‘smtp.gmail.com’, 587)
server.starttls()
server.login(fromaddr, “Chinni98”)
textual content = msg.as_string()
print (‘Sending Mail’)
server.sendmail(fromaddr, toaddr, textual content)
server.stop()
print (‘Mail Sent’)
“””
url=(urll+”&field1=”+str(i)+”&field2=”+str(ang)+”&field3=”+”1″)
http = urllib3.PoolManager()
resp = http.request(‘GET’, url)
print(resp.standing)
“””
GPIO.setwarnings(False)
GPIO.setmode(GPIO.BOARD)
r1=3
g1=5
GPIO.setup(r1, GPIO.OUT)
GPIO.setup(g1, GPIO.OUT)
GPIO.output(r1, False)
GPIO.output(g1, False)
liquid crystal display.lcd_init()
time.sleep(1)
ser = serial.Serial(‘/dev/ttyAMA0’, 9600, timeout=1)
liquid crystal display.stringlcd(0x80,”welcome”)
liquid crystal display.stringlcd(0x80,”TRAFFIC VIOLATION”)
liquid crystal display.stringlcd(0xC0,”CONTROL SYS”)
i = 0
j = 1
whereas(1):
whereas i < 10:
GPIO.output(g1, True)
GPIO.output(r1, False)
print(“i”)
print(i)
i=i+1
j=0
time.sleep(1)
string3 = ser.learn(12)
#print (string3)
x=string3.decode(“utf-8”)
print (x)
whereas j<10:
GPIO.output(g1, False)
GPIO.output(r1, True)
string=”
print(“j”)
print(j)
string2 = ser.learn(12)
s=string2.decode(“utf-8”)
if len(s) >0:
print (s)
liquid crystal display.stringlcd(0x80,”sndng information”)
url=(urll+”?b=”+str(s))
http = urllib3.PoolManager()
resp = http.request(‘GET’, url)
print(resp.standing)
liquid crystal display.stringlcd(0x80,”despatched”)
digicam = cv2.VideoCapture(camera_port)
temp = get_image()
print(“Taking image…”)
camera_capture = get_image()
file =”/dwelling/pi/test_image.png”
cv2.imwrite(file, camera_capture)
print(“capture completed…”)
liquid crystal display.stringlcd(0xC0,”seize complted “)
time.sleep(2)
del(camera)
time.sleep(2)
lcd.stringlcd(0xC0,”SENDING MAIL…”)
sendemail(‘Traffic Vilation’)
time.sleep(2)
liquid crystal display.stringlcd(0xC0,”MAIL SENT..”)
time.sleep(2)
time.sleep(3)
liquid crystal display.stringlcd(0x80,”TRAFFIC VIOLATION”)
liquid crystal display.stringlcd(0xC0,”CONTROL SYS”)
j=j+1
i=0
time.sleep(1)
Benefits & Functions
8.1 Benefits
As a result of solely visitors lights are at the moment automated primarily based on time, the undertaking “Advanced traffic violation control and penalty system” is important. Fines are manually assessed and paid in money or electronically. As a result of most people are unaware of the payment for a specific offence. Within the present system, if you’re arrested, the cops might take a bribe for a decrease sum than the precise high quality.
- Automated Penalty Assortment for Visitors Sign Violation.
- Much less visitors congestion
- Much less losing time and gas.
- Doesn’t require to be in line of sight.
8.2 Functions
You might want to trace the real-time place of belongings, employees, or shoppers in some functions. RFID options allow visibility in any variety of areas, whether or not you’re assessing the effectivity of employee actions, the success of a retailer flooring format, or monitoring the situation of key provides.
Testing Outcomes
- The {hardware} board above is related to the ability provide
- After operating the code, first the inexperienced LED will glow
- Within the code, the inexperienced mild is meant to glow for 10s.
- Now scan the RFID tags on the EM-18 Reader module
- This scanning of the RFID tags with the RFID reader when the inexperienced LED is ON represents the car passing the inexperienced sign
- Because the crossing the inexperienced mild isn’t the rule violation there might be no motion for this motion
- After 10s the Purple LED glows and the inexperienced LED turns OFF.
- On scanning the tags on the RFID Reader when the crimson LED is ON, this results in the rule violation because the car breaks the crimson sign
- The violation info is notified within the server
- The digicam is activated and the picture is captured, which will be thought of because the proof of the rule violated.
- Now the mail is shipped to the rule violator with the knowledge within the server
To Conclude
Because of this, we’ve got developed a system that may routinely impose penalties for violations of visitors legal guidelines, leading to extra disciplined visitors in our nation. We anticipate that these efforts will support within the discount of many traffic-related points that trigger disruption all through the system, in addition to the discount of the variety of accidents, visitors jams that waste our time, and air pollution to some degree. Our know-how solely screens visitors at sign poles, however it could even be used to observe no-entry zones, one-way routes, and different areas.
Future Work
RFID defence applied sciences and functions and use of RFID to observe and observe gadgets safely and securing securely within the navy provide chain. RFID retail applied sciences functions which permit retailers to enhance on shelf availability improve gross sales reduce labour prices and enhance buyer care. In healthcare, logistics, manufacturing, Prescription drugs and many others
Ok.Geethika, Ok.V.Sreekar , .Ravi Chandrika, Ok.Mukesh Reddy Dr. N. Ashok Kumar, B.Tech 5Associate Professor, Division of ECE Sree Vidyanikethan Engineering Faculty,
Tirupati-517102, AndraPradesh