
Hello all
I am currently working on an A-level project for my coursework but I am having problems with the logic gate part of my circuit, my teacher suggested asking on an electronics forum. So I Signed up
I am working on a traffic light controled junction, thus far I am using a 555 Astable (you gotta love these things) and a 4510b to produce a sequence. I then need to convert that sequence (using Logic gates) into colours; there are two traffic lights that I want to work in unison.
The sequence stages and the needed colours are as follows:
From left to right (Left being Q1 on the chip, to Q2, Q4 and finally Q8)
Code Colour 1 Colour 2
1000 / Green / Red
0100 / Green / Red
1100 / Green / Red
0010 / Green / Red
1010 / Amber / Red
0110 / Red / Red+Amber
1110 / Red / Green
0001 / Red / Green
1001 / Red / Amber
0000 / Red+Amber / Red
So my problem is getting the colours in this sequence, I am wondering how you would use logic gates to do this? Or even if there are other ways you would do it?
Many thanks
The Chirurgeon