I’ve been lurking for a bit, testing and learning on my Mega 2560 R3 and I’m ready to ask my first questions about my first significant project.
In the project I’m reading in 4 analog inputs 0-5V DC and the goal is adjust them (mostly downwards) and output them again, ideally as true analog not PWM. What’s complicating it for me is that I want the 4 analog outs to output continuously without drop-outs or significant spikes from interrupts. Steps are ok.
So I’ve researched how an ADC chip works and some ways to make a true analog output from the PWM on the mega 2560’s pins and have the following questions:
What is the best approach to get the 4 true analog outputs: a) Dedicated DAC chips b) R + Cap filter c) R2R ladders (requires too many pins for 8 bit resolution x 4 outputs?) d) some other method I can’t think of
How does a DAC work, particularly a quad output? I read up on ADCs and saw they have a mux in front of a cap and some internal logic to create a multi-channel ADC but re 1a above, would a quad output DAC solve my problem? Specifically, can it output 4 different analog signals simultaneously or only in-turn/only one on at a time?