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

Arduino Nano IR Sensor Controlled 12V Relay with Battery Power

View and Edit Project In Cirkit DesignerImage of Arduino Nano IR Sensor Controlled 12V Relay with Battery Power

Circuit Documentation

Summary

This circuit involves an Arduino Nano microcontroller, a 12V relay, an IR sensor, a 9V battery, a push button, and a component labeled "NamChamDien". The Arduino Nano controls the relay and reads input from the IR sensor. The relay is used to switch a load connected to the "NamChamDien" component, which is powered by the 9V battery.

Component List

Arduino Nano

12V Relay

IR Sensor

9V Battery

3104 Push Button

NamChamDien

Wiring Details

Arduino Nano

12V Relay

IR Sensor

9V Battery

NamChamDien

Code Documentation

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 where you initialize your components and settings, and the loop() function is where the main logic of your program runs repeatedly. Currently, the code does not perform any specific actions and serves as a starting point for further development.