Continue to Site

Welcome to

Welcome to our site! is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

pulse signal with DC level

Not open for further replies.


Full Member level 6
Jan 17, 2008
Reaction score
Trophy points
Central Florida
Activity points
I have a pulse (3V peak) coming out of my TX pin of a microcontroller. I already did the voltage divider to change the peak from 3V to 1V but now I want to make the 1V peak have a DC level. So I want the pulse to go low at 4volts and high at 5 volts instead of low at 0 volts and high at 1 volts.

Please provide part that can do the job (i.e op amp, comparator, fet, etc) and design pointers. if feasible

This is a simple solution:
Although the pulse is inverted (0V -> 5V, 1V -> 4V), but i think this is easy to change in the uC.
depending on the amount of current you need to drive, you can choose the size of R1.
by making R2 trimmable you can set the lower voltage (4V)

The current through R1 is set by R2 : the voltage over R2 when the input is high is the input voltage minus the threshold voltage of the transistor ( ~ 0.7V). so you can calculate the current through R2 (I = (Vin-0.7)/R2 ), which is the same as the current through R1. The lower pulse voltage will be I*R1.
By changing R2, you can change the pulse depth.

you can use any kind of general purpose npn transistor for this.

With this approach the resistive divider isn't necessary (you can also use 0V..3V as pulse but you will have to change R2, this situation is displayed in the picture).

I hope this helps.

If the pulse is narrow and the load current is modest,
this might simply be a capacitor and a baseline-restore

Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to