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

Arduino UNO Controlled Relay Switch with LM393 Sensor Interface

View and Edit Project In Cirkit DesignerImage of Arduino UNO Controlled Relay Switch with LM393 Sensor Interface

Circuit Documentation

Summary of the Circuit

This circuit integrates an Arduino UNO microcontroller with a 1-Channel Relay and an LM393 comparator module. The Arduino UNO is used as the central processing unit, controlling the relay and receiving signals from the LM393. The relay allows for controlling high-power devices, while the LM393 provides analog and digital signals based on voltage comparisons. The circuit is designed to operate at 5V, with common ground connections.

Component List

Arduino UNO

1-Channel Relay (5V 10A)

LM393

Wiring Details

Arduino UNO

1-Channel Relay (5V 10A)

LM393

Documented Code

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

}

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

}

Filename: sketch.ino

This code is a template for the Arduino UNO microcontroller. The setup() function is called once when the microcontroller is powered on or reset. It is used to initialize the pins and set the initial state of the circuit. The loop() function is called repeatedly and contains the main logic of the program. Currently, both functions are empty and should be filled with the user's specific logic to control the relay and process signals from the LM393.