Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Mazen Sheikh Bashraheel
Published © GPL3+

Smart Parking

An IT system that manages cars' access to a parking garage by using RFID technology.

AdvancedShowcase (no instructions)Over 3 days10,900
Smart Parking

Things used in this project

Hardware components

RFID reader (generic)
×1
NodeMCU ESP8266 Breakout Board
NodeMCU ESP8266 Breakout Board
×1
Relay (generic)
×1
IR receiver (generic)
×1
IR transmitter (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE
Visual Studio 2015
Microsoft Visual Studio 2015
AWS IoT
Amazon Web Services AWS IoT

Story

Read more

Schematics

circuit diagrams SMART PARKING

Code

Smart Parking

Arduino
void setup() 
{
 
      s1.attach(2);
      s1.write(0);
  pinMode(13,OUTPUT);
  digitalWrite(13,LOW);
  pinMode(12,OUTPUT);
  digitalWrite(12,LOW);

  Serial.begin(9600);
}
 
void loop() {

  String content = "";
  char character;
 char data [1];
 int number_of_bytes_received;
  if(Serial.available() )
    {
number_of_bytes_received = Serial.readBytesUntil (1,data,1);
data[number_of_bytes_received] = 0; 
  lcd.setCursor(0,1);            
  lcd.print(data);          

   if(data == "T")
     {
  
       lcd.setCursor(13,1);

       digitalWrite(13,HIGH);
            s1.write(90);
          delay (3000);
           
            s1.write(0);
       digitalWrite(13,LOW);
     }
     else
     {

         digitalWrite(12,HIGH);
      
       lcd.setCursor(13,1);
  
         delay (3000);
          digitalWrite(12,LOW);
      
     }
     
    }
  

 
}

Credits

Mazen Sheikh Bashraheel

Mazen Sheikh Bashraheel

2 projects • 24 followers
I Bachelor Computer En Make a researcher at the University of Science and Technology in the Enterprise Development Center Creative

Comments