This video is a tutorial covering a voltage divider circuit, sometimes known as a potential divider. It explains the theory as well as showing a practical example using an Arduino.
Using an Arduino means programming in C++, the Arduino can run MicroPython instead or you could use a Raspberry Pi Pico with C++ or Micropython.
It starts with the circuit theory about voltage dividers using resistors. What a voltage divider is and how you can perform simple calculations to choose appropriate resistors.
Then an example of how you can use the voltage divider to provide a signal suitable for 3.3V devices such as a Raspberry Pi and a Raspberry Pi Pico.
Finally showing how a potentiometer can be used to provide an analog input from a user, which will be used in the Arduino bar graph circuit.
For more details including source code please see: https://www.penguintutor.com/electron...
Chapters:
00:00 Introduction
00:56 Voltage divider resistors theory
01:55 5V to 3.3V step down voltage
06:24 Potentiometer
07:04 Arduino bar graph circuit
09:10 Summary and demo