Project showcase

College Faculty DashBoard © GPL3+

Save time by knowing whether the Faculty is in his chamber or not.

  • 3,487 views
  • 4 comments
  • 24 respects

Components and supplies

Apps and online services

About this project

This project will benefit college students by letting them know when the faculty is in his chamber and when he is not. Using this they can save time and work efficiently. It uses Ultrasonic sensors which sense the presence of the faculty in a room and update their status in real time. The status is shown on the mobile app and is very simple.

Working of Ultrasonic sensor :-   

Active ultrasonic sensors generate high-frequency sound waves and evaluate the echo which is received back by the sensor, measuring the time interval between sending the signal and receiving the echo to determine the distance to an object.

Here are the sample pictures displaying the project. 

Happy Hacking :)

Code

College Faculty DashBoardArduino
#define BLYNK_PRINT Serial    
#include <SPI.h>
#include <Ethernet.h>
#include <BlynkSimpleEthernet.h>
#define trigPin 13    // pins for first sensor
#define echoPin 12


#define trigPin1 11 // pins for second sensor
#define echoPin1 10

#define trigPin2 9 // pins for third sensor
#define echoPin2 8

#define trigPin3 7  // pins for fourth sensor
#define echoPin3 6

  WidgetLED led1(V1);  // Virtual LEDs for the app
WidgetLED led2(V2);
WidgetLED led3(V3);
WidgetLED led(V0);
char auth[] = "";   // Write your auth code here

void setup() {
  Serial.begin(9600);  // Begin serial communication
  Blynk.begin(auth);   // configure blynk and connect to it's server
  
  pinMode(trigPin, OUTPUT);   // Defining the functions of the pins
  pinMode(echoPin, INPUT);
  
     pinMode(trigPin1, OUTPUT);
  pinMode(echoPin1, INPUT);
   pinMode(trigPin2, OUTPUT);
  pinMode(echoPin2, INPUT);
   pinMode(trigPin3, OUTPUT);
  pinMode(echoPin3, INPUT);

}
void loop() {
  // put your main code here, to run repeatedly:
  long duration,distance1,distance2,distance3, distance,duration2, duration3, duration1 ;                         // defining variables
  digitalWrite(trigPin, LOW);  
  delayMicroseconds(2); 
  digitalWrite(trigPin, HIGH);

  delayMicroseconds(10); 
  digitalWrite(trigPin, LOW);

  
  digitalWrite(trigPin1, LOW);  
  delayMicroseconds(2); 
  digitalWrite(trigPin1, HIGH);

  delayMicroseconds(10); 
  digitalWrite(trigPin1, LOW);

  
  digitalWrite(trigPin2, LOW);  
  delayMicroseconds(2); 
  digitalWrite(trigPin2, HIGH);

  delayMicroseconds(10); 
  digitalWrite(trigPin2, LOW);

  
  digitalWrite(trigPin3, LOW); 
  delayMicroseconds(2); 
  digitalWrite(trigPin3, HIGH);

  delayMicroseconds(10); 
  digitalWrite(trigPin3, LOW);
  distance = pulseIn(echoPin, HIGH);  
  distance1 = pulseIn(echoPin1,HIGH);
  distance2 = pulseIn(echoPin2,HIGH);
  distance3 = pulseIn(echoPin3,HIGH);
    
  if (distance >= 200 || distance <= 0){
    Serial.println("Out of range");                 // running the condition for the LEDs
  led.off();
  }
  else {
    Serial.print(distance);
    Serial.println(" cm");
   led.on(); 
  
  }
   
  if (distance1 >= 200 || distance1 <= 0){
    Serial.println("Out of range");
    led1.off();
  }
  else {
    Serial.print(distance1);
    Serial.println(" cm");
    led1.on();

  }
 
  if (distance3 >= 200 || distance3 <= 0){
    Serial.println("Out of range");
  led3.off();
  }
  else {
    Serial.print(distance3);
    Serial.println(" cm");
    led3.on();
  
  }
  
  if (distance2 >= 200 || distance2 <= 0){
    Serial.println("Out of range");
  led2.off();
  }
  else {
    Serial.print(distance2);
    Serial.println(" cm");
    led2.on();
  
  }
}

Schematics

College Faculty DashBoard
College Faculty DashBoard.fzz

Comments

Similar projects you might like

Herb Box Eco System

Project tutorial by Walter Heger

  • 3,238 views
  • 5 comments
  • 42 respects

Web-Controlled LED Animations with Raspberry Pi and Arduino

Project tutorial by Bruno Portaluri

  • 4,639 views
  • 12 comments
  • 21 respects

Use Alexa to Control Your TV!

Project tutorial by Grensom

  • 2,602 views
  • 4 comments
  • 29 respects

Talking Clock 2 - New Version (Bilingual: EN-PT)

Project tutorial by LAGSILVA

  • 487 views
  • 2 comments
  • 7 respects

Making a Cheap Aquarium Parameters Controller

Project tutorial by Boisse Martin

  • 884 views
  • 2 comments
  • 5 respects

Valentine Blink: Wireless LED Hearts

Project showcase by AdiK

  • 2,248 views
  • 13 comments
  • 20 respects
Add projectSign up / Login