Automatic College Bell Project Using Arduino - Arduino Mini Project

Download as pdf or txt
Download as pdf or txt
You are on page 1of 19

Menu

Automatic College Bell Project Using


Arduino| Arduino mini project
July 30, 2021 by Admin

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.

Arduino mini-project working Explanation


This project helps to manage the schedule and works automatically
according to it. You have to set the instructions at once and then it will work
accordingly. Press the first push button to set the number of periods. You
can see the entered data on the LCD screen. You can set as many periods
as you want. Use the last push button to confirm the periods then set the
time for each period in this cool Arduino mini-projects. You can increment
or decrement the time with the help of the other two push buttons. The
time represent in LCD is in seconds. Then confirm the time and a timer will
start on the LCD. When the time is over the buzzer starts ringing. Check
here how a push button works with Arduino.
Components Required
Arduino UNO
16×2 LCD
10K-ohm potentiometer
Buzzer
Three pushbuttons
Jumper wires
Breadboard
USB cable for uploading the code

Arduino Mini project circuit diagram.


Arduino UNO Buzzer

D3 Pin Positive

GND  Negative

Arduino UNO 16*2 LCD 10K Potentiometer

GND  VSS (Ground), K Terminal 1

+5V VDD ( +5V ),  A Terminal 3


VEE ( Contrast ) Terminal 2

D12 Pin RS ( Register Select )

GND RW ( Read\Write )

D11 Pin E ( Enable )

D10 Pin D4

D9 Pin D5

D8 Pin D6

D7 Pin D7

Arduino UNO Button 1 Button 2 Button 3

D6 Pin Terminal 1

D5 Pin Terminal 1

D4 Pin Terminal 1

GND  Terminal 2 Terminal 2 Terminal 2

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.

Code for the Project


NOTE: Please upload the given code to the Arduino. You have to install
<LiquidCrystal.h> library before uploading the code. You can check here
how to install a zip library to the Arduino IDE application.

// 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

can you explain how it works

Reply

Leave a Comment
Name *

Email *

Website

Save my name, email, and website in this browser for the next time I
comment.

Post Comment

555 Timer Projects


Arduino Projects
Arduino Tutorials
Basics Electronics
Communication Protocols
Controllers
Electronics projects
Embedded Projects
ESP32 Tutorials
ESP8266 / NodeMCU
GSM Projects
IoT
IoT Projects
IoT Tutorial
Latest Technology
Mini Project
Motors
Pico Projects
Pico Tutorial
Rasp pi Pico
Rasp pi Pico
Raspberry Pi
Raspberry Pi Tutorial
RF Module Project
RFID Project
Sensors
Servo Motor Projects
Tech News
Transistor Project
Uncategorized

Car parking Project Vacant Slot Monitor | Smart car Parking


How to Get Started With Affiliate Marketing on TikTok?
IS Chat GPT is new evolution | How GPT Can easy Our work ?
How to Make Light Sensor Circuit using 555 Timer
How to make a laser security Alarm | DIY Laser security room
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
September 2020

August 2020
June 2020
May 2020
April 2020
March 2020
March 2020
February 2020
December 2019

Blog Home About Us Contact Us Privacy Policy

© 2023 Techatronic • Built with GeneratePress

You might also like