Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino Nano-Based IR Sensor and Piezo Buzzer System with 220V to 5V Power Conversion

View and Edit Project In Cirkit DesignerImage of Arduino Nano-Based IR Sensor and Piezo Buzzer System with 220V to 5V Power Conversion

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino Nano microcontroller, an IR sensor, a Piezo Buzzer, a Power Transformer, a Bridge Rectifier, and a 48V to 5V converter. The circuit is designed to interface an IR sensor with the Arduino Nano, which in turn controls a Piezo Buzzer. The power supply for the circuit is derived from a 220V AC source, which is stepped down and rectified to provide the necessary DC voltages.

Component List

  1. Arduino Nano

    • Description: A compact microcontroller board based on the ATmega328P.
    • Pins: D1/TX, D0/RX, RESET, GND, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11/MOSI, D12/MISO, VIN, 5V, A7, A6, A5, A4, A3, A2, A1, A0, AREF, 3V3, D13/SCK
  2. IR Sensor

    • Description: An infrared sensor used for detecting objects.
    • Pins: out, gnd, vcc
  3. Piezo Buzzer

    • Description: An electronic device that produces a sound when a voltage is applied.
    • Pins: pin 1, pin 2
  4. Power Transformer (220V to 24V)

    • Description: A transformer that steps down 220V AC to 24V AC.
    • Pins: 2 - Primary, 1 - Primary, 3 - Secondary, 4 - Secondary
  5. 48V to 5V Converter

    • Description: A DC-DC converter that steps down 48V DC to 5V DC.
    • Pins: out+, out--, in+, in--
  6. Bridge Rectifier

    • Description: A device that converts AC to DC.
    • Pins: Source_in-, source_out-, source_out+, source_in+
  7. Power 220V

    • Description: A 220V AC power source.
    • Pins: hot wire, neutral wire

Wiring Details

Arduino Nano

IR Sensor

Piezo Buzzer

Power Transformer (220V to 24V)

48V to 5V Converter

Bridge Rectifier

Power 220V

Documented Code

Arduino Nano 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 Nano. The setup function is used to initialize any settings or configurations, and the loop function contains the main code that runs repeatedly.

This concludes the documentation for the circuit.