[SOLVED] ESP32 ADC with Wifi-Bluetooth ON
Posted: Wed Mar 24, 2021 9:56 pm
Hello all,
I’m currently working on a project based on an ESP32 Devkitc-v4
The ESP32:
• Acts as a BLE server
• Measures the voltage of my Left/Right turn signal and my brake light (of my motorcycle)
• Controls neopixel LED bands
• Retrieves measurements from a BME280
My concern is about the second point, I’m using a basic voltage divider to step down the ⁓9-14V from the motorcycle and measure the voltage using the ADC.
1)Firstly, is it a good method to do this? Do I have to add some capacitor/diode? Or choose another method?
2)And secondly, I recently discovered that the ADC seems to have to be used with “Wi-Fi&BT off” and I use it so is it a real issue? What are the consequences if I use Bluetooth?
(See https://www.espressif.com/sites/default ... eet_en.pdf (p.32 Section 4.1.2 Table 7) )
Should I use an external ADC or other methods to fix this?
Thanks!
I’m currently working on a project based on an ESP32 Devkitc-v4
The ESP32:
• Acts as a BLE server
• Measures the voltage of my Left/Right turn signal and my brake light (of my motorcycle)
• Controls neopixel LED bands
• Retrieves measurements from a BME280
My concern is about the second point, I’m using a basic voltage divider to step down the ⁓9-14V from the motorcycle and measure the voltage using the ADC.
1)Firstly, is it a good method to do this? Do I have to add some capacitor/diode? Or choose another method?
2)And secondly, I recently discovered that the ADC seems to have to be used with “Wi-Fi&BT off” and I use it so is it a real issue? What are the consequences if I use Bluetooth?
(See https://www.espressif.com/sites/default ... eet_en.pdf (p.32 Section 4.1.2 Table 7) )
Should I use an external ADC or other methods to fix this?
Thanks!