![]() The term 12-bit implies the resolution of the ADC. Here the term 10 channel implies that there are 10 ADC pins using which we can measure analog voltage. If you are new to STM32, then checkout our Getting started with STM32 tutorial. The ADC internal design is based on the switched-capacitor technique. Each ADC clock produces one bit from result to output. The number of conversion steps is equal to the number of bits in the ADC converter. The ADC embedded in STM32 microcontrollers uses the SAR (successive approximation register) principle, by which the conversion is performed in several steps. It will map input voltages between 0 and 3.3 volts into integer values between. ![]() Now in the case of STM32F103C8 we have 10 channels, 12-Bit ADC with an input range 0V -3.3V. This means that it will map input voltages between 0 and 5 volts into integer values between. In Arduino board, it contains a 6 channel (8 channels on the Mini and Nano, 16 on the Mega), 10-bit ADC with an input voltage range of 0V–5V. ![]() We will interface a small potentiometer to STM32 Blue Pill board and supply a varying voltage to an Analog pin, read the voltage and display it on the 16x2 LCD screen. So in this tutorial we will learn how to use ADC in STM32F103C8 to read Analog voltages using the Energia IDE. These Analog to digital Converters can read voltage from analog sensors like Temperature sensor, Tilt sensor, Current sensor, Flex sensor and much more. One common feature that is used in almost every embedded application is the ADC module (Analog to Digital Converter). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |