Why does the Vout pin in the diagram below receive 8 volts with Vcc = 0 volts, but becomes 2 volts when Vcc=5 volts. If switch SW9 is closed, circuit theory says Vout should always stay at 15 volts regardless of whether I am powering the hall-effect sensor with Vcc or not.
However, when I measure (with a multimeter) what Vout pin is getting it's never 15 volts, however if I individually measure "VpM" below (with the hall-effect sensor unplugged from breadboard) I correctly get 15 volts. As soon as I plug the hall-effect sensor back in I either get 8 volts (with Vcc=0 volts) or 2 volts (with Vcc=5).
I reason (I think) why I get 2 volts on VOUT pin when VCC=5 volts is because according to this data sheet on pg. 4 in the row marked "Pre-Programming Quiescent Voltage Output" it says it is supposed to be 2.0V.
But this still does not explain why the programming pulses I'm sending (HIGH,MID,LOW) are not at their correct values.
Per Brian's suggestion I have lowered impedances as shown below and ran a simulation from on circuitlab.com and here are the current readings I am getting:
In above image R1=R6=10K Ohms, R5=R2=90K Ohms, and R3=R4=20K Ohms. The current between [R1, R2] and [R5, R6] is -300 micro amps, whereas the current between [R3,R4] is -750 micro amps.
In above image R1=R6=1K Ohms, R5=R2=9K Ohms, and R3=R4=1K Ohms. The current between [R1, R2] and [R5, R6] is -3.0 milli amps, whereas the current between [R3,R4] is -15 milli amps.
Is there a particular range of current I need to be in? Is this specified anywhere in the data sheet? The only thing I see is on pg. 2 under the "Absolute Maximum Ratings" table for "Output Source Current" and "Output Sink Current" should be 3 and 10 milliAmps respectively.
Since all the currents I listed below are negative, this should satisfy the requirement, correct?