Battery-Powered Arduino-Based Piezo Sensor System with LCD Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit involves multiple piezo sensors, rectifier diodes, resistors, a transistor, an electrolytic capacitor, a 16x2 I2C LCD, an Arduino UNO, and power sources including a 9V battery and 18650 Li-ion batteries. The circuit is designed to interface with the Arduino UNO, which processes signals from the piezo sensors and displays information on the LCD.
Component List
Piezo Sensor
- Description: Converts mechanical energy into electrical energy.
- Pins: +, -
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
1N4007 Rectifier Diode
- Description: A general-purpose silicon rectifier diode.
- Pins: Cathode, Anode
Electrolytic Capacitor
- Description: Stores electrical energy in an electric field.
- Pins: -, +
- Properties:
- Capacitance: 0.00001 Farads
Resistor
- Description: Limits the flow of electric current.
- Pins: pin1, pin2
- Properties:
- Resistance: 100000 Ohms (for one instance)
- Resistance: 10000 Ohms (for two instances)
BC547 Transistor
- Description: A general-purpose NPN transistor.
- Pins: Collector, Base, Emitter
16x2 I2C LCD
- Description: A 16x2 character LCD display with I2C interface.
- Pins: GND, VCC, SDA, SCL
18650 Li-ion Battery x 2
- Description: Rechargeable lithium-ion batteries.
- Pins: +, -
9V Battery
- Description: A standard 9V battery.
- Pins: +, -
Wiring Details
Piezo Sensor
- + connected to:
- Anode of 1N4007 Rectifier Diode
- Cathode of 1N4007 Rectifier Diode
- - connected to:
- Cathode of 1N4007 Rectifier Diode
- Anode of 1N4007 Rectifier Diode
Arduino UNO
- GND connected to:
- Collector of BC547 Transistor
- Anode of 1N4007 Rectifier Diode
- pin1 of Resistor
-
- of Electrolytic Capacitor
- GND of 16x2 I2C LCD
-
- of 9V Battery
-
- of 18650 Li-ion Battery x 2
- A0 connected to:
- pin2 of Resistor
- D8 connected to:
- pin2 of Resistor
- Vin connected to:
-
- of 9V Battery
-
- of 18650 Li-ion Battery x 2
-
- 5V connected to:
- VCC of 16x2 I2C LCD
- A4 connected to:
- SDA of 16x2 I2C LCD
- A5 connected to:
- SCL of 16x2 I2C LCD
1N4007 Rectifier Diode
- Anode connected to:
-
- of Piezo Sensor
- Cathode of 1N4007 Rectifier Diode
-
- Cathode connected to:
- pin2 of Resistor
-
- of Electrolytic Capacitor
- Anode of 1N4007 Rectifier Diode
Electrolytic Capacitor
- - connected to:
- GND of Arduino UNO
- + connected to:
- Cathode of 1N4007 Rectifier Diode
Resistor
- pin1 connected to:
- GND of Arduino UNO
- Base of BC547 Transistor
- pin2 connected to:
- A0 of Arduino UNO
- D8 of Arduino UNO
BC547 Transistor
- Collector connected to:
- GND of Arduino UNO
- Base connected to:
- pin1 of Resistor
- Emitter connected to:
- (No connection specified)
16x2 I2C LCD
- GND connected to:
- GND of Arduino UNO
- VCC connected to:
- 5V of Arduino UNO
- SDA connected to:
- A4 of Arduino UNO
- SCL connected to:
- A5 of Arduino UNO
18650 Li-ion Battery x 2
- + connected to:
- Vin of Arduino UNO
- - connected to:
- GND of Arduino UNO
9V Battery
- + connected to:
- Vin of Arduino UNO
- - connected to:
- GND of Arduino UNO
Documented Code
Arduino UNO Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
This code is a basic template for the Arduino UNO. The setup() function is used to initialize any settings or configurations, and the loop() function contains the main code that runs repeatedly.