Hello, I am creating my own PCB of capacitive pads and have a few questions regarding if the code associated with the Trill Square may work with a grid layout of capacitive pads and a Trill Craft.
I've read in your documentation it is best to wire the Craft pins consecutively to the capacitive pads. Does this still apply when trying to re-create an X, Y grid for knowing location of touch? I have attached an image of proposed layout and pin hook up.
I realise the pads may be too large and too spaced out creating a loss of resolution. However, this is just in an early prototyping stage at the moment so once I have the logic working I can experiment with different pattern layouts to improve this.
I am working with your Arduino and Processing libraries and have been adapting my own code from your Craft examples. I am using the CENTROID mode but had a few further questions.
- In Arduino if set to CENTROID mode can the functions such as touchSize() and touchLocation() be included to the craft print example sending raw data. Will these functions work if the board is set to craft. I notice it is not listed as an option in the Processing lib Trill sensor instancing.
- Would the trill square print examples work if the overall sensor size was edited. Or would this not work as well as currently the pad design is too different?
- What is the pin order hookup for the trill Square ? (vertical 0-14, horizontal 15-30?)
- Am I best just trying to write my own code to calculate location with this different design? I notice you mention using a weighted average algorithm to do so - do you have further documentation of this?
Thanks in advance for entertaining the mass of questions!