I am looking for help with using De Morgan’s theorems for solving a circuit problem.
I learned about De Morgan’s theorems in classes about 35 years ago but have not used them since.
I now help run a garden railway as part of a Society of model engineers. I have written a programme for an Arduino that runs a section of the railway consisting of six track sensors and five sets of signals, the first four of which are four aspect, that is, red, yellow, double yellow and green, the fifth is three aspect, red yellow and green.
I have tried to work out how to run this with nand gates but I think a better understanding of De Morgan’s theorem would help.
If I say that track sensor 1 (TS1) is A, TS2 is B, TS3 is C, TS4 D, TS5 E, TS6 F,
Signal 1red G, sig 1 yellow H, sig 1 double yellow I, sig 1 green J,
sig 2 red K, sig 2 yellow L
and so on.
I will use lower case to indicate a NOT signal, i.e. a signal with a line over it.
Can I write :-
A = G
+ a . B = H . K
+ a . b . C = I . L . (sig3 red)
Etc
Am I asking the theorem to do too much or am I on the right lines?
I learned about De Morgan’s theorems in classes about 35 years ago but have not used them since.
I now help run a garden railway as part of a Society of model engineers. I have written a programme for an Arduino that runs a section of the railway consisting of six track sensors and five sets of signals, the first four of which are four aspect, that is, red, yellow, double yellow and green, the fifth is three aspect, red yellow and green.
I have tried to work out how to run this with nand gates but I think a better understanding of De Morgan’s theorem would help.
If I say that track sensor 1 (TS1) is A, TS2 is B, TS3 is C, TS4 D, TS5 E, TS6 F,
Signal 1red G, sig 1 yellow H, sig 1 double yellow I, sig 1 green J,
sig 2 red K, sig 2 yellow L
and so on.
I will use lower case to indicate a NOT signal, i.e. a signal with a line over it.
Can I write :-
A = G
+ a . B = H . K
+ a . b . C = I . L . (sig3 red)
Etc
Am I asking the theorem to do too much or am I on the right lines?