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

Arduino UNO Joystick-Controlled LED Display

View and Edit Project In Cirkit DesignerImage of Arduino UNO Joystick-Controlled LED Display

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller interfaced with an Adafruit Analog 2-Axis Joystick and several LEDs (red, green, and yellow) through resistors. The joystick provides analog input to the Arduino, while the LEDs are controlled via digital output pins on the Arduino.

Component List

  1. Adafruit Analog 2-Axis Joystick

    • Pins: VCC, XOUT, YOUT, SWITCH, GND
    • Description: An analog joystick that provides two-axis control and a switch button.
  2. Arduino UNO

    • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
    • Description: A microcontroller board based on the ATmega328P.
  3. LED: Two Pin (red)

    • Pins: cathode, anode
    • Description: A red LED.
  4. LED: Two Pin (green)

    • Pins: cathode, anode
    • Description: A green LED.
  5. LED: Two Pin (yellow)

    • Pins: cathode, anode
    • Description: A yellow LED.
  6. Resistor

    • Pins: pin1, pin2
    • Description: A resistor with a resistance of 420 Ohms.

Wiring Details

Adafruit Analog 2-Axis Joystick

Arduino UNO

LED: Two Pin (red)

LED: Two Pin (green)

LED: Two Pin (yellow)

Resistor

Code Documentation

Arduino UNO 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 UNO. The setup() function is where you initialize your settings, and the loop() function is where the main code runs repeatedly. Currently, the code does not perform any specific actions.