Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Arduino Modulino Knob: Examples, Pinouts, and Specs

Image of Arduino Modulino Knob
Cirkit Designer LogoDesign with Arduino Modulino Knob in Cirkit Designer

Introduction

The Arduino Modulino Knob (ABX00107) is a rotary input device designed for seamless integration with Arduino projects. This component allows users to adjust values or settings by simply turning the knob, making it ideal for applications requiring user input, such as volume control, menu navigation, or parameter adjustments. Its compact design and ease of use make it a versatile addition to any project.

Explore Projects Built with Arduino Modulino Knob

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino UNO Based Oscilloscope with OLED Display and Adjustable Time/Voltage Scales
Image of 1: A project utilizing Arduino Modulino Knob in a practical application
This circuit features an Arduino UNO connected to a 0.96" OLED display for visual output, with a rotary potentiometer providing analog input to the Arduino. Two pushbuttons are included, each with a pull-up resistor, to allow the user to adjust time base and voltage scale settings for the display. The Arduino runs a sketch to read the potentiometer value, adjust settings with the pushbuttons, and display a scaled waveform on the OLED screen.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano Controlled Servomotor with Joystick Interface
Image of coba aja: A project utilizing Arduino Modulino Knob in a practical application
This circuit consists of an Arduino Nano microcontroller interfaced with a KY-023 Dual Axis Joystick Module and an SG90 Servomotor. The joystick provides two-axis input to the Arduino, which then processes the input and controls the position of the servomotor accordingly. The Breadboard Power Module supplies power to the system, with connections indicating that both 5V and GND are distributed to the components that require them.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Mega 2560-Controlled Servo System with Bluetooth and Sensor Interface
Image of Završni: A project utilizing Arduino Modulino Knob in a practical application
This is a microcontroller-based control system featuring an Arduino Mega 2560, designed to receive inputs from a rotary potentiometer, push switches, and an IR sensor, and to drive multiple servos and an LCD display. It includes an HC-05 Bluetooth module for wireless communication, allowing for remote interfacing and control.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Controlled Dual Servo Joystick Interface
Image of one eye small breadboard: A project utilizing Arduino Modulino Knob in a practical application
This circuit features an Arduino UNO microcontroller interfaced with two servo motors and a KY-023 Dual Axis Joystick Module. The joystick provides two analog inputs to control the position of the servos, with one servo connected to digital pin D3 and the other to D4 for pulse width modulation (PWM) control. The 5V and GND pins of the Arduino power the servos and the joystick, and a switch input from the joystick is connected to digital pin D7.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Arduino Modulino Knob

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of 1: A project utilizing Arduino Modulino Knob in a practical application
Arduino UNO Based Oscilloscope with OLED Display and Adjustable Time/Voltage Scales
This circuit features an Arduino UNO connected to a 0.96" OLED display for visual output, with a rotary potentiometer providing analog input to the Arduino. Two pushbuttons are included, each with a pull-up resistor, to allow the user to adjust time base and voltage scale settings for the display. The Arduino runs a sketch to read the potentiometer value, adjust settings with the pushbuttons, and display a scaled waveform on the OLED screen.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of coba aja: A project utilizing Arduino Modulino Knob in a practical application
Arduino Nano Controlled Servomotor with Joystick Interface
This circuit consists of an Arduino Nano microcontroller interfaced with a KY-023 Dual Axis Joystick Module and an SG90 Servomotor. The joystick provides two-axis input to the Arduino, which then processes the input and controls the position of the servomotor accordingly. The Breadboard Power Module supplies power to the system, with connections indicating that both 5V and GND are distributed to the components that require them.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Završni: A project utilizing Arduino Modulino Knob in a practical application
Arduino Mega 2560-Controlled Servo System with Bluetooth and Sensor Interface
This is a microcontroller-based control system featuring an Arduino Mega 2560, designed to receive inputs from a rotary potentiometer, push switches, and an IR sensor, and to drive multiple servos and an LCD display. It includes an HC-05 Bluetooth module for wireless communication, allowing for remote interfacing and control.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of one eye small breadboard: A project utilizing Arduino Modulino Knob in a practical application
Arduino UNO Controlled Dual Servo Joystick Interface
This circuit features an Arduino UNO microcontroller interfaced with two servo motors and a KY-023 Dual Axis Joystick Module. The joystick provides two analog inputs to control the position of the servos, with one servo connected to digital pin D3 and the other to D4 for pulse width modulation (PWM) control. The 5V and GND pins of the Arduino power the servos and the joystick, and a switch input from the joystick is connected to digital pin D7.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Volume or brightness control in audio and lighting systems
  • Menu navigation in embedded systems
  • Adjustable parameter tuning in robotics and automation
  • User input for DIY Arduino projects

Technical Specifications

The Arduino Modulino Knob is designed to provide reliable and precise rotary input. Below are its key technical details:

General Specifications

Parameter Value
Manufacturer Arduino
Part ID ABX00107
Operating Voltage 3.3V - 5V
Maximum Current 10 mA
Output Type Digital (rotary encoder)
Rotational Steps 20 steps per revolution
Push Button Function Integrated (momentary switch)
Operating Temperature -10°C to 70°C
Dimensions 20mm x 20mm x 15mm

Pin Configuration and Descriptions

The Modulino Knob has a 5-pin interface for easy connection to an Arduino or other microcontroller. Below is the pinout:

Pin Number Pin Name Description
1 GND Ground connection
2 VCC Power supply (3.3V or 5V)
3 CLK Clock signal output from the rotary encoder
4 DT Data signal output from the rotary encoder
5 SW Push button signal output (active LOW)

Usage Instructions

The Arduino Modulino Knob is straightforward to use in a circuit. Follow the steps below to integrate it into your project:

Connecting the Modulino Knob

  1. Power the Knob: Connect the VCC pin to the 3.3V or 5V pin on your Arduino and the GND pin to the Arduino's ground.
  2. Connect the Rotary Encoder:
    • Connect the CLK pin to a digital input pin on the Arduino (e.g., D2).
    • Connect the DT pin to another digital input pin (e.g., D3).
  3. Connect the Push Button:
    • Connect the SW pin to a digital input pin (e.g., D4). Use a pull-up resistor if necessary.

Sample Arduino Code

Below is an example sketch to read the rotary encoder and push button inputs:

// Define pin connections
#define CLK 2  // Clock pin
#define DT 3   // Data pin
#define SW 4   // Switch pin

int lastStateCLK;  // To store the previous state of the CLK pin
int currentStateCLK;  // To store the current state of the CLK pin
int counter = 0;  // Counter to track rotary position

void setup() {
  pinMode(CLK, INPUT);
  pinMode(DT, INPUT);
  pinMode(SW, INPUT_PULLUP);  // Use internal pull-up for the switch

  Serial.begin(9600);  // Initialize serial communication
  lastStateCLK = digitalRead(CLK);  // Read the initial state of the CLK pin
}

void loop() {
  // Read the current state of the CLK pin
  currentStateCLK = digitalRead(CLK);

  // Check if the state has changed
  if (currentStateCLK != lastStateCLK) {
    // Determine the direction of rotation
    if (digitalRead(DT) != currentStateCLK) {
      counter++;  // Clockwise rotation
    } else {
      counter--;  // Counterclockwise rotation
    }

    // Print the counter value to the Serial Monitor
    Serial.print("Counter: ");
    Serial.println(counter);
  }

  // Update the last state of the CLK pin
  lastStateCLK = currentStateCLK;

  // Check if the push button is pressed
  if (digitalRead(SW) == LOW) {
    Serial.println("Button Pressed!");
    delay(200);  // Debounce delay
  }
}

Important Considerations and Best Practices

  • Debouncing: The rotary encoder and push button may produce noise or false signals. Use software debouncing or external capacitors to filter out unwanted signals.
  • Pull-up Resistors: Ensure the SW pin is connected to a pull-up resistor (internal or external) to avoid floating states.
  • Power Supply: Operate the Modulino Knob within its specified voltage range (3.3V - 5V) to prevent damage.

Troubleshooting and FAQs

Common Issues and Solutions

  1. The knob is not responding to rotation.

    • Check the connections to the CLK and DT pins. Ensure they are securely connected to the correct Arduino pins.
    • Verify that the VCC and GND pins are properly connected to the power supply.
  2. The push button does not register presses.

    • Ensure the SW pin is connected to a digital input pin with a pull-up resistor.
    • Check for loose connections or damaged wires.
  3. The counter value is erratic or jumps unexpectedly.

    • Add software debouncing to filter out noise from the rotary encoder signals.
    • Use shielded cables if the Modulino Knob is used in a noisy environment.
  4. The knob does not work with a 3.3V power supply.

    • Ensure the Arduino board and the Modulino Knob share a common ground.
    • Verify that the Arduino's digital input pins can reliably detect 3.3V signals.

FAQs

Q: Can I use the Modulino Knob with a 3.3V-only microcontroller?
A: Yes, the Modulino Knob is compatible with 3.3V systems. Ensure all connections are properly configured.

Q: How do I increase the resolution of the rotary encoder?
A: The Modulino Knob has a fixed resolution of 20 steps per revolution. For higher resolution, consider using a different encoder model.

Q: Can I use multiple Modulino Knobs in the same project?
A: Yes, you can use multiple knobs by connecting each to separate digital input pins on your Arduino.

Q: Is the push button on the knob momentary or latching?
A: The push button is momentary, meaning it only stays active while pressed.

By following this documentation, you can effectively integrate the Arduino Modulino Knob into your projects and troubleshoot any issues that arise.