ESP32 - non-working ADC
Posted: Sun Dec 23, 2018 7:28 am
Dear ESP32 developers,
at first time I was happy to work with ESP32 (mostly I use ESP-WROOM-32) because of WIFI and BLUETOOTH. It works quite good if coded well. But than I start to work with ADC. I never experience so terrible ADC in my life before. I can live with bad linearity (I can use math to made it linear) and below average precision. But what I do not understand is broken utilization at all - every used periphecals like WIFI, HW Serial pins, Bluetooth affects ADC so badly that I can not use it even as 1/0 logic. For example, using WIFI will result in absolutely nonsense high vales every 5-10 seconds. Using RxTx Serial pins offset all ADC values a few percents. Disconected periphecals results in totally different values readed from independed input (even when stable linear signal connected to ADC, sometimes I see zeroes which is unacceptable) ... CRAZY!
It is a pity for ESP because it could be a great module.
Thanks.
at first time I was happy to work with ESP32 (mostly I use ESP-WROOM-32) because of WIFI and BLUETOOTH. It works quite good if coded well. But than I start to work with ADC. I never experience so terrible ADC in my life before. I can live with bad linearity (I can use math to made it linear) and below average precision. But what I do not understand is broken utilization at all - every used periphecals like WIFI, HW Serial pins, Bluetooth affects ADC so badly that I can not use it even as 1/0 logic. For example, using WIFI will result in absolutely nonsense high vales every 5-10 seconds. Using RxTx Serial pins offset all ADC values a few percents. Disconected periphecals results in totally different values readed from independed input (even when stable linear signal connected to ADC, sometimes I see zeroes which is unacceptable) ... CRAZY!
It is a pity for ESP because it could be a great module.
Thanks.