Hi, my name is Dan!
Disclaimer first: I'm a normally a theoretical chemist and a terrible amateur when it comes to electrical engineering, everything I know is self taught and without any professional background (which is in turn the reason I'm seeking help from more knowledgeable people). Also, I'm German, so please excuse occasional grammar flaws.Long story:I'm trying to build a MIDI controller that has a neck like a guitar. On that neck, there is a huge matrix of sensors. The controller will emulate 3 strings. The way this works is: there are 3 long strips of double sided copper tape (0.5 cm in width, as long as the neck) which are connected to power (3.3V or 5V probably, doesn't matter for now). On these strips is a layer of Velostat, which changes resistivity based on pressure. On top of the velostat will be another layer of copper tape, connected to something, that spits out a reading of the voltage through the velostat layer. If you imagine the bottom 3 strips of copper tape as columns of a chart along the neck, the sensors will either be the cells or rows, depending on the method of measurement (I thought one might be able to multiplex the columns as well, then there could be rows.) There are a few special conditions which might make this easier though: As this is a guitar-like controller not every interaction needs to be measured! Only the touch closest to the body of the controller matters. Some general requirements:The measurement needs to be real-time-y enough to detect hammer-ons etc. and the digital output of the controller should either be MIDI (on 3 separate channels - one per string) or a digital signal that can be processed with a Raspberry Pi.Now as my knowledge is really limited, I could not think of the right tools for the job. What I do know though is: It is possible. There is a similar but different controller that uses a very similar technique (which I practically reverse engineered until I noticed, that they have a patent and the information on how they do it is not as arcane as i thought), it is called the ROLI Seaboard. TL;DR:- roughly 240 sensors- can be seperated into groups of 80 that are powered by the same line- this is a real time application, I need to acquire pressure from every sensor as it is touched (some conditions apply, see above)Thanks in advance, I know it's a lot to read. I am thankful for any suggestion and would be very glad if you could help me accomplish the terrible mess I set out to produce! Things I have thought of so far: Multiplexing rows and columns, reading each cell with an MCP3008 or larger ADC and chaining up ATmegas which only push the lowest interaction to the final signal, but from my calculations, that would be bottlenecked by the communication overhead. Also an earlier model included ribbon potentiometers, which I have discarded, because the design was bad (several attempts, wasn't cool enough).
Disclaimer first: I'm a normally a theoretical chemist and a terrible amateur when it comes to electrical engineering, everything I know is self taught and without any professional background (which is in turn the reason I'm seeking help from more knowledgeable people). Also, I'm German, so please excuse occasional grammar flaws.Long story:I'm trying to build a MIDI controller that has a neck like a guitar. On that neck, there is a huge matrix of sensors. The controller will emulate 3 strings. The way this works is: there are 3 long strips of double sided copper tape (0.5 cm in width, as long as the neck) which are connected to power (3.3V or 5V probably, doesn't matter for now). On these strips is a layer of Velostat, which changes resistivity based on pressure. On top of the velostat will be another layer of copper tape, connected to something, that spits out a reading of the voltage through the velostat layer. If you imagine the bottom 3 strips of copper tape as columns of a chart along the neck, the sensors will either be the cells or rows, depending on the method of measurement (I thought one might be able to multiplex the columns as well, then there could be rows.) There are a few special conditions which might make this easier though: As this is a guitar-like controller not every interaction needs to be measured! Only the touch closest to the body of the controller matters. Some general requirements:The measurement needs to be real-time-y enough to detect hammer-ons etc. and the digital output of the controller should either be MIDI (on 3 separate channels - one per string) or a digital signal that can be processed with a Raspberry Pi.Now as my knowledge is really limited, I could not think of the right tools for the job. What I do know though is: It is possible. There is a similar but different controller that uses a very similar technique (which I practically reverse engineered until I noticed, that they have a patent and the information on how they do it is not as arcane as i thought), it is called the ROLI Seaboard. TL;DR:- roughly 240 sensors- can be seperated into groups of 80 that are powered by the same line- this is a real time application, I need to acquire pressure from every sensor as it is touched (some conditions apply, see above)Thanks in advance, I know it's a lot to read. I am thankful for any suggestion and would be very glad if you could help me accomplish the terrible mess I set out to produce! Things I have thought of so far: Multiplexing rows and columns, reading each cell with an MCP3008 or larger ADC and chaining up ATmegas which only push the lowest interaction to the final signal, but from my calculations, that would be bottlenecked by the communication overhead. Also an earlier model included ribbon potentiometers, which I have discarded, because the design was bad (several attempts, wasn't cool enough).