Toll Tax system Using Arduino circuit diagram
Toll Tax system Using Arduino and Ultrasonic sensor and Servo motor
In this article we will learn how to Toll tax system project using Arduino.
In the last post we will learn how to Interface Arduino with TCS3200 color sensor and LCD display. You can visit our website,
I hope you appreciate my work, let’s discuss about today’s project.
Components:
- Arduino Uno
- Ultra sonic sensor (HC-SR04)
- Servo motor
- Jumper wires
Construction…
- Connect 5V pin and Reset pin of Arduino UNO with +ve
- Connect GND pin of Arduino Uno with GND
- Connect one terminal of servo motor with +ve
- Connect 2nd terminal of Servo motor with GND
- Connect Signal terminal of Servo motor with pin 9 of Arduino
- Connect GND pin of Ultra sonic sensor with GND
- Connect VCC pin of Ultra sonic sensor with +ve
- Connect TR pin of Ultra sonic sensor with pin 3 of Arduino Uno
- Connect pin 5 of Arduino Uno with the Echo pin of Ultra sonic sensor
Hardware Image…
Toll Tax system Using Arduino circuit diagram
Working…
We use Arduino Microcontroller for Toll tax system. In this system when some object like Car is near to briar Arduino program and Ultra sonic sensor sense this object and Up the briar.
Applications…
- Automated Toll Collection
- Traffic Management
- Toll Booth Automation
- RFID-Based Toll Collection
- Vehicle Classification
Advantages…
- Cost-Effective Solution
- Customization
- Low Power Consumption
- Real-Time Data Processing
- RFID Integration
Program code Images…
Toll Tax system Using Arduino program code
Toll Tax system Using Arduino program code
Toll Tax system Using Arduino program code
Program code…
#include
Servo myservo;
const int trigPin=3;
const int echoPin=5;
long tmeduration;
int distance;
void setup() {
myservo.attach(9);
pinMode(trigPin,OUTPUT);
pinMode(echoPin,INPUT);
Serial.begin(9600);
}
void loop() {
digitalWrite(trigPin,LOW);
delayMicroseconds(500);
digitalWrite(trigPin,HIGH);
delayMicroseconds(500);
digitalWrite(trigPin,LOW);
tmeduration=pulseIn(echoPin,HIGH);
distance=(0.034*tmeduration)/2;
if(distance
myservo.write(90);
}
else{
myservo.write(0);}
Serial.print("distance:");
Serial.println(distance);
delay(100);
}
The post Toll Tax system Using Arduino Project appeared first on projectiot123 is making esp32,raspberry pi,iot projects.
This post first appeared on Projectiot123 Technology Information Website Worldwide - Electronics Blog Ask Question And Solution On Web, please read the originial post: here