Eduingo EDU11 Potentiometer

Potentiometer

EDU11

A rotary knob from 0 to 100 %. Turning it changes the output voltage, so you can make something quieter, dimmer or slower.

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
Potentiometer

Pins

A jumper on the module switches the pin to IO10, IO12 or IO13.

Pin Function
IO11 Potentiometer output (POT)

Wiring diagram

Potentiometer 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 %.