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

Arduino Mega and Nano-Based Dual Rotary Encoder Controller with AC-DC Power Supply

View and Edit Project In Cirkit DesignerImage of Arduino Mega and Nano-Based Dual Rotary Encoder Controller with AC-DC Power Supply

Circuit Documentation

Summary

This circuit involves multiple microcontrollers (Arduino Mega 2560 and Arduino Nano), rotary encoders, a power supply unit, and a 220V power source. The circuit is designed to interface rotary encoders with the microcontrollers, which are powered by an AC-DC PSU board converting 220V AC to 5V and 12V DC. The microcontrollers communicate with each other and the encoders to perform various tasks as defined in their respective code.

Component List

Rotary Encoder

Arduino Mega 2560

Arduino Nano

Power 220V

AC-DC PSU Board 220V-5V&12V

Wiring Details

Rotary Encoder 1

Rotary Encoder 2

Arduino Mega 2560

Arduino Nano 1

Arduino Nano 2

AC-DC PSU Board 220V-5V&12V

Documented Code

Arduino Mega 2560 Code

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

}

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

}

Arduino Nano 1 Code

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

}

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

}

Arduino Nano 2 Code

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

}

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

}

This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and the code for each microcontroller.