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

Arduino Nano Controlled IR Beam Break Detection with Ethernet Connectivity

Image of Arduino Nano Controlled IR Beam Break Detection with Ethernet Connectivity

Circuit Documentation

Summary

This circuit is designed to interface an Arduino Nano with an IR Beam Sensor pair (transmitter and receiver), a DC worm gear motor, a 2-Channel Relay module, a Module Ethernet W5500 for network connectivity, and a couple of micro switches. The circuit is powered by a Switching Power Supply, which is regulated down to the required voltage for the Arduino Nano using a Buck converter. The IR Beam Sensor is used to detect objects passing through the beam, and the micro switches are likely used as limit switches. The DC motor is controlled via the relay module, which is in turn controlled by the Arduino Nano. The Ethernet module allows the Arduino to communicate over a network.

Component List

  • IR Beam Sensor (Receiver): Detects the presence of an IR beam.
  • IR Beam Sensor (Transmitter): Emits an IR beam.
  • Arduino Nano: The microcontroller that controls the circuit.
  • DC Worm Gear Motor: A motor that is likely used for driving a mechanical system.
  • Module Ethernet W5500: Provides network connectivity to the Arduino Nano.
  • 2-Channel Relay (5V 10A): Controls high power devices like the DC motor.
  • Micro Switch: Likely used as a limit switch or for user input.
  • Switching Power Supply: Converts AC to DC and provides power to the circuit.
  • Buck Converter: Steps down voltage to a lower level.
  • AC Source: Provides AC power to the Switching Power Supply.

Wiring Details

IR Beam Sensor (Receiver)

  • OUT: Connected to Arduino Nano D5.
  • COM: Connected to Arduino Nano GND.
  • VCC: Connected to Switching Power Supply +V.
  • GND: Connected to Switching Power Supply -V.

IR Beam Sensor (Transmitter)

  • VCC: Connected to Switching Power Supply +V.
  • GND: Connected to Switching Power Supply -V.

Arduino Nano

  • D5: Connected to IR Beam Sensor (Receiver) OUT.
  • GND: Common ground with multiple components.
  • RESET: Connected to Module Ethernet W5500 RST.
  • D2: Connected to Micro Switch NO.
  • D3: Connected to Micro Switch NO.
  • D8: Connected to 2-Channel Relay IN1.
  • D9: Connected to 2-Channel Relay IN2.
  • D10: Connected to Module Ethernet W5500 SS.
  • D11/MOSI: Connected to Module Ethernet W5500 MOSI.
  • D12/MISO: Connected to Module Ethernet W5500 MISO.
  • VIN: Connected to Buck Converter OUT+.
  • 5V: Connected to 2-Channel Relay VCC and Module Ethernet W5500 5V.
  • D13/SCK: Connected to Module Ethernet W5500 SCK.

DC Worm Gear Motor

  • Motor+: Connected to 2-Channel Relay K2-In.
  • Motor-: Connected to 2-Channel Relay K1-In.

Module Ethernet W5500

  • RST: Connected to Arduino Nano RESET.
  • GND: Common ground with multiple components.
  • 5V: Connected to Arduino Nano 5V.
  • SCK: Connected to Arduino Nano D13/SCK.
  • SS: Connected to Arduino Nano D10.
  • MOSI: Connected to Arduino Nano D11/MOSI.
  • MISO: Connected to Arduino Nano D12/MISO.

2-Channel Relay (5V 10A)

  • K1-Off: Connected to Switching Power Supply -V.
  • K1-In: Connected to DC Worm Gear Motor Motor-.
  • K2-On: Connected to Switching Power Supply +V.
  • K2-In: Connected to DC Worm Gear Motor Motor+.
  • K1-On: Connected to Switching Power Supply +V.
  • K2-Off: Connected to Switching Power Supply -V.
  • VCC: Connected to Arduino Nano 5V.
  • JD-GND: Common ground with multiple components.
  • IN2: Connected to Arduino Nano D9.
  • IN1: Connected to Arduino Nano D8.
  • GND: Common ground with multiple components.

Micro Switch

  • COM: Common ground with multiple components.
  • NO: Connected to Arduino Nano D2 or D3 (two instances of Micro Switch).

Switching Power Supply

  • AC: Connected to AC Source - and +.
  • GND: Common ground with multiple components.
  • -V: Connected to Buck Converter IN- and various components' GND.
  • +V: Connected to Buck Converter IN+ and various components' VCC.

Buck Converter

  • IN+: Connected to Switching Power Supply +V.
  • IN-: Connected to Switching Power Supply -V.
  • OUT+: Connected to Arduino Nano VIN.
  • OUT-: Common ground with multiple components.

AC Source

  • -: Connected to Switching Power Supply AC.
  • +: Connected to Switching Power Supply AC.

Documented Code

Arduino Nano Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Note: The provided code is a template and does not contain any functional code specific to the circuit's operation. It will need to be populated with the appropriate setup and loop code to control the components as per the circuit's design.