The White LED's can only be lit when the Green LED is also lit.Hi,
I guess you know that the White Dir LEDs can only light when the 555 Output pin is High, after being Set by Sense #1, is that acceptable to the expected operation.?
Also please check my image clip in post #79, it looks incorrect.
E
I guess you know that the White Dir LEDs can only light when the 555 Output pin is High, after being Set by Sense #1, is that acceptable to the expected operation.?
Truth Table
Stage Condition RED GREEN WHITE A Train Triggers Sensor 1 and the Timer is Started YES NO NO B Pre-Set Time Elapse (J1 = C2) or Train Triggers Sensor 2 (J1 = C1), Points Not-Switched NO YES NO C Pre-Set Time Elapse (J1 = C2) or Train Triggers Sensor 2 (J1 = C1), Points Switched NO YES YES
Hi A,Hi Eric, I used the diagram
Hi,Hi A,
If you recall, I had to disconnect the Reset to the 555 from the Sense2 in order to run that simulation post #72 to show the White On period.
Recapping:
The Sense 1 output [Vset] is connected to R4/Trig and the Sense2 output [Vres] to 555 RST, the Manual reset push button will also goto pin4 RST.
Eric
Hi,hi Allison,
Don't give up.
If you really want to get a handle on the circuit I am willing to continue.
Which part of the project is causing you a problem.?
Eric
Evidently the desired function has not been presented in enough detail to allow a satisfactory answer. That happens frequently here. If this is a model train system then a reflection from the train is not the best choice, unless the sensor is looking up through the track. Using the same sensor shown in a much earlier post as a beam-break triggered sensor can provide a much more reliable operation. And an adequate description of the desired output power and function will allow a useful response.Hi,
I do want to continue, but i seam to be going around in circles.
What i wanted i thought would be simple enough, but it doesnt seem so now.
Kindest
Allison
One more thing, which is that since the sensors have an IRLED, (emitter) they are not by any stretch PIR devices. They are reflective-mode switches, and will work best with some intentional reflector so that the passing model train will break the beam.At that point , if there is a rising voltage output, you can use that to trigger an actual flip-flop such as a CD4013, which will trigger on the rise of the voltage to the set terminal. The benefit is that it can be used for voltages between 4 volts and 15 volts, so it is simple to match the operation voltage to the IR switch output. And a time delayed output is very simple as well. Plus, you get two independent FF devices in one package.Evidently the desired function has not been presented in enough detail to allow a satisfactory answer. That happens frequently here. If this is a model train system then a reflection from the train is not the best choice, unless the sensor is looking up through the track. Using the same sensor shown in a much earlier post as a beam-break triggered sensor can provide a much more reliable operation. And an adequate description of the desired output power and function will allow a useful response.
Hi,Here is an updated schematic that includes the two manual switches.
Note that this circuit looks more complex than it really is. The four logic gates are all in one IC package, and two of them are unnecessary. With logic ICs (especially CMOS), unused inputs must be connected to either a logic 0 or logic 1 voltage to prevent them from "floating". U1C and U1D act as two inverters in series. They do nothing to the signal or for the circuit, but connecting them to something keeps them out of trouble.
If you really want to scrimp on parts, one IC can host two independent circuits. U1C and U1D could be configured as a flipflop (like U1A and U1B) for a separate channel. In that case, the right (+) end of C1 would connect directly to the Q1 gate. The green (and white) LED(s) would not snap on quite as crisply.
This circuit assumes that the two SENSE input pull up resistors are on the IR modules.
ak
View attachment 209110
Hi,The sensor is reflective, with an adjustable range of approx 2 - 30 cm. The output is open collector (LM393) with a pullup resistor to Vcc (3.3 to 5.0 V). The output goes low on sensing an object.
ak
I will build as per your diagram, i am not going to scrimp on IC's not worth the effort.Hi,
Thank you soo much
Allison
Hi,
Just done a BOM for that Circuit Diagram, and excluding Switches, Sensors, Board and consumables, it comes to around £2.10 each, which pleasently supprised me.
Thank you again
Kindest
Allison
Hi,
Hi,Hi,
I guess you know that the White Dir LEDs can only light when the 555 Output pin is High, after being Set by Sense #1, is that acceptable to the expected operation.?
Also please check my image clip in post #79, it looks incorrect.
E
Hi,I'm working on a component layout wiring diagram. You said you would be building many of these boards. Is it your intent to have a 5 V regulator on each one, or have one separate (possibly purchased) 12 V to 5 V regulator module for the entire system?
ak