ESP32-PICO-V3-02 Firmware and Arduino IDE no support?

HeikoK
Posts: 2
Joined: Fri Feb 14, 2025 11:53 am

ESP32-PICO-V3-02 Firmware and Arduino IDE no support?

Postby HeikoK » Fri Feb 14, 2025 12:34 pm

Hello,
I am new to the forum, but not new to ESP32. Up to now I could answer all my questions anyhow, but at the moment I am struggeling. I buid a PCB with a ESP32-PICO-V3-02. I did not realy look on the firmware and IDE support, but needed a small module (ESP32-PICO-D4 should not be used for new projects). However, when searching for a firmware I could not find anything, I took the ESP32-PICO-D4 because it seems to be the closest I could get. Next problem was, there seems no to be a board support package for the ESP32-PICO-V3-02. So again I used the ESP32-PICO-D4 in the Arduino IDE. Download and 90% of the functionality seems to works (Digital IO, WLAN etc.). However, Analog Readings always returns 0. So I started stripping down my Arduino code and found out, that Analog Input basically also works, but only If I do not use Wifi. I know this sound completely strange.
So my questions:
  • Is there a proper firmware for the ESP32-PICO-V3-02 (even in the firmware compatibility matrix the device is not mentioned)
  • Which Arduino Board Package should I use
  • Any idea why the analog stops working if a use Wifi. The following code returns Ananlog: 0. After I out commented the Wifi.begin the correct analog value is returned

Code: Select all

#include <WiFi.h>
void setup() {
  Serial.begin(9600);
  WiFi.begin("3D-Touch-WIFI", "123456789");
}

void loop() {
  Serial.printf("loop(): Analog: ");
  Serial.println(analogRead(26));
  delay(100);
}

AcmeUK
Posts: 25
Joined: Wed Dec 06, 2023 5:14 pm

Re: ESP32-PICO-V3-02 Firmware and Arduino IDE no support?

Postby AcmeUK » Sat Feb 15, 2025 10:06 pm

Any idea why the analog stops working if a use Wifi

You are using GPIO 26, that is your problem, it uses ADC2.

ADC2 is attached to GPIOs 0, 2, 4, 12 - 15 and 25 - 27.

Applications can only use ADC2 when the Wi-Fi driver has not started.

So, either turn off wifi before doing the analog read, OR use a ADC1 pin.

ADC1 is attached to GPIOs 32 - 39.

HeikoK
Posts: 2
Joined: Fri Feb 14, 2025 11:53 am

Re: ESP32-PICO-V3-02 Firmware and Arduino IDE no support?

Postby HeikoK » Sun Feb 16, 2025 3:16 pm

OMG, ist that a bug or a feature, I would never expect anything like that. However, many thanks for your reply. Now all features are running well, I am happy.

Who is online

Users browsing this forum: No registered users and 90 guests