3. Octopus Analog Rotation Brick OBARot

3.1. Introduction


Octopus Analog Rotation Brick is micro:bit compatible and can be rotated up to 300-degree. It is based on the potentiometer.

../../_images/hkPYQxY.jpg

3.2. Characteristics


  • The 3-pins ports is easy to plug and play.

3.3. Specifications


Item | Parameter :-: | :-: SKU|04041 Power Supply|3.3V~5.5V Connector Type|Analog Pins Definition|S-Sigal V-VCC G-GND Response|Quick response with high sensitivity Rotate Angel|300 degrees Size|19x27mm

3.4. Outlook and Dimensions


../../_images/qj7G72X.jpg

3.5. Quick to Start


Materials used and connection diagram

  • Connect to the P1 port as the picture shows

    Take sensor:bit for example

../../_images/3Ltye1u.png

Add Package

Program as the picture shows

Use the brick in the led below, then a sector diagram comes out.

../../_images/Afb6xov.png

Reference

Links:https://makecode.microbit.org/_2hr1UMdcp0uj

You can also download the links below:

---

Result

  • Rotate the button on the sensor clock-wisely, then the led on the micro:bit lights on gradually; Oppositely, the led lights off one by one.

3.6. Relevant Cases


3.7. Technique Files