M5StickC Plus 2 ADC voltage measurements
-
Hi there, I would like to use the M5StickC Plus 2 to measure several capacitive sensors in a loop by reading their voltage depending on their charge/discharge curve.
There are 12 sensors in total so each one needs their own analog pin on the ESP32. The fact that the ESP32-PICO-V3-02 offers 2 ADCs would make it possible to parallelize measurements. Hence 6 of the sensors could be measured on ADC1 and 6 others on ADC2. Would this somehow be possible with the M5StickC Plus 2 ? There are 2 problems that I see with this:-
not enough pins left because of peripherals inside the M5StickC package occupying them
-
no way to access the left-over pins other than the GROVE port which can only give me e.g. 6 additional analog Inputs using the PbHUB
Any help?
-
-
Hello @schlasnik
you can connect multiple PbHubs in parallel. For that you'll need to make sure they all have different I2C addresses. The original PbHub has three solder bridges (A0, A1, A2) for that. See here. PbHub v1.1 allows to change its I2C address via command (0xFF). See here.
Thanks
Felix