Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino-Controlled Coin-Operated Mechanism with LCD Feedback

Image of Arduino-Controlled Coin-Operated Mechanism with LCD Feedback

Circuit Documentation

Summary

The circuit in question appears to be a power regulation and control system with an interface for a coin reader and an LCD display. The system is controlled by an Arduino UNO microcontroller, which manages input from the coin reader and outputs to the LCD. A 12V power supply is regulated down to a lower voltage using an LM2596 voltage regulator. A diode provides polarity protection, and a MOSFET (IRFZ44N) is used for switching purposes, possibly for controlling power to a load. The circuit also includes a USB female port, likely for providing power output or data communication.

Component List

IRFZ44N

  • Description: N-Channel MOSFET
  • Pins: Gate, Drain, Source

Resistor

  • Description: Passive electrical component with a resistance of 1 Ohm
  • Pins: pin1, pin2

Diode

  • Description: Semiconductor device that allows current to flow in one direction
  • Pins: cathode, anode

Coin Reader

  • Description: Device for detecting and counting coins
  • Pins: VCC, COIN, VDD, COUNTER

Arduino UNO

  • Description: Microcontroller board based on the ATmega328P
  • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D0-D13

12V Power Supply

  • Description: Provides a 12V power source
  • Pins: +, -

DC Connector

  • Description: Connector for DC power input
  • Pins: 1, 2

Terminal PCB 2 Pin (x2)

  • Description: Two-pin terminal for PCB mounting
  • Pins: Pin A, Pin B

LM2596

  • Description: Voltage Regulator
  • Pins: IN, OUT

USB Female

  • Description: Female USB connector for power or data
  • Pins: VCC, GND, -D, +D

16x2 I2C LCD

  • Description: Liquid Crystal Display with I2C interface
  • Pins: GND, VCC, SDA, SCL

Wiring Details

IRFZ44N

  • Gate connected to Resistor (pin1) and Arduino UNO (D9)
  • Drain connected to Diode (anode) and LM2596 (IN)
  • Source connected to Resistor (pin2)

Resistor

  • pin1 connected to IRFZ44N (Gate) and Arduino UNO (D9)
  • pin2 connected to IRFZ44N (Source)

Diode

  • cathode connected to Terminal PCB 2 Pin (Pin A), LM2596 (IN), 12V Power Supply (-), and DC Connector (1)
  • anode connected to IRFZ44N (Drain)

Coin Reader

  • VCC connected to Arduino UNO (5V)
  • COIN connected to Arduino UNO (D8)
  • VDD connected to Arduino UNO (GND)
  • COUNTER connected to Arduino UNO (5V)

Arduino UNO

  • D9 connected to IRFZ44N (Gate) and Resistor (pin1)
  • D8 connected to Coin Reader (COIN)
  • 5V connected to Coin Reader (COUNTER) and 16x2 I2C LCD (VCC)
  • GND connected to Coin Reader (VDD) and 16x2 I2C LCD (GND)
  • A4 connected to 16x2 I2C LCD (SDA)
  • A5 connected to 16x2 I2C LCD (SCL)

12V Power Supply

    • connected to Terminal PCB 2 Pin (Pin B)
    • connected to Diode (cathode), Terminal PCB 2 Pin (Pin A), LM2596 (IN), and DC Connector (1)

DC Connector

  • 1 connected to Diode (cathode) and 12V Power Supply (-)
  • 2 connected to Terminal PCB 2 Pin (Pin B)

Terminal PCB 2 Pin

  • Pin A connected to Diode (cathode), LM2596 (IN), and 12V Power Supply (-)
  • Pin B connected to 12V Power Supply (+) and DC Connector (2)

LM2596

  • IN connected to Diode (cathode), Terminal PCB 2 Pin (Pin A), and 12V Power Supply (-)
  • OUT connected to USB Female (VCC and GND)

USB Female

  • VCC connected to LM2596 (OUT)
  • GND connected to LM2596 (OUT)

16x2 I2C LCD

  • GND connected to Arduino UNO (GND)
  • VCC connected to Arduino UNO (5V)
  • SDA connected to Arduino UNO (A4)
  • SCL connected to Arduino UNO (A5)

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 Notes (documentation.txt)

No additional code documentation was provided.