What to give your next project that
distintive 'high tech' look? Want to do it for under $5?
The actual data from the touch sensors is quite erratic and requires some software processing. Basically you create a pulse for each of the ports and read the data with the instruction following the pulse signlal rise. Then read the ports the same way looking for a gap of 0.1 seconds with no data detected. This does the 'debounce'. This results in fairly clean data capture from the sensors.
Mostly, this is just an example of how to make your own control panels. The system can be extended to more inputs depending on how many your micro has. This design provides a telephone style layout and is programmed to send out values in 9600 baud ascii.