madherm said:
Hi all,
thank You for the messages so far.
A few more explanations:
When I wrote " some analog circuitry" I was assuming to build the rms of the analog signals with a 4301 rectifier from THAT corporation and then do the VU and peak detection in analog...just because I am more a hardware man than somebody enjoying to write software...
I'm an old analog dog and don't enjoy writing software (that's what I should be doing instead of writing this post), but I also don't like using external circuitry for something i can do with relatively simple math, for free inside a micro.
On the plus side using a THAT rectifier/log conversion front end will dramatically reduce your dynamic range A/D resolution bit depth requirement so you're back into a cheap jelly bean processor. You might need a calibration (0VU) trim but that's no big deal.
sure in these days a software solution is more elegant. Even further I was tempted to create the log of the signals by using a log-amp...nowadays the conformity to the expected log curve is better than 2 db over 80 db....again in software more precise and easier....just needs a somewhat bigger uPC.
You don't really need a full precision log conversion even without the rectifier front end. In the digital domain you can do iterative approximations based on the dB output resolution you need, while for an 80 dB FS meter with 100 or 200 steps the finest is still a large fraction of dB resolution (say first parse to 10 dB steps, then 1 dB steps, then ,1 dB steps.. For a finite number of output steps just calculate a full output dB map once, and look up where actual levels map out to for real time output. Calculating a 200 step output map could be done in a faction of a second during program start up.
So I see two things to discuss:
The display: I came along "intelligent TFT displays" for example
http://www.alibaba.com/showroom/7%2522-tft-lcd-module.html
which exist from 100s of suppliers at incredible low prices up to real professional industrial products including professional prices. Interfacing to the uPC is in RS232, I2C or other serial protocols. Several companies deliver libraries with basic graphics commands.
Depending on the size of the display 2, 4 or even 8 VU/peak meters will fit.
Has somebody from you practical experience with such hardware?
No not yet.. but i will eventually. A 7" 800x480 is a TV screen not a meter display. I'd sure aim lower (smaller/cheaper/etc).
The uPC: This is the problem for me: The last time I programmed a uPC must be in the 80s (an 8 bit 6502 programmed in assembler). I had 1 kbyte of RAM!!
I am lost in the present choice of hardware/software and I do not clearly see how I would go from my prototype (which would almost certainly be made with a commercial evaluation board) to my small series. Somehow all the PCBs I do end up having most elements in classical form factors, SMDs only when I have to....
So Ideally the uPC should exist as evaluation board, but also in small physical size as ready target system.
You might even be able to find an evaluation board with the exact display you want.
For modest sized PCB there are free ware PCB layout programs and modest cost prototype raw board makers, but assembling SMD DIY is a challenge when starting out and using modern fine pitch parts. All the hip new parts are being made even smaller to fit inside an I-watch. The micro I'm currently using is smaller than my pinky fingernail.
All the other arguments about 16 or more bits resolution are correct, but not a critical issue.
So let us see were we go? Cheers Hermann
Good luck, if you were coding micros back in the '80s it has only gotten easier with more choices today.
I would strongly advise against 8 bit, it't hard to represent the world in only 256 levels. There was a 16b version of the 6502 but i don't think it was widely embraced. I won't push you toward my favorite, there are several with similar features and low cost.
I prefer working in assembler, but it seems the rest of the world is writing in C or some higher level language.
JR