I am trying to configure a D-type Flip Flop (TI CD4013BEE4) as a frequency divider off the output of a 555-style timer. The last time I worked with these types of circuits was during the 1st Reagan administration and have slept a few times since then. Ultimate goal is a square wave 50% duty cycle +/- 1% signal at .05 Hz (20 seconds per cycle). I tried doing this with just the timer but was never able to get the duty cycle accurate enough.
I am testing with a .5 Hz input signal at 5V. Power supplied to the chip is 5V. Searching with Google I find a plethora of block diagrams but very few actual schematics. The ones I found all contradict each other and/or contradict the datasheets for the chip. I am using the basic design for a 1/2 frequency divider: Output from the 555 into the clock line, D line tied to Q-Bar, Q as output, +5V to Set and Reset. 1KOhm resisters are on all input signal lines per the datasheet to limit current below 10mA. (Resisters on Clk line, on line between D and Q-Bar, and on S & R lines). This results in the output going high and never changing.
Some discrepancies from my searches:
1) S & R have +5V on some designs, some have them connected to ground.
2) Resister use and location are all over the place. Some have them, some don't.
This is a project that I am doing for free for a friend and so was trying to just use parts I had handy and only purchase a 555 and a 4013. Ultimate output is controlling a relay for a DC motor controller. Limit switches were not appropriate for this particular project and so I decided to just use a timer to control the back and forth motion of the motor.
Could someone please either give me a link to an appropriate schematic or tell me what I am doing wrong?
I am testing with a .5 Hz input signal at 5V. Power supplied to the chip is 5V. Searching with Google I find a plethora of block diagrams but very few actual schematics. The ones I found all contradict each other and/or contradict the datasheets for the chip. I am using the basic design for a 1/2 frequency divider: Output from the 555 into the clock line, D line tied to Q-Bar, Q as output, +5V to Set and Reset. 1KOhm resisters are on all input signal lines per the datasheet to limit current below 10mA. (Resisters on Clk line, on line between D and Q-Bar, and on S & R lines). This results in the output going high and never changing.
Some discrepancies from my searches:
1) S & R have +5V on some designs, some have them connected to ground.
2) Resister use and location are all over the place. Some have them, some don't.
This is a project that I am doing for free for a friend and so was trying to just use parts I had handy and only purchase a 555 and a 4013. Ultimate output is controlling a relay for a DC motor controller. Limit switches were not appropriate for this particular project and so I decided to just use a timer to control the back and forth motion of the motor.
Could someone please either give me a link to an appropriate schematic or tell me what I am doing wrong?
