Wow, and I thought I was meticulous when explaining things. Well, it was not in vain, I read through everything.
In a nutshell, I didn't know you were intending to read multiple swipes quickly in order to simulate multiple button presses. Now the multiple timers and if statements make more sense. I think you went just a bit farther with the software operation in your first iteration than I would have expected. Not that this is bad, especially considering your background, but I would strongly suggest starting with a much simpler program like your 02 revision (sorry, I have not studied it in detail yet) for the beta testing. Once proven, we can then move to your original version with multiple swipe detection.
Note the PICAXE uses a bootloader and it is sloooww. I see how you're thinking and wholeheartedly agree with your logic in your coding for microcontrollers in general. The PICAXE typically runs at a slower pace, so much so that it cannot reliably generate its own clock signal for a simple clock display and keep accurate time if you need to do anything else like read buttons. This isn't to say toss away your considerations, just don't be surprised if the PICAXE cannot react as fast as you're planning for. We can of course increase the clock speed to 32MHz for a 14M2 or swap it with a X2 part capable of 64MHz if needed or use interrupts if that happens to give us an advantage, so there are options to explore.
I've taken another quick look at the AT42QT1070 breakout board you mentioned. According to the description, only one contact will be detected at any one time. I assume this means it is impossible to touch two or more contacts (touch sensors) and have more than one output triggered. If this is true, we might save some complexity by looking for the second touch sensor as soon as the first is detected since, in theory, only one output can be on at any one time. This saves us having to look to see if the first sensor was released. Not that it wouldn't be good practice to verify the first sensor was released before looking for the second, but this might save valuable processing time in detecting the sensors quickly. I wouldn't change anything right now, just something to keep in mind if we need to speed up detection.
Yes, the size and placement of the touch sensors will have a large impact on performance. For testing purposes, I might suggest you attached two bare wires a couple of inches long to a piece of wood or plastic at a distance of your choosing so they are laid out like guitar strings but flush against the material. Then attach the wires to the breakout board and strum away to "see" how fast the LEDs react. Alternately, you could add buzzers to the outputs to better "hear" how fast the sensors detect. Once that is working to satisfaction, I think we can move to a circuit and a simple program to test basic operation. Once proven, we can move to multiple swipe detection.
The actual size and placement of the final touch sensors will be another task, but the above should allow us a proof of concept design to be sure the circuit and software are able to do what you intend.
Yes, lots of people will view the thread without commenting. Some are simply curious about the subject title, others may be checking in periodically to see if they have another idea that may help as the posts develop. Having a lot of responders is good and bad. On one hand, you'll get a lot of different ideas on how to tackle your problem which can be insightful, on the other hand, you'll get a lot of different ideas on how to tackle your problem which could be overwhelming. This is not to say my suggestion of using a PICAXE will be ideal in the end - you may find it to be too slow, but you can always move to a PIC or something similar if that becomes the case.
In a nutshell, I didn't know you were intending to read multiple swipes quickly in order to simulate multiple button presses. Now the multiple timers and if statements make more sense. I think you went just a bit farther with the software operation in your first iteration than I would have expected. Not that this is bad, especially considering your background, but I would strongly suggest starting with a much simpler program like your 02 revision (sorry, I have not studied it in detail yet) for the beta testing. Once proven, we can then move to your original version with multiple swipe detection.
Note the PICAXE uses a bootloader and it is sloooww. I see how you're thinking and wholeheartedly agree with your logic in your coding for microcontrollers in general. The PICAXE typically runs at a slower pace, so much so that it cannot reliably generate its own clock signal for a simple clock display and keep accurate time if you need to do anything else like read buttons. This isn't to say toss away your considerations, just don't be surprised if the PICAXE cannot react as fast as you're planning for. We can of course increase the clock speed to 32MHz for a 14M2 or swap it with a X2 part capable of 64MHz if needed or use interrupts if that happens to give us an advantage, so there are options to explore.
I've taken another quick look at the AT42QT1070 breakout board you mentioned. According to the description, only one contact will be detected at any one time. I assume this means it is impossible to touch two or more contacts (touch sensors) and have more than one output triggered. If this is true, we might save some complexity by looking for the second touch sensor as soon as the first is detected since, in theory, only one output can be on at any one time. This saves us having to look to see if the first sensor was released. Not that it wouldn't be good practice to verify the first sensor was released before looking for the second, but this might save valuable processing time in detecting the sensors quickly. I wouldn't change anything right now, just something to keep in mind if we need to speed up detection.
Yes, the size and placement of the touch sensors will have a large impact on performance. For testing purposes, I might suggest you attached two bare wires a couple of inches long to a piece of wood or plastic at a distance of your choosing so they are laid out like guitar strings but flush against the material. Then attach the wires to the breakout board and strum away to "see" how fast the LEDs react. Alternately, you could add buzzers to the outputs to better "hear" how fast the sensors detect. Once that is working to satisfaction, I think we can move to a circuit and a simple program to test basic operation. Once proven, we can move to multiple swipe detection.
The actual size and placement of the final touch sensors will be another task, but the above should allow us a proof of concept design to be sure the circuit and software are able to do what you intend.
Yes, lots of people will view the thread without commenting. Some are simply curious about the subject title, others may be checking in periodically to see if they have another idea that may help as the posts develop. Having a lot of responders is good and bad. On one hand, you'll get a lot of different ideas on how to tackle your problem which can be insightful, on the other hand, you'll get a lot of different ideas on how to tackle your problem which could be overwhelming. This is not to say my suggestion of using a PICAXE will be ideal in the end - you may find it to be too slow, but you can always move to a PIC or something similar if that becomes the case.