Today’s motive of learning is a potentiometer and how this variable-voltage device can be helpful in multiple places for various reasons. Why is a potentiometer called a variable-voltage device? Because this device works on the principle of the voltage divider rule, where the resistive path of the potentiometer is attached to the voltage across its both ends, and a wiper(kinda a handle that runs on the resistive path) position tells about the division of voltage for path right to the wiper and left of the wiper.
After learning the basics of the potentiometer, it is time to see how we can measure this variable voltage in MCU and which peripherals tell about these changes with precision. That peripheral is ADC(Analog-to-Digital Converter, I know you must have heard about this peripheral. But here we have an audience that can have great understanding and also some beginners who are just learning these embedded things.
Those who want to know about the back-end working of ADC can freely read others after completion of this blog because leaving your main path can be hazardous, not only for you but for your time. Don’t worry I will remind you about this part later in this part.
It’s time to jump to our next section, which is “WHAT WILL I LEARN FROM THIS?”.
What will I learn from this?
Firstly, you’ll come across an automotive MCU and its ADC works, and also how these MCUs have some additional features apart from basic MCUs like Arduino. ESP and STM.
Secondly, how does resolution affect the shown reading, and how to calculate real voltage value from ADC converted data.
Thirdly, some important concepts of the screen and how you can modify values to change the interface of the screen.
At last, some suggested other options that you can interface with yourself and share a blog which will be posted on our website,
How can I perform this?
Things to be arranged
Hardware: 1. ElecronicsV3 2. External Potentiometer(otherwise you can perform with on-board POT) 3. ST7789 LCD Screen 4. Wires