Specifications
- 3 slide potentiometers SL1–SL3
- Analog output, value 0–4095 (0–100 %)
- The module goes on top of the tower
- Power 3.3 V
- Current ≈ 1 mA, the potentiometers work as voltage dividers (estimate)
- Does not use the I2C bus
- Uses: volume, light intensity, mixing colours
Pins
| Pin | Function |
|---|---|
| IO11 | Slider SL1 |
| IO12 | Slider SL2 |
| IO13 | Slider SL3 |
Wiring diagram
Example code
Try the example Robotic arm right in your browser in Eduingo AI Lab. Three sliders control the three servos of a robotic arm: SL1 turns the whole arm, SL2 lifts the arm and SL3 closes the claw. Each slider is converted to a servo angle. Try limiting the claw so it never closes more than 60°.