Maker Pro
Maker Pro

Clocking between 4 pins

Berry

Jun 17, 2016
3
Joined
Jun 17, 2016
Messages
3
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
 

Gryd3

Jun 25, 2014
4,098
Joined
Jun 25, 2014
Messages
4,098
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
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
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