dev.
Newbie level 2
- Joined
- Mar 19, 2015
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 19
Hi All,
I am trying to control speed of a DC motor using PWM. To reduce coupling of motor noise onto my electronics, I am using a separate power supply for both(LED and Phototransistor) and am planning to interface PWM pin from µC to motor using 6N137. Speed of PWM is abount 20KHz as recommended by motor manufacturer.
When I try to test 6N137, when I use a single supply for both input and output, i.e LED and phototransistor everything works according to truth table listed in the data sheet. When I use two different supplies(with or without isolating ground) output is always high irrespective of the input. Can anybody point out my mistake for this behavior? Find attached the schematic and output waveform.
Regards,
Ani
I am trying to control speed of a DC motor using PWM. To reduce coupling of motor noise onto my electronics, I am using a separate power supply for both(LED and Phototransistor) and am planning to interface PWM pin from µC to motor using 6N137. Speed of PWM is abount 20KHz as recommended by motor manufacturer.
When I try to test 6N137, when I use a single supply for both input and output, i.e LED and phototransistor everything works according to truth table listed in the data sheet. When I use two different supplies(with or without isolating ground) output is always high irrespective of the input. Can anybody point out my mistake for this behavior? Find attached the schematic and output waveform.
Regards,
Ani