Good morning,
I am doing a mini project, and I need the following:
Connect 6 capacitive sensors TTP223 to the same input.
I have to get one of these two solutions:
get a single TTP223 to have a larger pulsed area (I have no idea how to do it).
Connect them all to the same D7 input (I have no more free inputs), but when I connect them they don't respond. I understand that it must be because when you have one it sends the 3v voltage and it must cause a problem with the other sensors. I have tried to put a M7 diode, but no matter how I put it... it doesn't work.
You have a typical problem, not enough pins. Look at the PCF8574, it uses I2C and will give you 8 additional I/O. Since you only have one pin, you can remove one and add it to the port expander along with your six TTP223s. If the I2C pins are used as I2C you have it made, if not you can move those two items to the port expander. Some code changes and you are off and running.
If you want to connect the totem-pole output sensor with a Wired-OR, use one schottky diode for each sensor.
The connection the anode to Arduino D7 and the output of the TTP223 to the cathode.
Must be sure to use TTP223 in active-low mode.
And Arduino D7 requires pull-up.
Thank you very much, I will try that diode, I tried a M7 rectifier diode but it did not cut the current. I think I chose the wrong diode (I don't know much about electronics).
I have also investigated to enlarge the pulsing area by using an aluminum tape area.
When you do the tests I will leave everything here.
The forward voltage drop is high, but I think it still works.
Connect as I said and did you switch TTP223 to active low?
You're using a touch sensor module, right?
Many modules require a solder jumper for this.
The default is active high mode.
Okay, it looks like I'm going to get lucky and it won't take much craziness.
Basically to be able to use more than one sensor in parallel to the same port and increase the pulsed area, you have to bridge junction A. And use instead of high to low.