KittenBot Sugar Series Module for microbit Arduino projects - Potentiometer
KittenBot Sugar Series Module for microbit Arduino projects - Potentiometer
KittenBot Sugar Series Module for microbit Arduino projects - Potentiometer
KittenBot Sugar Series Module for microbit Arduino projects - Potentiometer
KittenBot Sugar Series Module for microbit Arduino projects - Potentiometer

KittenBot Sugar Series Module for microbit Arduino projects - Potentiometer

Regular price
$6.90
Sale price
$5.90

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.