Professional Documents
Culture Documents
Vineeth Real.f
Vineeth Real.f
May – 2024
MALLA REDDY ENGINEERING COLLEGE
Maisammaguda, Secunderabad, Telangana, India 500100
CERTIFICATE
This is to certify that the “Real Time Project Report” submitted by KOTTE
academic year, in partial fulfilment of the requirements for the award ofthe degree of
SIGNATURE
HOD
Department of ECE
Malla Reddy Engineering College
Secunderabad, 500 100
ACKNOWLEDGEMENT
Chairman of IQAC, for his encouragement and support. We owe an enormous debt of gratitude
to our department HOD Dr. M. Jagadeesh Chandra Prasad, Department of ECE for helping
us in accomplishing our project being by our side every time we faced any problem and
explaining each perspective of this course with great care and interest. We are thankful and
fortunate for her excellent support, boundless enthusiasm, and constructive criticism at all the
stages of our project work. It is a great privilege to work under her guidance. At last, we thank
KOTTE VINEETH
22J41A0491
I
ABSTRACT
II
Table of Contents
S. Contents Page No
No
1 CERTIFICATE
2 ACKNOWLEDGEMENT
3 ABSTRACT
4 INTRODUCTION 1
5 HARDWARE REQUIREMENTS 2-5
6 CIRCUIT/ BLOCK DIAGRAM 6
7 HARDWARE IMPLEMENTATION 7-8
8 SOFTWARE IMPLEMENTATION 8-11
9 RESULTS 12-13
10 CONCLUSION 14
11 REFERENCE 15
List of Figures
2. Arduino uno 3
3. Jumper wires 3
5. Piezoelectric cable 4
6. Led 5
7. Resistor 5
8. Circuit diagram 6
9. Connecting steps 7
1
HARDWARE REQUIREMENTS :
• Bread board - 1
• Arduino uno -1
• Arduino uno cable -1
• Led -5
• Resistor (10k ohms) -1
• Piezoelectric sensor -1
• Jumper wires
Bread board:
2
Arduino Uno:
Jumper Wires:
3
Arduino Uno cable:
The Arduino USB Cable for UNO and Mega is a type of USB cable designed specifically
for the Arduino UNO and Mega microcontroller boards. It has a standard USB connector
on one end and a type B USB connector on the other, allowing it to be connected to a
computer or other USB device.
Piezoelectric sensor:
4
Led:
Light-emitting diode (LED) is a semiconductor device that emits light when current
flows through it. Electrons in the semiconductor recombine with electron holes,
releasing energy in the form of photons. The Colour of the light (corresponding to the
energy of the photons) is determined by the energy required for electrons to cross the
band gap of the semiconductor.
Resistor:
Fig g: Resistor
5
CIRCUIT DIAGRAM :
6
HARDWARE IMPLEMENTATION:
- Connect the positive terminal of the Piezoelectric sensor to the bread board and
analog pin on the Arduino Uno.
- Connect the negative terminal of the sensor to the ground (GND) pin on the Arduino.
- Connect the anode (longer leg) of each LED to digital pins on the Arduino (e.g., pin
A2 to pin A6).
- Connect the cathode (shorter leg) of each LED to the ground of the bread board.
7
- Connect to the ground (GND) pin on the Arduino.
3. Code Implementation:
- Write a program in the Arduino IDE that reads the sensor values and controls the
LEDs based on the energy generated by the Piezoelectric sensor.
- Use the analogRead() function to read the sensor value from the Piezoelectric sensor.
- Based on the energy generated by the sensor, you can light up the LEDs by using
digitalWrite() to the respective LED pins.
SOFTWARE IMPLEMENTATION:
Components Needed:
Arduino Uno
Piezoelectric sensor
LED
Resistor
Breadboard
Jumper wires
8
1. Setting Up the Arduino IDE:
- Make sure you have the Arduino IDE installed on your computer.
2.Code:
void setup() {
pinMode(a, OUTPUT);
void loop() {
9
digitalWrite(a + 1, HIGH);
} else {
digitalWrite(a + 1, LOW);
- Define the pins for the Piezoelectric sensor, LEDs, and the resistor at the beginning of your
code.
- In the setup() function, initialize the sensor pin as an input and the LED pins as outputs.
- In the loop() function, read the analog value from the Piezoelectric sensor using
analogRead() function.
- Based on the sensor reading, control the illumination of the LEDs by using digitalWrite()
to turn them on or off.
- Calculate the energy generated by the Piezoelectric sensor based on the sensor
readings.
10
- Map this energy level to the brightness or pattern of the LEDs to visualize the
electricity generation in real-time.
- You can use if-else statements or switch-case statements to control the LEDs
based on the energy levels.
- Upload the code to your Arduino Uno and observe the behavior of the LEDs when pressure
or vibrations are applied to the Piezoelectric sensor.
- Adjust the code as needed to fine-tune the LED response to the energy generated by the
sensor.
6. Generation of electricity:
- The Arduino Uno reads this generated energy and illuminates the LEDs
based on the level of energy produced in real-time.
11
RESULT:
12
Fig k: After Output
13
CONCLUSION :
14
REFERENCE:
6.Led: https://images.app.goo.gl/6peTiAqzGGfcnHLW7
7.Resistor: https://images.app.goo.gl/J5wQigiGZa4EirEF6
8.Circuit Implementation:
https://www.youtube.com/redirect?event=video_description&redir_token=
QUFFLUhqblpZSVpWcl9aUW1jVkxk5cG5TUXxBQ3Jtc0ttNElnUS
15