m5stack / M5Stack-Camera

Base espressif esp32-camera
203 stars 105 forks source link

Cannot use analogRead of GROVE interface with WiFi #14

Open tk3fftk opened 5 years ago

tk3fftk commented 5 years ago

ADC2 channel cannot be used when WiFi is in use. M5Camera uses the pins which cause analogRead() to fail as GROVE interface. So we cannot use some sensors which need analogRead()to use. I think it's kind of a product bug.

Is there any workaround? I'm using M5Camera model B with Grove Sound Sensor.

Related

EeeeBin commented 5 years ago

It is recommended to add an adc module, use i2c