I'm trying to drive a 12V DC solenoid Valve with following diagram. In 1st block the PC input is compared with 2.2V and its output goes to block2 and ULN2003 for driving the valve. The 2nd block is a pulse generator which is used to drive a Buzzer. As said the 3rd block is used to drive Valve and buzzer.
1- When I try to connect the PC input (Using 2 separate wires for GND and +5V), connecting each wire(just 5V or GND is connected) causes that the valve to be on/off many times, It also happens when I touch the PC input wires, what should I do to prevent this?
2- Each output of ULN2003 is 0.5A but The the valve uses 0.8 A, is it reasonable to connect several inputs and outputs for driving the valve or should I use another IC to drive the valve? it's working but afraid if it brokes the ULN2003 in long time.
Update 1: When a function generator is connected to input with no wave, Output of comparator is expected to be zero but it is a 50Hz Clock pulse as below. What I've done wrong?
Output when there is no signal and connected to PC or function generator.