Automatic College Bell Project Using Arduino - Arduino Mini Project
Automatic College Bell Project Using Arduino - Arduino Mini Project
Automatic College Bell Project Using Arduino - Arduino Mini Project
Hey guys, welcome back to Techatronic. You all have seen the electric bells
that are used in schools and colleges to maintain the schedule or timetable.
But these bells are manual and rings when someone presses the switch. In
this article, we are going to make an automatic college bell project using
Arduino . This could be a good Arduino mini-project. A major problem
with these manual bells is that there should be a person present to press
the switch according to the time. So sometimes it produces delays and the
timetable disturbs. We use an Arduino UNO microcontroller and a 16×2
LCD for making this project. You can set it according to the timetable so it
automatically rings. You can also check the more amazing project on
Arduino made by us.
D3 Pin Positive
GND Negative
GND RW ( Read\Write )
D10 Pin D4
D9 Pin D5
D8 Pin D6
D7 Pin D7
D6 Pin Terminal 1
D5 Pin Terminal 1
D4 Pin Terminal 1
You have to make the connections according to the circuit diagram given
above. Place all the three push buttons on the breadboard in such a way
that when we press them they complete the path otherwise breaks the
circuit. Connect the one side of the first push button to the GND pin of
Arduino and the other side to the digital-6 pin of Arduino. Join the one side
of the second push button to the GND pin of Arduino and the other side to
Arduino’s digital-5 pin. Attach one side of the third push button to the GND
pin of Arduino and the other side to the digital-4 pin of Arduino.This
Arduino mini project is easy to make. Now connect the negative wire of
the buzzer with the GND pin of the Arduino and the positive wire of the
buzzer to the digital-3 pin of the Arduino. Join the 5-volts pin of the Arduino
to the positive rail on the breadboard and the GND pin of Arduino to the
negative rail of the breadboard. Connect the LCD module with the Arduino
digital pins and attach the 10K-ohm potentiometer to it as shown above.
You can view how to connect a 16×2 LCD with Arduino and make the
connections according to it.
// TECHATRONIC.COM
#include<LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 10, 9, 8, 7);
int i =0,j=0,k=0,a[12],h=0;
int up = 6,down = 5,set = 4;
void setup(){
lcd.begin(16,2);
pinMode(up,INPUT);
pinMode(down,INPUT);
pinMode(set,INPUT);
pinMode(3,OUTPUT);
digitalWrite(up,HIGH);
digitalWrite(down, HIGH);
digitalWrite(set,HIGH);
}
void loop()
{
lcd.setCursor(0,0);
lcd.print("set no.of periods:");
while(1){
lcd.setCursor(0,1);
lcd.print(i);
if( digitalRead(up) == LOW){
delay(300);
i++;
}
if( digitalRead(down) == LOW){
delay(300);
i--;
}
if(digitalRead(set) == LOW){
delay(300);
break;
}
}
lcd.clear();
lcd.setCursor(1,0);
lcd.print("set time for ");
lcd.setCursor(0,1);
lcd.print("each period "); delay(1500);
lcd.clear();
for(int j =1; j < i+1;j++)
{
lcd.setCursor(1,0);
lcd.print("period");
lcd.setCursor(10,0);
lcd.print(j);
while(1)
{ lcd.setCursor(0,1);
lcd.print(k);
if( digitalRead(up) == LOW)
{delay(300);
k=k+10;
}
if( digitalRead(down) == LOW){
delay(300);
k= k-10;
if(k < 0)
{
k= -1*k;
}
}
if ( digitalRead(set) == LOW)
{delay(300);
break;
}
}
a[j] = k;
k = 0;
}
lcd.clear();
for( j =1 ; j<i+1 ;j++){
lcd.setCursor(1,0);
lcd.print("Period:");
lcd.setCursor(10,0);
lcd.print(j);
for(h =0;h<a[j]+1;h++){
if( h == a[j])
{
tone(3, 200);
delay(3000);
noTone(3);
}
lcd.setCursor(0,1);
lcd.print(h);
delay(1000);
}
lcd.clear();
}
lcd.clear();
i=0;
j=0;
k=0;
}
We hope that you understand the project completely. If you are facing any
errors while making this please let us know in the comments section
below. Also, do check out more tutorials on Arduino and Raspberry Pi.
HAPPY LEARNING!
Arduino Projects
automatic college bell project using arduino, bell schedule, school periods
schedule
Arduino Music Player Using Piezo Buzzer
What is Electromagnetism
1 thought on “Automatic College Bell Project Using Arduino|
Arduino mini project”
jayapriya
October 26, 2022 at 4:53 pm
Reply
Leave a Comment
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I
comment.
Post Comment
August 2020
June 2020
May 2020
April 2020
March 2020
March 2020
February 2020
December 2019