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

Arduino UNO Controlled Trimmer Potentiometer

View and Edit Project In Cirkit DesignerImage of Arduino UNO Controlled Trimmer Potentiometer

Circuit Documentation

Summary of the Circuit

This circuit consists of an Arduino UNO microcontroller and a trimmer potentiometer. The Arduino UNO is used as the central processing unit, controlling the voltage levels on its digital pins to interface with the potentiometer. The trimmer potentiometer is connected to the Arduino and is likely used to provide analog input to the microcontroller based on its position.

Component List

Arduino UNO

Trimmer Potentiometer

Wiring Details

Arduino UNO

Trimmer Potentiometer

Documented Code

// sketch.ino for Arduino UNO

void setup() {
  // Configure pin D4 as an output
  pinMode(4, OUTPUT);
  // Set pin D4 high
  digitalWrite(4, HIGH);

  // Configure pin D3 as an output
  pinMode(3, OUTPUT);
  // Set pin D3 low
  digitalWrite(3, LOW);
}

void loop() {
  // Main code loop, currently empty
}

File Name: sketch.ino

Description: This code configures digital pins D4 and D3 of the Arduino UNO as outputs. It sets D4 to a high voltage level and D3 to a low voltage level. The loop function is currently empty, indicating that the main program logic is yet to be implemented or is handled in an interrupt-driven manner.