Arduino UNO-Based Coin Operated Water Pump with LCD Display and Buzzer
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, a 5V mini water pump, a Coin Hopper, a 16x2 I2C LCD, multiple pushbuttons, a Multi Coin Acceptor, a DC Power Source, and a buzzer. The circuit is designed to interface these components with the Arduino UNO for various functionalities.
Component List
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
Coin Hopper
- Description: A device used to dispense coins.
- Pins: VCC, SIGNAL, GND, P, N
5V Mini Water Pump
- Description: A small water pump that operates at 5V.
- Pins: Positive pin, Negative pin
Pushbutton
- Description: A simple pushbutton switch.
- Pins: Pin 2, Pin 1, Pin 3, Pin 4
16x2 I2C LCD
- Description: A 16x2 character LCD with I2C interface.
- Pins: GND, VCC, SDA, SCL
Multi Coin Acceptor
- Description: A device that accepts multiple types of coins.
- Pins: COIN, DC12V, GND, COUNTER
DC Power Source
- Description: A power source providing DC voltage.
- Pins: Ground, Positive
Buzzer
- Description: A simple buzzer for sound output.
- Pins: PIN, GND
Wiring Details
Arduino UNO
- 5V: Connected to VCC of Coin Hopper, 5V Mini Water Pump, and VCC of 16x2 I2C LCD.
- GND: Connected to GND of 16x2 I2C LCD, Negative pin of 5V Mini Water Pump, GND of Buzzer, and Pin 2 of all Pushbuttons.
- A4: Connected to SDA of 16x2 I2C LCD.
- A5: Connected to SCL of 16x2 I2C LCD.
- D10: Connected to PIN of Buzzer.
- D9: Connected to SIGNAL of Coin Hopper.
- D8: Connected to COUNTER of Multi Coin Acceptor.
- D7: Connected to COIN of Multi Coin Acceptor.
- D6: Connected to Pin 1 of one Pushbutton.
- D5: Connected to Pin 1 of another Pushbutton.
- D4: Connected to Pin 1 of another Pushbutton.
- D3: Connected to Pin 1 of another Pushbutton.
- D2: Connected to Pin 1 of another Pushbutton.
Coin Hopper
- VCC: Connected to 5V of Arduino UNO.
- SIGNAL: Connected to D9 of Arduino UNO.
- GND: Connected to GND of Multi Coin Acceptor and Ground of DC Power Source.
5V Mini Water Pump
- Positive pin: Connected to 5V of Arduino UNO.
- Negative pin: Connected to GND of Arduino UNO.
Pushbutton
- Pin 2: Connected to GND of Arduino UNO.
- Pin 1: Connected to D6, D5, D4, D3, and D2 of Arduino UNO respectively for each pushbutton.
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.
Multi Coin Acceptor
- COIN: Connected to D7 of Arduino UNO.
- DC12V: Connected to Positive of DC Power Source.
- GND: Connected to GND of Coin Hopper and Ground of DC Power Source.
- COUNTER: Connected to D8 of Arduino UNO.
DC Power Source
- Ground: Connected to GND of Multi Coin Acceptor and GND of Coin Hopper.
- Positive: Connected to DC12V of Multi Coin Acceptor.
Buzzer
- PIN: Connected to D10 of Arduino UNO.
- GND: Connected to GND of Arduino UNO.
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation (documentation.txt)
This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and documented code.