Hi,
Well I’m still gathering information on available Hall Sensors (http://www.midibox.org/forum/index.php/topic,13136.0.html) but in the mean time I’m thinking of taking on another, hopefully simpler, project.
This new project is meant to be a drop-in replacement for the Doepfer R2M ribbon controller module (so not the ribbon itself but the analog to midi box) which I want to add functions to such as pitch-rounding. I have implemented this as a Windows app but I want to be able to take it with me on stage without needing a notebook (although a really small and cheap netbook or tablet PC with USB may be an option).
Anyway, for this to work properly I need at least a 12 bit ADC but a 14 or 16 bit ADC would be preferred. I actually need a second one to read the pressure as well but that doesn’t have to be so accurate.
The PIC18F4520 only has 10bit ADC so if I want to use that I’d need an external ADC. Are there any existings designs for that and/or any pre-made PCB’s that I could order?
Alternatively I could use the STM32 which has built-in 12 bit ADC but as stated I’d prefer at least 14bit or better. How noisy are those ADC’s ie how accurate is the lowest bit?
I’m thinking that it might be a good idea to go with the STM32 but I’d like to limit myself to pre-made PCB’s and modules as much as I can and I don’t believe those are available for the STM32 yet right? On the other hand this group has more experience with the PIC so I might be better off sticking to that. But then I will definitely need a better ADC.
Regarding speed, my PC app reads the MIDI output from the original R2M box continuously as MIDI messages come in but it only outputs (corrected) pitchbend messages once every 5ms which appears to provide smooth response. The pitch rounding algorithm is extremely simple and could be implemented completely in integer arithmetic and probably with just additions and some bit shifts. I’m kinda guessing that the PIC would be powerful enough for that but I don’t really have a clue. The original R2M box uses an 8052 derivative (ADuC814) but it doesn’t do this kind of pitch rounding.
Interface wise a few buttons and a 16x2 LCD would be plenty.
Any advice?
P.S. Here’s a screenshot of my R2M PitchRounder windows app:
