Project showcase

College Faculty DashBoard © GPL3+

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

  • 3,701 views
  • 4 comments
  • 26 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%20Faculty%20DashBoard.fzz

Comments

Similar projects you might like

Automatic Sliding Door for the Garage

Project tutorial by DVDMDN

  • 437 views
  • 5 comments
  • 11 respects

Double Plant Watering 2

Project in progress by adamneareva

  • 286 views
  • 2 comments
  • 4 respects

The Drawing Machine

Project showcase by kramick

  • 1,209 views
  • 4 comments
  • 3 respects

3D Printed Prosthetic Hand with Capacitive Touch Sensing

Project tutorial by Amal Mathew

  • 313 views
  • 0 comments
  • 6 respects

Arduino & Python3 Temperature Data Visualizer

Project tutorial by reyadeetopee

  • 449 views
  • 0 comments
  • 7 respects

Motion Following Motorized Camera

Project tutorial by afsh_ad

  • 45 views
  • 0 comments
  • 1 respect
Add projectSign up / Login