- Vendor: KittenBot
KittenBot Sugar Series Module for microbit Arduino projects - Potentiometer
Shipping policy
This is a potentiometer module in the Sugar sensor series, the pin holes on the back allow compatibility with plastic building bricks.
The potentiometer is an adjustable resistance. By changing the resistance value, the voltage can be controlled, and the adjustable angle range corresponds to the return value
This module can be used to adjust the light brightness and the servo angle, and the return value will be the analog value.
Parameter
Size |
24 × 24 × 30 mm |
Weight |
6.7 g |
Signal |
Analog input |
Range |
0~3.3V |
Adjustable Angle |
270° |
Wiring
Connect the potentiometer to the P1 of the Robotbit Edu with a 3-pin wire.
(Can only connect to P0, P1, and P2, because they are the only three pinouts that have the function of analog read)
You can see that the red light on the bottom of the module will be on when you turn on Robotbit, which indicates that the module is working normally.
Program with Kittenblock
 Choose to run online or offline to test it out.
Â
#Control the number of LED beads that will be on or off with the potentiometer
Â
Rotate the potentiometer, the number of the matrix beads that are on will increase along with the rotation of the potentiometer
Â
Here we use the Mapping block.
Â
Have a question?





KittenBot Sugar Series Module for microbit Arduino projects - Potentiometer