Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
What do you mean "the signal deteriorates drastically"? That signal looks absolutely perfect to me, if I was a expecting a signal that looks exactly like that.i used potentiometer and it worked
--- Updated ---
I could reduce the signal to mV level with potentiometer but after 400mV, the signal deteriorates. I tried to put a simple buffer with transistor after the potentiometer output and i got still lower down to 15mV but the signal further deteriorates drastically as shown in the picture below. I wanted signal at 15mV or possibly lower. How can I do this?
View attachment 178553View attachment 178554
The circuit diagram is above. I produced around 32.5KHz square wave output at arduino pin 13. I wanted to convert that 5V square wave to 20mV square wave. The oscilloscope is showing the deterioated 5V square after potentiometer and transistor. after potentiometer the signal is good to level 400mV or so.What do you mean "the signal deteriorates drastically"? That signal looks absolutely perfect to me, if I was a expecting a signal that looks exactly like that.
Are those noise spikes? Is there an oscillation? What ARE you expecting? What does your layout look like? We're not mind readers, you know.
yeah, right... transistor added distortion, buffering should restore signal loss but not applicable in this case or it is not so? i know resistive divider does not add distortion.Hi,
Restore degraded shape:
No. A transistor adds distortion. It is responsible for the distortion you see. (especially in your case where it has no defined/stable operating current)
A resisitive divider does usually not add distortion. (At least far below a transistor)
The benefit of a transistor is that it can amplify voltage and current and can reduce impedance.
Transistor is faster?
Faster than a resistive divider? I guess not.
And compared to an OPAMP: There are slow transistors and fast OPAMPs. So it depends on the used parts, the used circuit, the requirements of the application (you still hide)
Klaus