I think the misunderstanding is about where the virtual ground comes from. It is possible to sum voltages with a single supply but not in the configuration in the schematic.
The idea is that the summing point is at virtual zero volts, obviously not connected to ground but held at ground potential by the output of the op-amp. The feedback current has to cancel the current through the input resistors so at the junction they are equal and opposites, hence the zero result. If you connect positive voltages at the inputs, in order to cancel them the op-amp output has to swing negative and for that to happen it needs a negative supply.
Brian.
Well I can't find a schematic for a voltage adder based on a single supply. The only circuit I have found is that voltage averager.
Any way I found that if I pass the negative voltage output of my regular voltage adder through and inverting opamp then I get the postive voltage I am after to pass into my arduino.
It will work out rather neatly. I have will need 6 x dual opamps, one side of which will be a regular voltage adder and the other side will be a unity gain inverting opamp and the output of this I can then pass into my arduino analog pins.
I have found I can reduce the output voltage of the voltage adder by making its Rf smaller than the input resistors and that way I can make sure the voltage that my arduino analog pins sees is always less than the 5V maximum. I will add some additional external protection on them to make sure.
So each key on my piano keyboard will have to have a comparator (12 x quad comparators) to drive its capacitive sensor and the output of each of these comparators will go into the inputs of the 6 x voltage adders in assorted combinations according to a table of 6 bit binary values.
The voltage adders will mean I can 'stack' the 1's for multiple simultaneous key presses and have a polyphonic organ and up to about 8 note chords (I suspect it would be rather difficult to do an 8 note chord on a piano keyboard).
I made a power supply circuit board with a couple of linear voltage regulators (9V for the adders and inverters and 5V for the comparators) and UC3843B charge pump to provide -9V or close enough. I salvaged a number of these PWM chips from ATX power supplies and thought I may as well start learning how to use them rather than the just using the familiar 555.
Had a bit of a hiccup with this latter because I soldered it up and it wouldn't oscillate. I eventually discovered it wouldn't oscillate on the 5V that I had powered it with but it would oscillate quite happily on 8-15V. Is there a minimum supply voltage on these PWM chips?