Jack Purdum
Exactly. Consider the ESP32 with 1.3Mb of flash, 350Kb of SRAM, all scooting along at 240Mhz at a price of around $6. It also has two DAC ports. While the DAC ports are only 8 bit, it's better than no DAC. Also, you can program the ESP32 from within the Arduino IDE. So far, I haven't found any libraries that don't work with it. Oh, it also has builtin WIFI and Bluetooth. Jack, W8TEE
On Monday, April 22, 2019, 9:37:05 PM EDT, Jerry Gaffke via Groups.Io <jgaffke@...> wrote:
Doing AGC in software would incur added delay, especially with an i2c pot on our beloved little Nano. We want to keep the attack time as short as possible. Would be fun to try, perhaps using one of the small ARM processors with fast embedded ADC and DAC capabilities. Jerry On Mon, Apr 22, 2019 at 05:45 PM, Hasan Murtaza wrote:
Technically the simplest circuit (for some people) would be a software solution. Send the amplified output to a diode plus capacitor in a peak detector configuration. The capacitor voltage will be a quasi DC signal proportional to the maximum value of the signal. Read it into the arduino via an ADC pin.? |