I have been asked off list to give advice about a microprocessor based meter project... I am more than willing to share stuff I learned the hard way, but am unwilling to engineer another one-off meter project for free...
Design with microprocessors is only a fraction about code and algorithms, and a significant part of glue circuitry (PS etc) and set up... Modern micros have a lot of flexibility so use requires setting the I/O for proper mode, and firmware or middleware.
I typically use Microchip processors but know that other coders have different favorites. So the floor is open for other suggestions.
The last micro project I did (not a meter actually) used a PIC24HJ32GP304... I like the features but it might be worth looking at modern offerings in case there is newer better stuff in the years since I last looked at this stuff.
The PIC24H family is 16 bit (I refuse to use 8 bit again, too much effort dealing with variables than need more resolution), 40 MIPS which seems adequately fast... Internal 12 bit A/D which in my experience is adequate dynamic range for most audio metering. (If needed one could scale inputs dynamically to handle wider range).
The PIC comes with an internal frc (free running clock) so you can run it at 7MHz without an external crystal.
I write in machine language but the PIC instruction set supports C compilers.
The chips come in a mix of flash memory, ram, and number of pins... You don't need a 44 pin package for a simple meter. While I managed to use all 44 pins in an automatic mixer design.
I would use a PIC in combination with a TI LED latch driver... something like a TLC59025 (16 LED). These can be updated via SPI by pushing a 16bit word with 1 representing on, 0 representing off... These can be stacked in series to push out longer than 16 bit data streams, or chips can be networked in parallel with separate chip enable lines.... They also make 8 LED versions but 16 is a nice round number for meters.
FWIW In that console meter I did years ago, we used a HCT logic shift register for the LED latches and I had some issues with the SPI communication.... Using a 3.3V micro driving a 5V logic chip with passive (open drain) pullup on the clock led to mis-clocking if there was noise on the passive pullup line... I worked around that with my own SPI routine 9that I have used in designs ever since.
I suspect with the same logic PS there would be no problem pushing data using the canned internal SPI firmware.
==========
I invite others to suggest other microprocessor families now before a family and path is chosen.
The rest is details. (lots of details)
JR
Design with microprocessors is only a fraction about code and algorithms, and a significant part of glue circuitry (PS etc) and set up... Modern micros have a lot of flexibility so use requires setting the I/O for proper mode, and firmware or middleware.
I typically use Microchip processors but know that other coders have different favorites. So the floor is open for other suggestions.
The last micro project I did (not a meter actually) used a PIC24HJ32GP304... I like the features but it might be worth looking at modern offerings in case there is newer better stuff in the years since I last looked at this stuff.
The PIC24H family is 16 bit (I refuse to use 8 bit again, too much effort dealing with variables than need more resolution), 40 MIPS which seems adequately fast... Internal 12 bit A/D which in my experience is adequate dynamic range for most audio metering. (If needed one could scale inputs dynamically to handle wider range).
The PIC comes with an internal frc (free running clock) so you can run it at 7MHz without an external crystal.
I write in machine language but the PIC instruction set supports C compilers.
The chips come in a mix of flash memory, ram, and number of pins... You don't need a 44 pin package for a simple meter. While I managed to use all 44 pins in an automatic mixer design.
I would use a PIC in combination with a TI LED latch driver... something like a TLC59025 (16 LED). These can be updated via SPI by pushing a 16bit word with 1 representing on, 0 representing off... These can be stacked in series to push out longer than 16 bit data streams, or chips can be networked in parallel with separate chip enable lines.... They also make 8 LED versions but 16 is a nice round number for meters.
FWIW In that console meter I did years ago, we used a HCT logic shift register for the LED latches and I had some issues with the SPI communication.... Using a 3.3V micro driving a 5V logic chip with passive (open drain) pullup on the clock led to mis-clocking if there was noise on the passive pullup line... I worked around that with my own SPI routine 9that I have used in designs ever since.
I suspect with the same logic PS there would be no problem pushing data using the canned internal SPI firmware.
==========
I invite others to suggest other microprocessor families now before a family and path is chosen.
The rest is details. (lots of details)
JR