I am working in a project where I will have two inputs (clock & reset pin) which is used to trigger a group of relays (lets say around 16) sequentially.
RESET is used to turn the system ON & CLOCK is used to toggle through the outouts.
I also want to have a dip switch which will let me trigger these relays in two different combination logic.
- Sequential turning ON each relay one at a time (eg: 1x16 combo)
- Sequential turning ON each relay two at a time (eg: 2x8 combo)
So far I have two designs
1. D flip flop & serial-parallel ic (Static shift register) 4015 to create a 1x16 logic
2. same component as above but slight modifying the wiring to create 2x8 logic instead. But here the output wires are changed alternating between each of the individual shift registers so cannot be easily reused with the above circuit. :(
3.slightly different approach using D flip-flop, binary counter & 4-to-16 Line Decoder for 1x16 logic
- what is the best way to approach this problem? Maybe there are other ICs that can achieve this more easily?
- Basically the same as above, how do I combine the 1x16 logic & 2x8 logic circuits in the simplest way? I want to use my design 1 & 2 (the one with shift registers ) if possible but I just can't figure out the way to combine these two and make it select-able with something like a DIP switch?
BTW i haven't shown any relays in the attached schematics for simplicity. FYI I will be combining these outputs with darlington transistor array IC to drive the relays.