🛠 Configuring Modulino I/O on Arduino UNO Q
Objectives
This tutorial aims to configure Modulino nodes (buttons, joystick, pixels) to interact with the Linux system on the Arduino UNO Q. You will learn to replace traditional mouse/keyboard inputs with custom tactile controls, essential for applications like Home Assistant or retro gaming.
Required Hardware
- Arduino UNO Q 4GB Board (bundle)
- Modulino Nodes: button, joystick, rotary knob, pixels
- 24-pin USB-C cable
- 45W USB-C Power Supply
- Computer with Arduino App Lab installed
- (Optional) 8-in-1 USB-C Hub for HDMI display
Steps
- Hardware Preparation: Connect the UNO Q to the 45W power supply. Insert the Modulino nodes into the dedicated ports on the board. Ensure connections are firm.
- Software Connection: Launch Arduino App Lab on your computer. Connect the UNO Q via the 24-pin USB-C cable. Wait for automatic device detection.
- Configuration in App Lab: In the interface, select the "Physical Interface" project. Drag and drop detected components (joystick, buttons) into the mapping area. Define associated Linux actions (e.g., left click, arrow keys) for each input.
- Output Testing: Configure Modulino pixels to display status (e.g., green if active). In App Lab, create a rule: "If button pressed, light up pixel." Upload the configuration to the board.
- Linux Integration: Open the UNO Q Linux terminal. Verify events are captured via standard input tools. Test with a simple graphical application to validate tactile control.
Verification
Press the button or move the joystick. Pixels should light up according to configuration, and the Linux cursor or action should react. If nothing happens, check physical connections and restart App Lab.
Going Further
Explore the modularity of the Modulino ecosystem by swapping components. Use the downloadable 3D printable case for a professional finish. For advanced projects, combine these I/Os with Python scripts for edge AI.