Fidias
Newbie level 3
- Joined
- May 28, 2014
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 23
Hello,
I am working on a school project and I need to drive a 12V DC motor/fan using a DAC so that I can control its rotation speed. The DAC that I am using is the AD5662 and I use it to output 0-3.3V. At first I was using PWM and a transistor and it was working fine but now my professor wants me to use the DAC instead of the PWM. The wiring was like this:
The orange cable is the PWM output coming from the Raspberry Pi. I tried to replace the PWM output cable with the DAC output cable but then the motor starts for a few seconds and then stops unexpectedly. Then I tried amplifying the output using an op amp (TL071CP) unfortunately with no success. I tried both non-inverting and inverting with no success. So my question is how can I amplify the DAC output in order to drive the motor and why the op amp I am using does not work (e.g. do I need a rail-to rail one)? Also I have connected the VCC- pin of the op amp to the ground is that fine?
Sorry if I said something "stupid", but I am kind of a newbie on this stuff .
I am working on a school project and I need to drive a 12V DC motor/fan using a DAC so that I can control its rotation speed. The DAC that I am using is the AD5662 and I use it to output 0-3.3V. At first I was using PWM and a transistor and it was working fine but now my professor wants me to use the DAC instead of the PWM. The wiring was like this:
The orange cable is the PWM output coming from the Raspberry Pi. I tried to replace the PWM output cable with the DAC output cable but then the motor starts for a few seconds and then stops unexpectedly. Then I tried amplifying the output using an op amp (TL071CP) unfortunately with no success. I tried both non-inverting and inverting with no success. So my question is how can I amplify the DAC output in order to drive the motor and why the op amp I am using does not work (e.g. do I need a rail-to rail one)? Also I have connected the VCC- pin of the op amp to the ground is that fine?
Sorry if I said something "stupid", but I am kind of a newbie on this stuff .