![]() The values for other voltages are often derived by scaling. This maximum value corresponds to the value of the reference voltage. Thus, if the resolution is 8 bits, then the value will be represented by 8 bits, and the maximum value possible is 255. The resolution indicates the number of bits that will be used to represent the digital value. The analog voltage provided to the ADC pin should be less than or equal to the reference voltage. ![]() The reference voltage is generally the supply voltage. A brief about the Analog to Digital Conversion (ADC) processĮvery microcontroller which supports ADC will have a defined resolution and a reference voltage. There are only a few nuances you should be aware of, that will be covered in this chapter. If you are familiar with how analogRead works on any Arduino board, like Arduino Uno, then this chapter will be a cakewalk for you because ESP32 uses the same functions. There are many types of analog sensors, LDRs (Light Dependent Resistors), current and voltage sensors being popular examples. Another important category of sensors that you need to interface with ESP32 is analog sensors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |