Search found 8 matches

by Aurora
Fri Jan 12, 2024 3:07 pm
Forum: ESP32 Arduino
Topic: ESP32: can BluetoothSerial be used with ADC2 module?
Replies: 6
Views: 62777

Re: ESP32: can BluetoothSerial be used with ADC2 module?

lbernstone wrote:
Fri Jan 12, 2024 2:56 pm
yes
no
tl;dr Don't do this. Use ADC1 for analog reads.
Thank you very much for your help.
by Aurora
Fri Jan 12, 2024 2:19 pm
Forum: ESP32 Arduino
Topic: ESP32: can BluetoothSerial be used with ADC2 module?
Replies: 6
Views: 62777

Re: ESP32: can BluetoothSerial be used with ADC2 module?

lbernstone wrote:
Fri Jan 12, 2024 2:12 pm
Short answer is no. The radio uses the ADC2 exclusively.
Thank you for your information. By using the word "radio," are you referring to both Bluetooth and WiFi?

And do you have any idea if adc_oneshot_read() will work for ADC2 when Bluetooth is on?
by Aurora
Fri Jan 12, 2024 2:16 pm
Forum: ESP32 Arduino
Topic: ESP32: can BluetoothSerial be used with ADC2 module?
Replies: 6
Views: 62777

Re: ESP32: can BluetoothSerial be used with ADC2 module?

liaifat85 wrote:
Fri Jan 12, 2024 8:20 am
I think you'll find your answer here: https://esp32.com/viewtopic.php?t=20057
Thank you very much for pointing me to the post.
by Aurora
Thu Jan 11, 2024 10:22 pm
Forum: ESP32 Arduino
Topic: ESP32: can BluetoothSerial be used with ADC2 module?
Replies: 6
Views: 62777

ESP32: can BluetoothSerial be used with ADC2 module?

I am programming ESP32-WROOM-32D with Arduino IDE. In this website ( https://docs.espressif.com/projects/esp-idf/en/v4.2/esp32/api-reference/peripherals/adc.html#:~:text=The%20ESP32%20integrates%20two%2012,15%20and%2025%20%2D%2027). ), it says that the ADC2 module can only be used when WiFi driver i...
by Aurora
Wed Jan 03, 2024 12:49 am
Forum: ESP32 Arduino
Topic: Reading Multiple ADCs and Setting Multiple PWMs in Parallel
Replies: 0
Views: 8174

Reading Multiple ADCs and Setting Multiple PWMs in Parallel

Hello everyone, I am programming an ESP32 with Arduino IDE. Due to my specific application, my program reads analog signals from 8 ADC pins sequentially, just like the following code shows: adc[0] = analogReadMilliVolts(15); adc[1] = analogReadMilliVolts(25); adc[2] = analogReadMilliVolts(32); adc[3...
by Aurora
Tue Oct 24, 2023 12:29 am
Forum: ESP32 Arduino
Topic: Program Storage Space Shown in Arduino IDE
Replies: 3
Views: 3546

Re: Program Storage Space Shown in Arduino IDE

Thank you for your reply. Could you let me know how to modify the partition scheme?
by Aurora
Fri Aug 11, 2023 1:46 am
Forum: ESP32 Arduino
Topic: Program Storage Space Shown in Arduino IDE
Replies: 3
Views: 3546

Program Storage Space Shown in Arduino IDE

Hi, I read from documents that ESP32 should have at least around 4 MB of flash memory. However, after I compile codes in Arduino IDE, it says that my "program storage space" is only around 1.3 MB. I wonder if this is a normal situation. I would also like to ask if it is possible to use more flash me...
by Aurora
Fri Aug 11, 2023 1:38 am
Forum: Hardware
Topic: PWM of ESP32
Replies: 1
Views: 1858

PWM of ESP32

Hello Espressif Community, I have two questions related to the PWM hardware of ESP32: 1. By the documentation of the LEDC library, there are 4 timers and 16 PWM channels in ESP32. I would like to ask if all of the 4 timers are ticking at 80 MHz (assume all prescaler is 1). 2. I know that the frequen...