I am constantly amazed at some of the posts on this forum where people, often with little or no knowledge of their subject at all, expect contributors to guess what it is they are trying to achieve and come up with a ready-made solution. They often seem to clutch the details of their projects close to their chests, as though they were some big research organisation trying to keep their designs from the Russians or Chinese!
For heaven's sake, if you want help with a project, be prepared to give FULL details of EXACTLY what it is you are trying to achieve and what limitations may exist to constrain the design. Above all, do not get on your high horse when somebody has taken the trouble to look at your problem and asks you for more details.
This comment is not aimed specifically at this OP but is a general plea to all who read these posts and seek answers to their problems!
I did a similar project some time ago, by pressing the PB you can turn on the LEDs in a sequential mode, is this what you want to achieve? can you make a simple flowchart for your project and what components do you intend to use?We can't help you when you just keep giving these very vague statements. What PCB diagram? What does it mean to "take" a PCB diagram. What connection part? What problem did you have? We are not mind readers!
As asked before, what does it mean to switch. Assuming that by "open" you mean "on" (as in lit up), then what you have written can be satisfied trivially by hard-wiring one of them to be always on and then wiring the other two in parallel and have them be on when the button is pressed and held down. That meets the requirement of "one will always remain open and the others will switch when the button is pressed". Do you begin to see what why the need to give some thought to clearly specifying the behavior you want. Even if we use our crystal balls to infer that what you really want is for, at any given time, one of them to be on and the other two to be off and, when the button is pressed (and released), that the one that is on turns off and one of the others turns on still doesn't nail it down. As asked (and ignored), which one of the others should turn on?
I think it is more like, “I know what I want it to do, why don’t you?” They don’t look at what they gave written and say, “Oh, that could be interpreted in multiple ways.”They often seem to clutch the details of their projects close to their chests, as though they were some big research organisation trying to keep their designs from the Russians or Chinese!
Without doing anyone's homework, I can point you in a simple direction without needing a development system and software skills programming a microcontroller. You could do these functions with some clever wiring using some simple Set/Reset Flip-Flops and maybe NAND/NOR gates to complete the LED logic.I need a PCB diagram that will switch between 3 lights when I press the button on the right. I don't know how to do it.View attachment 331385
Here's a small tutorial:Without doing anyone's homework, I can point you in a simple direction without needing a development system and software skills programming a microcontroller. You could do these functions with some clever wiring using some simple Set/Reset Flip-Flops and maybe NAND/NOR gates to complete the LED logic.
Check out some texts on Logic design from the library and TI has logic gates in DIP packages to allow you to breadboard and wire up your logic.
https://www.ti.com/product/SN74LS279A#pps