Digital to Analog Conversion Recommendations
172heavy
Posts: 55
What is the best IC or other method for Digital to Analog conversion?
Comments
You need to give more information.
Details like Number if Bits, Update Rates, required dV/dT, power consumption and Power-Init default value all matter.
IIRC in the original thread you wanted to do this as simply and inexpensively as possible. To do that the simplest approach would be to replace the joystick pots that control speed and direction. Those pots output a voltage that is proportional to their position.
A resistor and capacitor can be used to make an RC filter. By connecting that filter to a propeller pin and outputting a pulse on that pin you can produce a voltage that is proportional to the pulse width. If the pulse is high for 50% of the time the output voltage would be about 50% of the 3.3V supply to the prop. That output voltage can be amplified by an op amp (usually to 0 - 12V) and used as the input in place of the joystick pots.
Thank you, I will look in to the op amp route.
For this application just about any op amp that can handle the voltage range the pots covered will work. See is if you can get and post a schematic of the pots/joystick portion of the schematics. That will provide a better idea of what you need and let the forum provide more help.
Without totally holding my hand here can you give me an example of how I might use the PROP to contol an OPAMP? I am assuming I will send a PWM signal from the Prop, filter it to stabilize the voltage etc.
I get fuzzy when trying to figure out the forward/reverse biasing, etc...... I was wanting to supply external 5v to the opamp so that I could isolate the prop from any potential hi amperage.
Anyway any help will be much appreciated.
I will try to get a schematic and post but I am not sure as I am hacking this thing so I might have to generate a schematic myself. The voltage range I need to cover is approx 1 to 4 volts.
Incidentally I've experience with electric mobility scooter and wheelchair control interfaces and they usually detect the presence of the correct 5k potentiometer and disable the drive if its not connected. You can fake this by leaving the original pot in place and just reconnecting the wiper.