0% found this document useful (0 votes)
53 views22 pages

Dbms Miniproject Report

Uploaded by

Akrathi kulal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views22 pages

Dbms Miniproject Report

Uploaded by

Akrathi kulal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

ST JOSEPH ENGINEERING COLLEGE

An Autonomous Institution
Affiliated to VTU, Belagavi
Mangaluru-575028

MINI PROJECT REPORT ON

“ELECTRICITY BILL SYSTEM”

Submitted By
AKRATHI D BANGERA 4SO22CS400

DHANASHREE 4SO22CS402

Under the guidance of

Ms Jaishma Kumari B
Assistant Professor,
Department of CSE

DEPARTMENT OF COMPUTER SCIENCE AND


ENGINEERING
2022-2023
ST JOSEPH ENGINEERING COLLEGE
An Autonomous Institution
Vamanjoor, Mangaluru-575028
DEPARTMENT OF COMPUTER SCIENCE AND
ENGINEERING

CERTIFICATE
Certified that the project work entitled “ELECTRICITY BILL SYSTEM”
carried out by
AKRATHI D BANGERA 4SO22CS400

DHANASHREE 4SO22CS402

Bonafide students of IV semester students in partial fulfillment for the award


of Bachelor of Engineering in Computer Science and Engineering of St Joseph
Engineering College during the year 2022-23.It is certified that all corrections/
suggestions indicated during Internal Evaluation have been incorporated in the
report.The project report has been approved as it satisfies the academic re-
quirements in respect of miniproject work .

Ms Jaishma Kumari B Dr Sridevi Saralaya


Project Guide HOD-CSE

EXTERNAL VIVA
NAME OF THE EXAMINER SIGNATURE

1.

2.
Acknowledgment

The satisfaction and euphoria that accompanies the successful completion of


any task would be incomplete without mentioning the people who made it pos-
sible, whose constant guidance and encouragement crowned our efforts with
success.

We take this opportunity to thank those who have helped and motivated us
throughout the completion of this project.

We would like to express our deep and sincere gratitude to our project guide,Ms
Jaishma Kumari B, Assistant Professor, Department of Computer Science
and Engineering, for her constant guidance and support, without which this
project wouldn’t have been completed successfully.

We owe our great debt to Dr Sridevi Saralaya, Head of the Department


of Computer Science and Engineering, for her support and encouragement dur-
ing the course of development of this project.

We are immensely grateful to our Principal, Dr Rio D’Souza, our Direc-


tor, Rev. Fr Wilfred Prakash D’Souza, and Assistant Director Rev. Fr
Kenneth Rayner Crasta for their support and encouragement.

We extend our gratitude to the entire faculty and the staff of the Department of
Computer Science and Engineering, SJEC, for their advice, kind co-operation
and assistance throughout the academic year.

Lastly, we would like to express our heartfelt appreciation towards our class-
mates and seniors for their guidance and suggestions.

i
Abstract

Electricity consumers are often faced with the problem of inaccuracy and delay in monthly
billing due to some drawbacks. Thus, it is essential to have an efficient system for such pur-
poses via electronic platform with consideration to proximity. The proposed system automates
the conventional process of paying electricity bill by visiting the Electricity Board which is
tiresome and time consuming. It is also designed to automate the electricity bill calculation
and payment for user convenience.

The purpose of Electricity Billing System is to automate the existing manual system by the help
of computerized equipments and full-fledged computer software, fulfilling their requirements,
so that their valuable data/information can be stored for a longer period with easy accessing
and manipulation of the same. The required software and hardware are easily available and
easy to work with. Electricity Billing System, as described above, can lead to error free, secure
and reliable. It can assist the user to concentrate on their other activities rather to concentrate
on the record keeping. Thus it will help organization in better utilization of resources. The
organization can maintain computerized records without redundant entries. That means that
one need not be distracted by information that is not relevant, while being able to reach the
information.

The MYSQL is a relational database management system based on Structured Query Lan-
guage (SQL) which is used for the purpose of web database. The system would be having two
logins: the administrative and user login. The administrator can view the user’s account details
and can add the customer’s information of consuming units of energy of the current month in
their account. The Admin must feed the system with the electricity usage data into respective
user’s account.

ii
Table of Contents

Acknowledgment i

Abstract ii

Table of Contents iii

List of Figures iv

List of Tables v

1 Introduction
1.1 Problem Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2 Scope and Importance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2 Software Requirement Specification


2.1 Functional Requirement Specification . . . . . . . . . . . . . . . . . . . . . . . .
2.2 Software Requirement Specification . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 Hardware Requirement Specification . . . . . . . . . . . . . . . . . . . . . . . .

3 System Design
3.1 ER Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2 Schema Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3 Table description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 Screenshots

5 Conclusion and Future Scope

References

iii
List of Figures

3.1 ER diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2 Schema diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4.1 Sign up Login Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .


4.2 User complaint page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.3 Complaint Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4 Admin check page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.5 Dashboard page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.6 Electricity bill Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.7 Admin Table Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.8 User Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.9 Complaint Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

iv
List of Tables

3.1 Admin details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .


3.2 BILL TABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3 COMPLAINT TABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4 TRANSACTION TABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5 USER TABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

v
Chapter 1

Introduction

Electricity Bill system is made to keep the records about the bills of the customers. The admin
can manage all the accounts and the registered users like employees and customers can only
manage their own accounts.

This system helps in maintaining the bills. A different module is there for employees to check
the customer’s details if their job requires it. Admin, employees, and customers all have a
different interface and different privileges according to their needs.

Like a customer can only manage his account and cannot see any details of other customers,
employees can see the details of all the customer’s accounts and the admin can manage all the
accounts including the customers and employees’ accounts. This system also has the option for
customers to pay their electricity bills online mode.

1.1 Problem Definition


An electricity bill system is a critical component of a utility company’s operations, responsi-
ble for accurately generating, and managing electricity bills for residential, commercial, and
industrial customers. The primary goal of this system is to ensure the fair and timely billing of
customers based on their electricity consumption while minimizing errors and improving overall
efficiency.

1.2 Scope and Importance


An electricity bill system is a comprehensive software solution or framework designed to manage
the entire process of billing customers for their electricity consumption. It encompasses a wide
range of functionalities and processes related to data collection, billing generation, customer
communication, and data management within the context of a utility company.
Chapter 2

Software Requirement Specification

2.1 Functional Requirement Specification


Functional Requirement Specification

Screen Operation
• User Registration: Users can create accounts with their personal information.
• Login: Registered users can log in to access their accounts.
• Bill Payment: Users can view their electricity bills and make payments.
• Billing History: Users can access their billing history.
• Profile Management: Users can update their personal information.
• Admin Dashboard: Administrators can manage user accounts and billing data.
System Reports and Outputs
• Monthly Bills: Generate and display electricity bills for users.
• Payment Confirmation: Display payment confirmation receipts.
• Billing History: Provide access to a user’s billing history.
Data Modification Permissions
• Users: Allowed to update their profiles and view their bills.
• Administrators: Allowed to modify user accounts, billing data, and respond to support
tickets.

2.2 Software Requirement Specification


Software Requirement Specification
• Language : PHP
• Database used: MySQL.
• Design used: HTML,CSS,PHP,JavaScript.
• Operating System: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz 2.42 GHz.
• Software used: XAMPP,visual studio code.
2.3 Hardware Requirement Specification
• Installed Memory : 2GB or Higher

• Processor: 1GHz or Higher.

• Hard Disk Space: 16GB availability .

• Display: Standard output display.


Chapter 3

System Design

3.1 ER Diagram
Figure:3.1 shows the ER diagram of electricity bill database.

Figure 3.1: ER diagram


3.2 Schema Diagram
Figure:3.2 shows the Schema Diagram of Electricity Bill System Database.

Figure 3.2: Schema diagram

3.3 Table description

Attributes Datatype Constraints Description


AID INT PRIMARY KEY ID of Admin
ADMIN-NAME VARCHAR NOT NULL NAME
EMAIL-Id VARCHAR NOT NULL EMAIL
PASS VAR CHAR NOT NULL PASSWORD

Table 3.1: Admin details


Attributes Datatype Constraints Description
BID INT PRIMARY KEY ID of bill
AID INT FOREIGN KEY ID
UID INT FOREIGN KEY ID OF USER
AMOUNT DECIMAL NOT NULL AMOUNT
STATUS VARCHAR NOT NULL STATUS
BDATE DATE NOT NULL BILL
DDATE DATE NOT NULL DUE DATE

Table 3.2: BILL TABLE

Attributes Datatype Constraints Description


CID INT NOT NULL COMPLAINT ID
UID INT FOREIGN KEY ID OF USER
COMPLAINT VARCHAR NOT NULL COMPLAINT
STATUS VARCHAR NOT NULL STATUS

Table 3.3: COMPLAINT TABLE

Attributes Datatype Constraints Description


ID INT NOT NULL TRANSACTION ID
BID INT FOREIGN KEY BILL ID
PAYABLE DECIMAL NOT NULL PAYMENT
PDATE DATE NULL PAYMENT DATE
STATUS VARCHAR NOT NULL TRANSACTION STATUS

Table 3.4: TRANSACTION TABLE

Attributes Datatype Constraints Description


UID INT NOT NULL USER ID
NAME VARCHAR NOT NULL NAME
EMAIL VARCHAR NOT NULL EMAIL
PHONE varchar NOT NULL PHONE
PASS varchar NOT NULL PWD
ADDRESS varchar NOT NULL ADDRESS

Table 3.5: USER TABLE


Chapter 4

Screenshots

Figure:4.1 shows the screenshot of sign up page for both admin and user which includes
name,email,password,phone number and address.

Figure 4.1: Sign up Login Page


Figure:4.2 shows the screenshots the of complaint option page for the user connected to
admin page.

Figure 4.2: User complaint page

Figure:4.3 shows the screenshot of complaint page where admin views the complaints.

Figure 4.3: Complaint Page


Figure:4.4 shows the screenshot of admin page to view the customer details which includes
name,email,contact and address.

Figure 4.4: Admin check page

Figure:4.5 show the screenshot of dashboard for admin profile page.

Figure 4.5: Dashboard page

Figure:4.6shows the screenshot of Electricity bill system database which includes tables like
admin,bill,complaint,transaction,unitsrate and user.
Figure 4.6: Electricity bill Page

Figure:4.7shows the screenshot of admin table database in which admin can store id,name,email
and password.

Figure 4.7: Admin Table Database


Figure:4.8shows the screenshot of user database

Figure 4.8: User Database


Figure:4.9shows the screenshot of user database which includes details of customers.

Figure 4.9: Complaint Database


Chapter 5

Conclusion and Future Scope

Conclusion

• The implementation of the electricity bill system has significantly improved the efficiency
and convenience of managing electricity consumption and billing processes. This system
has brought about several benefits, including:

• Accuracy: The automated system has reduced the chances of manual errors in bill calcu-
lations and data entry, ensuring that customers are billed accurately.

• Convenience: Customers can access their bills online, make payments digitally, and view
their consumption patterns, making it easier for them to manage their energy usage.

• Cost-Efficiency: The reduction in paper-based billing and manual processing has led to
cost savings for utility providers.

• Environmental Impact: The move toward paperless billing and digital processes has con-
tributed to a reduction in environmental waste. .

Future Scope

• Enhanced Customer Engagement: Implement features that allow customers to set en-
ergy usage goals, receive energy-saving tips, and compare their consumption with similar
households. This can help educate and engage customers in energy conservation.

• Integration with Renewable Energy Sources: As renewable energy adoption increases, the
system can be expanded to accommodate distributed energy resources like solar panels.
This integration would enable customers to track their energy generation and sell excess
energy back to the grid.

• Advanced Analytic: Utilize data analytic and artificial intelligence to provide more per-
sonalized insights to customers. Predictive analytic can help forecast future energy bills
based on historical consumption, weather patterns, and tariff changes.

• Smart Meter Integration: If not already in place, consider implementing smart meters
that can provide real-time data on energy consumption. This data can be used for more
accurate billing and demand-side management.

• Mobile Applications: Develop user-friendly mobile apps that offer features such as bill
payment, outage reporting, and real-time consumption monitoring, further enhancing
customer convenience.
• Block chain Technology: Explore the use of block chain for secure and transparent billing
and payment processes, ensuring data integrity and reducing fraud.

• Integration with Smart Home Devices: Enable integration with smart home devices and
appliances to offer customers the ability to control and optimize their energy consumption
remotely.

• Energy Efficiency Programs: Collaborate with government and environmental agencies


to create energy efficiency programs and incentives that can be promoted through the
system.

• Billing Transparency: Continuously work on providing clear and easy-to-understand bills,


with detailed breakdowns of charges and tariffs to enhance customer trust.

• Cyber security: Strengthen the system’s cyber security measures to protect customer
data and ensure the integrity of the billing process. .
Bibliography

[1] Ramez Elmasri and Shamkant B Navathe LATEX: Fundamentals of Database System, Pear-
son, 7th ed.

[2] https://www.w3schools.com/php/default.asp

[3] https://www.javatpoint/php.in/

[4] https://www.mysql.com/

You might also like