Jump to content
Electronics-Lab.com Community

pulse generator


streets97f

Recommended Posts

I building a pulse generator in an attempt to mimic the speed sensor on my car. (The speed sensor just generate pulses based on the rate of the turning transmission axle.)

Here is the circuit i'm using:
http://www.electronics.50g.com/cpg.htm

I hooked up a 9v batt. to it and it feels like the 2n2222 is getting hot. I'm worried that the car ECU might draw too much current for the transistors. Can anyone suggest higher current substitutes for the 2n2222 and 2n2907A trans.
I'm really a novice and would appreciate and suggestions.

Link to comment
Share on other sites


Hi Streets,
Welcome to our forum. ;D
The 2N2222 shouldn't get hot in that circuit. It would if its collector and emitter wires were reversed. Look-up its datasheet's pic of it at www.datasheetarchives.com .

Your car's ECU could be damaged if your circuit feeds too much voltage to it. The ECU might have a max input voltage rating of only 5V.

Link to comment
Share on other sites

Well i noticed as i i adjust the variable resistor past a certain threshold the circuit just puts out a continual voltage (6.8v and up) and the 2n2222 and the 50 ohm resistor get hot, but when backed down, the pulsing resumes and all is fine.

Yes the ECU wants 5v. My understanding is that the var. resistor is there to adjust the voltage. If i choose a 12v source, can i adjust it to 5v?

Link to comment
Share on other sites

There is no reason why this circuit won't work at 5V, I've used this sort of circuit down to 3V before. I would recommend using some easier to build and more predictable like a NE555 timer.

Link to comment
Share on other sites


Well i noticed as i i adjust the variable resistor past a certain threshold the circuit just puts out a continual voltage (6.8v and up) and the 2n2222 and the 50 ohm resistor get hot, but when backed down, the pulsing resumes and all is fine.

Then don't change the variable resistor as much. Don't you have the 1M resistor in series with the variable resistor?

The ECU wants 5v. My understanding is that the var. resistor is there to adjust the voltage. If i choose a 12v source, can i adjust it to 5v?

The variable resistor adjusts the time between pulses a little. If the resistance is too low then both transistors will be turned-on all the time and the 2N2222 and 50 ohms will get hot.
The amplitude of the output pulse is about 1V to 2V less than the supply voltage, so when the car's alternator is charging the battery at 14.4V, the amplitude of the output pulses will be about 12.4V to 13.4V. That's why I warned you that the output voltage might be too high.
You could adjust the amplitude of the output pulses to exactly 5V if the circuit was powered from an LM317 variable voltage regulator set so its output voltage is 6V to 7V.

Hey Alun,
Have you ever seen a diode used as a low-resistance resistor before?
Link to comment
Share on other sites

audioguru: Are you suggesting adding a voltage regulating circuit like this one: http://ourworld.compuserve.com/homepages/Bill_Bowden/page12.htm

Yes there is a 1M res. in series but i think i have a 20% ver. pot when i should of bought a 15% var. res. with a lot of turns.

I really know very little about electronics (i'm a bio major) so, if you guys could explain the descusion over the zener diode it would help.

also, Alun I couldn't find a simple pulse gen circuit with a NE555...maybe you could point me to a site.

thanks all... you all are very responsive, unlike other forums

Link to comment
Share on other sites

Bill Bowden's voltage regulator circuit would have an adjustable output voltage if you use a 1k pot wired as a rheostat for R2. You aren't powering it from a transformer so replace the huge capacitor on its input with 100uF. Change the output capacitor to 10uF.

A zener diode at the output of your pulse generator would cause a very high current in the 2N2222 transistor and I am afraid that it will fail.

Be aware that a multimeter can't accurately measure the voltage of pulses, so an oscilloscope must be used.

Link to comment
Share on other sites



And with the unlimited current you can kiss the little 2N2222 good-bye! ::) ;D


I should've explained this one a bit more, connect 22ohms in series with the zener and 22ohms in parallel with it.

For a 555 timer solution look here
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...