Arduino Project: Car Parking Monitoring system using computer application designed in vb.net
ฝัง
- เผยแพร่เมื่อ 4 มิ.ย. 2024
- Download schematic and programming:
www.electroniclinic.com/car-p...
Subscribe to my New TH-cam Channel, if you want to watch my videos in Hindi/Urdu
/ @letsgetstartedd
IOT car parking system using nodemcu and blynk:
• Arduino Project: IOT C...
Automatic Street lights control system:
• PIR Sensor motion dete...
Learn schematic and PCB designing:
• how to make a schemati...
Project Description:
*****************************
Today’s Episode is about the Car parking Slots monitoring system using a computer application designed in Visual Basic .net. Which is also known as vb.net. This project is entirely based on Arduino and VB.net.
Today’s episode covers
1. Sensors installation
2. Circuit diagram
3. Interfacing
4. Arduino programming
5. Computer application designing and finally
6. Testing
Let’s get started…..
The components that we will need for this project are
1. Arduino
2. 6 infrared sensors….this is the infrared sensor, this is the transmitter led and this the receiver led…as you can see the three male headers are clearly labeled with VCC, ground and out… and finally number
3. Connection wires
*****************************
Purchase links for Components with the best prices.
Arduino Nano USB-C Type ( recommended):
amzn.to/4ahGLdk
ESP32 WiFi + Bluetooth Module for iOT Projects (recommended), more IO pins, improved speed, and supports a Lipo Battery:
amzn.to/3v40DkE
Infrared sensor:
amzn.to/2O0oEDG
Other Must-Have Tools and Components:
Arduino Uno, Nano, Mega, Micro "All types of Arduino Boards":
amzn.to/3fk5OTi
Top Arduino Sensors:
amzn.to/3vZbnfM
Super Starter kit for Beginners
amzn.to/3cq56C5
Top Oscilloscopes
amzn.to/3ctF3d8
Variable Supply:
amzn.to/2PEAqE7
Digital Multimeter:
amzn.to/2QGRPg1
Top Soldering iron kits: "best"
amzn.to/39nqDtb
Top Portable drill machines:
amzn.to/3suQMh7
Jumper Wires:
amzn.to/2NYPEDA
3D printers:
amzn.to/3ruG1dt
CNC Machines:
amzn.to/3cuZWVv
Electronics Accessories:
amzn.to/3sueV7z
Hardware Tools:
amzn.to/3m9UhaN
DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I will receive a small commission. This helps support the channel and allows me to continue to make videos like this. Thank you for your support!
****************
Follow me on Facebook:
/ electronic-clinic-7697...
About the Electronic Clinic:
Electronic Clinic is the only channel on TH-cam that covers all the engineering fields. Electronic Clinic helps the students and other professionals to learn electronics designing and programming. Electronic Clinic has tutorials on
electronics projects
wheelchair projects
robots
image processing
security systems
pcb designing
schematics designing
Solidworks projects
final year engineering projects and ideas
electronic door locks projects
automatic watering systems.
computer desktop applications designing.
email systems.
and much more. - วิทยาศาสตร์และเทคโนโลยี
very nice video
Thank you man for the project. I am using proteus 8 for testing and I'm using PIR sensor in each parking slot. Instead of writing com19 in the serial port, what should I write for linking the arduino in proteus?
Hello sir
How did you make a DataReceived class? did you manually wrote the code or did you click something on the windows forms?
Very nice video
Please my one question:
How to add this dada in database with check-in and check-out time and date
Can you make one more video on database
the application can be done in java? netbeans?
Good afternoon, where are the chkp1slot1 variables declared? Also this segment gives me an error:
TextBox1.Invoke(DirectCast(Sub() TextBox1.Text &= mydata, MethodInvoker))
good work
did you do this project successfully? I need some help
Very nice video
Please i have a question :
I use arduino mega with TFT LCD 3.2
I need to know how to show three counters in LCD and c# or vb application like :
Counter1 : (value1)
Counter2 : (value2)
Counter3 : (value3)
Thanks for your collaboration
Watch my tutorial on how to split sensors values. That will help you
@@ElectroniClinicsir what is tha name of the device that node mcu module placed
Sir what is the name of the device which the node mcu module placed
hello sir! Thanks for the project.....i want to ask that is it necessary part(visual basic part?) and also i faced errors in arduino that all p1slots are undeclared?
so can u guide me quickly about that?
Thanks
Comment the line by ( "//" ) at the ending of void loop()
@@MaheshReddy-pp9jj did you do this project successfully? I need some help
you need to predefine the statements like above the call like void p1slots();
Man thank you for the project 🙏🏻 but I have a couple of errors all regarding to not declaring the serialport1 and all other text boxes.... hoping for an early response
while making the the computer application you need to add the serial port1 and text boxes..for the basics you can watch my getting started tutorials on application designing, in which i have explained how to add text boxes and buttons , serial ports etc..
@@ElectroniClinic got it bro my bad I was stupid enough not to add all the elements before and we never learned visual basics I think no one uses it anymore
good well done.
if you have any questions feel free.
Best of luck.
can you share your coding ?
Sir that we have 3 working modual......
Hi sir! First of all i would like to thank you for this wonderful project. but i have some question regarding the adding of serial port in the visual basic, when i click the icon of the serialport, it does not show the code. pls help me thank you!
Did you copy the code??
Install teamviewer. And send me the id and password on whatsapp.
Yes i did. And when i am clicking the icon for serialport1, no window for codes is appearing.
I cant say anything, without checking ur form. May be u are missing something
@@ElectroniClinic sir where will i input this code?
Private Sub DataReceived(ByVal sender As Object, ByVal e As SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived
Try
Dim mydata As String = ""
mydata = SerialPort1.ReadExisting()
If TextBox1.InvokeRequired Then
TextBox1.Invoke(DirectCast(Sub() TextBox1.Text &= mydata, MethodInvoker))
Else
TextBox1.Text &= mydata
End If
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End Sub
Sir where can i get this visual basic 2010 express software plz give link in description
search on torrents.
Can you help me through teamviewer? I copied your code but it didn't work
Threres no download link in the page. only the code
Can we use an ultrasonic sensor instead of IR sensor ???
yes you can. but you will need to define the distance. for this you can.watch my video on ultrasonic sensor.
Please answer me..
I wanna to add all these stuff on a Mobile App. That show which is free for parking and which is not... How can I do this with your this VB net parking system?
Check my iot based car parking
@@ElectroniClinic Not able to find it in your playlist. Can you specify the Playlist url or name? And tell m..if I start working on this project and in future if I stuck in any problem. Will you help me? Please
But how about in vb programming the error is serialport1 is not declared.. Plss Help and thank you for you project
May be u skipped the serial port. Add a serial port.
Watch complete tutorial
@@ElectroniClinic like import system.io? like that?
@@ElectroniClinic its ok if I use visual studio 2010 ultimate?
Hey guys. i successfully executed this project. If anyone needs any help. mention me in the comments.
Sir can you help me with this project i'm getting error in arduino codes
Can you help me I get an error says p1slot1 not declared
hey, i have a doubt, what has he used to connect the ports of the NodeMCU? Is it a small breadboard?
hello. i really need help
Is this a IOT project
there is another version of the same project which is iot based.
bro plz help
its shows that "nodemcu not declare...."
how?
download the correct libraries from my website
@@ElectroniClinic brother can i compelete with Arduino uno only?
@@rajasthanistatus4049 did you do this project successfully? I need some help
@@tranthithuyan451 no bro
@@tranthithuyan451 i did. if you still need help
Hello :
int parking1_slot1_ir_s = 4; // parking slot1 infrared sensor connected with pin number 4 of arduino
int parking1_slot2_ir_s = 5;
int parking1_slot3_ir_s = 6;
int parking2_slot1_ir_s = 7;
int parking2_slot2_ir_s = 8;
int parking2_slot3_ir_s = 9;
String sensor1;
String sensor2;
String sensor3;
String sensor4;
String sensor5;
String sensor6;
String cdata =""; // complete data, consisting of sensors values
void setup()
{
Serial.begin(9600);
pinMode(parking1_slot1_ir_s, INPUT);
pinMode(parking1_slot2_ir_s, INPUT);
pinMode(parking1_slot3_ir_s, INPUT);
pinMode(parking2_slot1_ir_s, INPUT);
pinMode(parking2_slot2_ir_s, INPUT);
pinMode(parking2_slot3_ir_s, INPUT);
}
void loop()
{
p1slot1();
p1slot2();
p1slot3();
p2slot1();
p2slot2();
p2slot3();
cdata = cdata + sensor1 +"," + sensor2 + ","+ sensor3 +","+ sensor4 + "," + sensor5 + "," + sensor6 +","; // comma will be used a delimeter
Serial.println(cdata);
nodemcu.println(cdata);
delay(2000); // 2 seconds
cdata = "";
digitalWrite(parking1_slot1_ir_s, HIGH);
digitalWrite(parking1_slot2_ir_s, HIGH);
digitalWrite(parking1_slot3_ir_s, HIGH);
digitalWrite(parking2_slot1_ir_s, HIGH);
digitalWrite(parking2_slot2_ir_s, HIGH);
digitalWrite(parking2_slot3_ir_s, HIGH);
}
P1slot1 is a user defined function, it has no return type and it doesn not take any argument as the input. if there is a car infront of the sensor it gives digital logic 0, and if no car then it give digital logic 1, depending on this, then we store p1s1on or p1s1off. The same mechanism is used for all the other infrared sensors.
void p1slot1() // parkng 1 slot1
{
if( digitalRead(parking1_slot1_ir_s) == LOW)
{
sensor1 = "p1s1on"; // parking1 slot1
delay(200);
}
if( digitalRead(parking1_slot1_ir_s) == HIGH)
{
sensor1 = "p1s1off";
delay(200);
}
}
void p1slot2() // parking 1 slot2
{
if( digitalRead(parking1_slot2_ir_s) == LOW)
{
sensor2 = "p1s2on";
delay(200);
}
if( digitalRead(parking1_slot2_ir_s) == HIGH)
{
sensor2 = "p1s2off";
delay(200);
}
}
void p1slot3() // parking 1 slot3
{
if( digitalRead(parking1_slot3_ir_s) == LOW)
{
sensor3 = "p1s3on";
delay(200);
}
if( digitalRead(parking1_slot3_ir_s) == HIGH)
{
sensor3 = "p1s3off";
delay(200);
}
}
// now for parking 2
void p2slot1() // parking 1 slot3
{
if( digitalRead(parking2_slot1_ir_s) == LOW)
{
sensor4 = "p2s1on";
delay(200);
}
if( digitalRead(parking2_slot1_ir_s) == HIGH)
{
sensor4 = "p2s1off";
delay(200);
}
}
void p2slot2() // parking 1 slot3
{
if( digitalRead(parking2_slot2_ir_s) == LOW)
{
sensor5 = "p2s2on";
delay(200);
}
if( digitalRead(parking2_slot2_ir_s) == HIGH)
{
sensor5 = "p2s2off";
delay(200);
}
}
void p2slot3() // parking 1 slot3
{
if( digitalRead(parking2_slot3_ir_s) == LOW)
{
sensor6 = "p2s3on";
delay(200);
}
if( digitalRead(parking2_slot3_ir_s) == HIGH)
{
sensor6 = "p2s3off";
delay(200);
}
}
Have a nice day. I write this code but I get an error in my error: 'p1slot1' was not declared in this scope
Please help me fast I need to bring the project to the university
can i get this project.
Its available on website
Very nice video
Please my one question:
How to add this dada in database with check-in and check-out time and date
Can you make one more video on database