Most effective way for capacitive sensing

Hello,

on some forums i read that capsense library is not the most effective and practical way of touch sensing for arduino. Can some1 tell me a more exact methods? becouse my button are under 1cm of glass, i shielded the layer, but the values are still passivly jumping from 0 to 60 whiout me even touching the area near the butons.

1 cm of glass is a very long distance between capacitor plates. Look at the equations governing capacitance vs. plate area. You are in for a shock!

Also what do you mean, you shielded the layer? If you shielded the plate, it is mainly a capacitor between the plate and shield. So you better show us pictures. Also a circuit diagram.

The glass is actually 6mm thick. Well our previous developer(whit which we partet on bad terms) developed capacity senzors pcb on same way as we do(their active area was even smaller then ours), under same glass and it worked fine. Sadly bcs of some legal mathers we cant get the software that they developed for us, so we cant figure how is that capacity sensing programmed.

I wanted to say that i covered the connections on PCB that lead from buttons to conections points, whit grounded and isolated copper layer, so that only button active area is exposed directly under the glass.

My problem atm is that the values that i get from arduin ocapsense library are jumping waaay to much from 5 to 60( when i press button area on glass it gives out aroun 70value).

I also writed my own code for cap sense, but it is not sensitive enought to sens through the glass.

I cant show pictures bcs of the nature of the project. Circuit diagram is same as the one showned in arduino cap sense library, whit a capacitor pararell to the body.

A capacitive sensor requires a closed electric loop to work. When one plate exists under the glass, and the other plate is a finger on top of the glass, how do you think would the current flow back to the controller?

With only one connection, the plate forms an antenna that catches whatever electric noise exists in the ambient. The tutorial is somewhat misleading :frowning:

do you have any of the electronics from the previous part of the project ?

do you have any of the software ?

capacitive sensing and be done in many ways, each has it's benefits.
I am not an expert, nor even a good hobbyiest on this, but I did a lot of reading when looking for circuits for water level sensing.

capacitive sensing is not the same as capacitive touch sensing.

it would seem that a little more surfing might offer more clues.

all i have from previous project is 3 pieces of pcb electronics :S

The picture of touch pcb is attached. Only difference is that here the microcontrolelr is on the actual pcb of touch, eliminating long connections from touch pcb to main pcb. i wil ltry this also, since i assume i have porblems whit my long wires from touch to main microproceesors which are responsible fro the interferences.