Specifications
- Analog output, value 0–4095 (0–100 %)
- The module goes on top of the tower
- Power 3.3 V
- Current below 1 mA
- Does not use the I2C bus
- Uses: lighting, audio equipment, game controllers
Pins
A jumper on the module switches the pin to IO10, IO12 or IO13.
| Pin | Function |
|---|---|
| IO11 | Potentiometer output (POT) |
Wiring diagram
Example code
Try the example LED strip dimmer right in your browser in Eduingo AI Lab. Turning the potentiometer sets how bright the LED strip is. The Mosfet is a power switch: it switches the strip on and off very quickly, and depending on the on/off ratio the strip shines weaker or stronger. All the way down, the strip turns off. Try making it never shine brighter than 80 %.