# Case02: Potentiometer ## Purpose --- - In this project, you will learn how to read the output voltage of the potentiometer and display it on microbit screen in the form of bar garph. ## Materials --- * 1 x micro:bit * 1 x [Basic : bit](https://www.elecfreaks.com/store) * 1 x Potentiometer ## Software Platform --- [MicroSoft makecode](https://makecode.microbit.org/#) ## Hardware connect ![](./images/case_02_01.png) ## Programming --- ### Program annotation ![](./images/case_02_02.png) ### Programming Links: [https://makecode.microbit.org/_Y3Kikm471R0V](https://makecode.microbit.org/_Y3Kikm471R0V) You can also download it directly below:
## Result --- * A bar graph of output voltage value is displayed on micro:bit ## Exploration --- * How to adjust the brightness of micro:bit screen with potentiometer? ## FAQ --- ## Relevant Files ---