Maker Pro
Maker Pro

Timing circuit using LM339

Hi,
I am trying to mod my de-soldering station by adding in a small tank to hold a vacuum, and a solenoid is actuated after a certain amount of time allowing the gun to have a decent burst of negative pressure instead of the slower build up. After 1.5 seconds or so the solenoid will open and hopefully suck all the solder out so the bad parts can be removed.
Anyway, I have designed this circuit using one of the LM339 comparators as a schmitt trigger, then using another comparator on the chip to invert the signal to use on a transistor to trigger the coil. I don't understand what is happening with the circuit. The inverting input on U2B is going below the reference voltage and the output doesn't change until the trigger is released. The trigger is normally open as per the diagram.

Thank you for your assistance.
 

Attachments

  • Screenshot 2022-04-10 225822.png
    Screenshot 2022-04-10 225822.png
    210.9 KB · Views: 13
Hi,
Thank you for that :) I have have tried it on my circuit with a 10k resistor and it didn't work. I could have a wiring problem for all I know. Now I am trying to just simulate the circuit in MicroCap as it is free. It is saying it looks not too bad. A 10Meg seems to work for U2A's pull up. Maybe I need to drive the transistors harder so they are in saturation as I am getting a 4volt drop across it when on.
Thank you
 

Attachments

  • Screenshot 2022-04-12 204704.png
    Screenshot 2022-04-12 204704.png
    89.4 KB · Views: 4
Last edited:
You have a feedback load on U2A of 15kΩ so a 10meg pull-up resistor will only give a small output voltage.
You need a smaller pull-up resistor to get a significant voltage out.
Putting random component values into a circuit seldom gives good results.
 
That is true. I increased the size of the feedback resistor on U2A so I could use a smaller pull up resistor. I reworked the circuit and now it is working fully. I don't understand how you figured out the feedback load above.
I think the lack of pull up was the initial problem. It couldn't drive the next comparator properly. I also found I was charging the first capacitor to half of the supply voltage, then I was measuring it against a reference of half of the supply voltage. I also found I had soldered the first BJT in backwards at some point. I have changed the circuit so many times at this point it's crazy.
Got it working now.
Thanks for your assistance.
 

Attachments

  • Screenshot 2022-04-17 183726.png
    Screenshot 2022-04-17 183726.png
    187.4 KB · Views: 3
Top