Maker Pro
Maker Pro

Clocking between 4 pins

Hi,

I'm very new to Electronics, but getting most of the things work till now.
I've been spitting the internet but couldnt find how to do it.

I got one solution but I would love to do it differently.

I'm using one pin on an arduino, digital on High, I want that 5v signal to become a frequency,
so I was thinking maybe in Crystal oscillator, I got some 12K ones.
so I think I would get a clock signal. just tell me if I'm wrong,

with this signal I want to switch between 4 pins, pin A, B, C and D
the idea is on high Pin A will get high, then all off on Low, and then Pin B will get high and so on
A - Off - B - Off - C - Off - D Off - A - Off - B - Off --------------

I there an IC for this?

My solution is to get micro arduino, and program it to do it
 
Hi,

I'm very new to Electronics, but getting most of the things work till now.
I've been spitting the internet but couldnt find how to do it.

I got one solution but I would love to do it differently.

I'm using one pin on an arduino, digital on High, I want that 5v signal to become a frequency,
so I was thinking maybe in Crystal oscillator, I got some 12K ones.
so I think I would get a clock signal. just tell me if I'm wrong,

with this signal I want to switch between 4 pins, pin A, B, C and D
the idea is on high Pin A will get high, then all off on Low, and then Pin B will get high and so on
A - Off - B - Off - C - Off - D Off - A - Off - B - Off --------------

I there an IC for this?

My solution is to get micro arduino, and program it to do it
Look into using counters.
You can get an IC that changes it's output pin each time you provide a clock pulse.
Simply use every 'second' pin to get the behavior you want.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
true, once I figured out what was required, @Gryd3's solution of using a 4017 (as an example) and utilizing every second output is a good one. Note that you will want to connect the 9th output to reset to cause the sequence of 4 outputs to repeat correctly.
 
Top