So I've asked before about PWM to analog, but I've found some different options. Background...
I am planning a project where I will need to control up to 4 separate motors through 4 separate motor controllers. The typical throttle control is 0-5V hall effect sensor throttle (functionally like using a pot as a voltage divider). I intend to use an Arduino or similar such device to act as the throttle. I've asked about converting PWM to analog, and I've had suggestions such as low-pass filter or using a DAC. I found a breakout with at quad-DAC from Adafruit for only $7.50 with I2C interface so it would be very inexpensive to use that. But I just found two other ideas and I want to know what people who are either smarter than me or more experienced with electronics than me (or both) think.
I don't want to use a low-pass filter. I've read a lot about them but there's just too much variance for my taste. So the options I'm considering...there are PWM-to-analog breakouts available for fairly cheap, and this would require the least amount of coding. I take my input, set the PWM output on the pin I want, and the converter gives me the right output. The quad DAC would be a little cheaper, but it would require a bit more programming (although admittedly, not a whole lot). And the quad DAC would be a single device, whereas I'd need 4 of the PWM converters (presumably more energy efficient as well). The third option I'm considering is a digital pot. I'd still need 4 of these instead of the one DAC, but they're also available for quite cheap, wouldn't be much more expensive than the quad DAC, and would ultimately require about the same amount of coding and give me about the same precision (close enough for my purposes at least). The more I write this the more I think that the quad DAC is probably the best solution. It looks to be the simplest, easiest to implement, and cheapest, but the idea of using the 4x digital pots is still intriguing to me. What would you guys do in my situation?
I am planning a project where I will need to control up to 4 separate motors through 4 separate motor controllers. The typical throttle control is 0-5V hall effect sensor throttle (functionally like using a pot as a voltage divider). I intend to use an Arduino or similar such device to act as the throttle. I've asked about converting PWM to analog, and I've had suggestions such as low-pass filter or using a DAC. I found a breakout with at quad-DAC from Adafruit for only $7.50 with I2C interface so it would be very inexpensive to use that. But I just found two other ideas and I want to know what people who are either smarter than me or more experienced with electronics than me (or both) think.
I don't want to use a low-pass filter. I've read a lot about them but there's just too much variance for my taste. So the options I'm considering...there are PWM-to-analog breakouts available for fairly cheap, and this would require the least amount of coding. I take my input, set the PWM output on the pin I want, and the converter gives me the right output. The quad DAC would be a little cheaper, but it would require a bit more programming (although admittedly, not a whole lot). And the quad DAC would be a single device, whereas I'd need 4 of the PWM converters (presumably more energy efficient as well). The third option I'm considering is a digital pot. I'd still need 4 of these instead of the one DAC, but they're also available for quite cheap, wouldn't be much more expensive than the quad DAC, and would ultimately require about the same amount of coding and give me about the same precision (close enough for my purposes at least). The more I write this the more I think that the quad DAC is probably the best solution. It looks to be the simplest, easiest to implement, and cheapest, but the idea of using the 4x digital pots is still intriguing to me. What would you guys do in my situation?