CPX Cap touch max raw value?

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
wobblybee
 
Posts: 2
Joined: Tue Sep 06, 2022 2:09 pm

CPX Cap touch max raw value?

Post by wobblybee »

Hi, I have a small question about capacitive touch on the CPX. I tried hunting around for this info but couldn't find anything.

I'm fiddling with a soil sensor project using CircuitPython. I've noticed that I never seem to get readings of the raw value from any of the CPX cap touch sensors above the specific value 4064. Is it possible to change this or is this as high as the sensors can register?

I defined the threshold as 10000 at one point and nothing changed.

Thanks in advance

Chris

User avatar
mikeysklar
 
Posts: 14169
Joined: Mon Aug 01, 2016 8:10 pm

Re: CPX Cap touch max raw value?

Post by mikeysklar »

Chris,

The product page mentions the range for the soil sensor being:
reading ranging from about 200 (very dry) to 2000 (very wet).
https://www.adafruit.com/product/4026

This is with CircuitPython. The range is 0-1023 with Arduino code.

Are you also using the built-in CPX captouch sensors or is it just the soil sensor you are asking about?

User avatar
wobblybee
 
Posts: 2
Joined: Tue Sep 06, 2022 2:09 pm

Re: CPX Cap touch max raw value?

Post by wobblybee »

I'm not using that product, I'm using a CPX, a crocodile clip and a nail a la this project: https://learn.adafruit.com/soil-moistur ... nd-express

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”