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);
}