🛠 Configuring Modulino I/O on Arduino UNO Q

Arduino UNO Q SBC Controller Bundle · intermediaire · Apprenez à mapper les entrées physiques Modulino vers les interfaces Linux de l'UNO Q via App Lab.

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

Steps

  1. 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.
  1. 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.
  1. 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.
  1. 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.
  1. 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.

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials