# 3 row switch

## Recommended Posts

So I've been struggling with this for hours

I need an automation circuit that can provide:

1,0,0

0,1,0

0,0,1

I've made a 2 row (which works great) but no matter how hard I try, I can't seem to find a way for 3 row switch.

##### Share on other sites

My guess is, that since logic is binary, you can only work with exponentials with base 2. (1, 2, 4, 8, etc).

You will end up with more states than 3 in the end. To aggregate 3 states out of them, you will have to group them into 3 even groups, which is first possible with 8196 states (=2^13).

In other words: better stick to clean binary numbers (4).

##### Share on other sites

3 D flip flops in a loop, clock input is a switch you can manually toggle, just have to prime the input with 1 'cycle' on value, 2 'cycles' off values.

the outputs of the 3 D flip flops would be the 3 values you seek. anyways something like that

##### Share on other sites

31 minutes ago, donutman07 said:

3 D flip flops in a loop, clock input is a switch you can manually toggle, just have to prime the input with 1 'cycle' on value, 2 'cycles' off values.

the outputs of the 3 D flip flops would be the 3 values you seek. anyways something like that

Doesn't work in the game

It definitely needs 3 different inputs though.

I am thinking the output delays can make 3 different inputs

P -> 2 seconds (1+1)

Q -> 4 seconds (2+2)

R -> 8 seconds (4+4)

Gotta go back to the discrete math book I guess

##### Share on other sites

Are you looking for it to cycle through those three states?

This will work if that is the case. Sorry if I got that wrong though. It looks that way judging by the buffers and loop backs.

##### Share on other sites

4 minutes ago, Moggles said:

Are you looking for it to cycle through those three states?

This will work if that is the case. Sorry if I got that wrong though. It looks that way judging by the buffers and loop backs.

Thats amazing, thanks