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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login