Hi,
I'm trying to use PWM1 and PWM2 of the USB DrDAQ writing my own programs using the SDK. To be able to control motors using H-bridges, I need to raise the voltage level of the PWM signal from about the 0-2V to meet the logic level 0-5V of the H-bridges. so I need some information about the o/p circuit of the PWM. Is it safe to connect a pull-up resistor to the o/p?
Are there any alternative solutions?
Regards.
Hi,
PWM supposed to be a digital signal (on/off) not an analog signal isn’t it?
Analog signals need amplifier if they are small signals; digital signals need a level converter.
I need to know the output circuitry of USB DrDAQ to apply a suitable conversion circuit to it.
Regards.
Yasser
One option would be to use an NPN transistor. Simple and effective.The silicon transistor was invented in 1954 and has been considered one of the greatest inventions in the history of technology. In terms of using the PWM function of DR Daq you could connect the base to the PWM OUTPUT( signal voltage), choose a value of resistor suitable for connecting to the +Ve rail ( 1 K ), connect the emitter to negative (ground) the result collector output will be inverted.
Hi Pico Stuart,
Thank you for your reply. You gave me a nice inexpensive solution.
Although I wanted to understand the o/p circuitry of DrDAQ.
Thanks again.
Yasser