Adafruit DS1841 I2C Digital 10K Potentiometer Breakout
Available · 8 piece · 2-5 Tage
Adafruit STEMMA Potentiometer Breakout Board - 10 KOhm Linear
Available · 8 piece · 2-5 Tage
MPR121 Capacitive touch sensor controller with breakout board
Available · 100+ piece · 2-5 Tage
Makeblock mBuild angle sensor, magnetic encoder, continuous rotation, real-time detection
Available · 4 piece · 2-5 Tage
KY-036 Touch sensor module with digital and analogue output
Available · 9 piece · 2-5 Tage
seeed Grove - Capacitive 12-channel touch keypad (ATtiny1616)
Available · 3 piece · 2-5 Tage
Adafruit DS3502 I2C Digital 10K Potentiometer Breakout
Available · 23 piece · 2-5 Tage
Adafruit TSC2007 I2C Resistive Touchscreen Controller - STEMMA QT
Available · 5 piece · 2-5 Tage
Makeblock mBuild joystick module, control range -100 to 100, reversal accuracy +/- 0.2 mm, 15 mA
Available · 33 piece · 2-5 Tage
Rotary encoder with breakout board, without thread and nut
Available · 20 piece · 2-5 Tage
BerryBase Hall Magnetic Sensor Module, KY-003, digitaler Ausgang, Hall-Effekt, Arduino, 3.3-5V
Available · 39 piece · 2-5 Tage
Barcode scanner module, reads 1D / 2D codes, UART / USB output
Available · 55 piece · 2-5 Tage
Makeblock mBuild push-button module, digital input, 100000 cycles, 24x20x16 mm, 15 mA
Available · 100+ piece · 2-5 Tage
M5Stack Chain DualKey Eingabemodul, ESP32-S3, USB & BLE, 2x Hot-Swap Taster, 2x RGB, 5V
Available · 1 piece · 2-5 Tage
Elecrow CrowPanel, 1,28 Zoll Smart Knob, IPS Touchscreen, ESP32 HMI Drehgeber, Home Assistant, 5V
Available · 20 piece · 2-5 Tage
Input: for your microcontroller
Input modules are essential components in electronics development and when working with microcontrollers. They make it possible to convert physical interactions—such as button presses, rotary movements, or touches—into electrical signals that can be processed by the microcontroller.
Typical input devices include push buttons, potentiometers, joysticks, switches, or touch modules. These can be used, for example, to control robots, implement menu navigation, or regulate analog values. They form the interface between the user and the system and are therefore central to interactive microcontroller projects.
By integrating these modules, a rigid system becomes a reactive one—for example, for controlling LEDs, motors, or displays.
How to use input modules with microcontrollers
Most input modules can be connected directly to a microcontroller such as an Arduino, Raspberry Pi Pico, or ESP32 via digital or analog pins.
Push buttons provide digital signals (on/off), while potentiometers or joysticks output analog voltage values. Control is handled via libraries or custom routines in programming languages such as C/C++ or MicroPython.
Example: A push button is connected to a digital GPIO pin and equipped with a pull-down resistor. The software checks the pin state and triggers corresponding actions—such as turning on an LED or starting a motor.
For I2C-based modules, a connection via just two data lines is usually sufficient, which is particularly common with more complex modules such as touch panels or sliders.
Comparison of common input modules
| Image | Module | Input type | Input values | Connection |
|---|---|---|---|---|
| Push button | Digital | On / Off | Digital GPIO | |
| Potentiometer | Analog | Dependent on total resistance (voltage value) | Analog pin or I2C | |
| Joystick | Analog + Digital | X/Y axes + button | 2× Analog, 1× Digital | |
| Slide switch | Digital | Position 1 / Position 2 | Digital GPIO | |
| Touch button | Digital / I2C | Touch detected / not detected | Digital GPIO or I2C | |
| Infrared remote control | Digital | Button codes | IR receiver on GPIO |
What should you consider when buying and using them?
When selecting input modules for microcontroller projects, the most important factor is compatibility: not every module works directly with every microcontroller. Pay attention to voltage levels (3.3V or 5V), interfaces (digital, analog, I2C, UART), and available libraries.
Another important aspect is ease of mounting: some modules come with pre-assembled connectors, while others require soldering. During installation, ensure clean signal routing and debouncing (for buttons).
For beginners, it is recommended to use plug-and-play capable breakout boards or Grove/Qwiic-compatible modules to get started quickly and without errors.