Potentiometer
Description
Text
Image(s)
How to connect it electrically
Text
Image(s)
How to control it in MicroPython
from machine import Pin, ADC
from time import sleep
pot = ADC(Pin(34))
pot.atten(ADC.ATTN_11DB)
while True:
pot_value = pot.read()
print(pot_value)
sleep(0.5)
Here the voltage of Pin 34 is manipulable with the poti:
A small Program in MicroPython
# todo
# code goes here
text
image(s)
Related Tutorial Videos
Background
text
image(s)