Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Thread Tools Display Modes
Old 8th May 2007, 07:41 PM   (permalink)
Default Divide by N

Hello board ^^, just recently someone got me involved in a project where they are making hydrogen gas for their car with electrolysis. They got me building all the electronics for it, and they are doing the mechanical aspect. I have everything about 80% done, expect for one part:

One sub-circuit requires a divide by N where 1000 input pulses = 1 output pulse. The circuit is using a CD4059, the problem is that the schematic only shows a block diagram for that part o.o.

The chip itself is considered obsolete, I managed to order 5 of them, but I can't figure out how to get it to divide by 1000?

If anyone can help me, I will greatly appreciate it. Also, a modern or different way of doing it is welcome, but as I said I have 5 of the CD4059's.

Thanks
windozeuser is offline   Reply With Quote
Old 8th May 2007, 07:47 PM   (permalink)
Default

Quote:
Originally Posted by windozeuser
Hello board ^^, just recently someone got me involved in a project where they are making hydrogen gas for their car with electrolysis. They got me building all the electronics for it, and they are doing the mechanical aspect. I have everything about 80% done, expect for one part:

One sub-circuit requires a divide by N where 1000 input pulses = 1 output pulse. The circuit is using a CD4059, the problem is that the schematic only shows a block diagram for that part o.o.

The chip itself is considered obsolete, I managed to order 5 of them, but I can't figure out how to get it to divide by 1000?

If anyone can help me, I will greatly appreciate it. Also, a modern or different way of doing it is welcome, but as I said I have 5 of the CD4059's.

Thanks
Well here is a link to a data sheet that should explain how to wire and configure the divider to your requirements...

http://www.futurlec.com/4000Series/CD4059.shtml
Leftyretro is offline   Reply With Quote
Old 8th May 2007, 08:42 PM   (permalink)
Default

i think the "modern" way is to count the pulses using a microcontroller and dividing in firmware
Glyph is offline   Reply With Quote
Old 8th May 2007, 08:47 PM   (permalink)
Default

Quote:
Originally Posted by windozeuser
Also, a modern or different way of doing it is welcome, but as I said I have 5 of the CD4059's.
I agree with Glyph. For every problem there is a micro controller solution A small PIC could be a modern and cheap option.

Last edited by eng1; 8th May 2007 at 08:52 PM.
eng1 is offline   Reply With Quote
Old 8th May 2007, 09:35 PM   (permalink)
Default

Yeah I have the datasheet myself, but I can't figure it out lol. Well, I want to avoid using a microcontroller in this design.
windozeuser is offline   Reply With Quote
Old 9th May 2007, 02:57 AM   (permalink)
Default

Is "n" always equal to 1000 or is it variable?
Jeff
__________________
Nothing is impossible for the man who doesn't have to do it himself - Weiler's Law
jbeng is offline   Reply With Quote
Old 9th May 2007, 03:27 AM   (permalink)
Default

You can get divide by 1024 using a series of flip flops or a pair of 8bit ripple counters with the output being the 11th bit.
Why do you want to avoid micro controllers in your design?
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline   Reply With Quote
Old 9th May 2007, 03:58 AM   (permalink)
Default

the N will always have to be 1000. The input is the output of a 555 timer,which can vary from 10 to 90KHz, I need the CD4059 or equivalent that will divide that by 1000 for example:

input is 19000 Hz, output from CD4059 will be 19Hz.

This has to be done by Friday, and I don't currently have any micro controllers in stock. I was figuring it would easier and faster to use parts already available. How would I do that with flip flops?

1024 would probably be fine, do you have an example schematic? this has to fit on a small PCB, so the discrete components can't be much larger than the size of that CD4059, it can be a little larger, probably 2 flip flops max?

thanks

Last edited by windozeuser; 9th May 2007 at 04:01 AM.
windozeuser is offline   Reply With Quote
Old 9th May 2007, 04:09 AM   (permalink)
Default

Well I actually looked it up....
The CD4059 is a programmable divide by N counter where N is between 3 and 9999..... You already have the solution to your question in your chip stock. A simple Google search will provide you with a CD4059 PDF file with all the information you need to use it..

It's customary on forums not to ask questions while stateing in the same post that you already have a chip which will do what you want without at first trying to find the most basic amount of information about what you're asking.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline   Reply With Quote
Old 18th June 2008, 07:25 PM   (permalink)
Default windozeuser

set ka,kb and j13 to a high all other jam inputs to lows also latch(pin2) low.

I set mine this way, I have a 17 hz freq. Now my problem is, I have a 17k hz
10v input wave 17hz spike out put.
jrstiffany1 is offline   Reply With Quote
Old 18th June 2008, 07:27 PM   (permalink)
Default windozeuser

input freq

____I---I___

out put freq_____I______I_____
jrstiffany1 is offline   Reply With Quote
Old 18th June 2008, 08:54 PM   (permalink)
Default

Quote:
Originally Posted by eng1 View Post
I agree with Glyph. For every problem there is a micro controller solution A small PIC could be a modern and cheap option.
But for a small job a uC may be overkill, and it can be easier and cheaper to just use a discrete solution.

You can use a CD4060B 14-stage counter. Just pick off Q10, the 10th stage output, which will give you a divide by 1024 square-wave output.
__________________
Carl

Last edited by crutschow; 18th June 2008 at 09:00 PM.
crutschow is offline   Reply With Quote
Old 19th June 2008, 02:32 AM   (permalink)
Default

Quote:
Originally Posted by Glyph View Post
i think the "modern" way is to count the pulses using a microcontroller and dividing in firmware
This is generally a bad idea if you plan on making it easy to repair once you leave the group. Use standard components whenever possible.
__________________
salgat.blogspot.com
Salgat is offline   Reply With Quote
Old 19th June 2008, 07:03 AM   (permalink)
3v0
Default Observations

Quote:
Originally Posted by Salgat View Post
This is generally a bad idea if you plan on making it easy to repair once you leave the group. Use standard components whenever possible.
It is hard to imagine a hydrogen powered car without a custom uC control system. If they can keep the control system running they can manage a 8 pin uC in the hydrogen generator. Could be wrong.

Using a uC should be better then using obsolete parts.

Efficient use of electricity for hydrogen generation is important. The uC solution would provide some degree of flexibility.

Program a few extra uC's if you want spare parts. At about 50 cents each you can afford a few.
3v0 is offline   Reply With Quote
Old 19th June 2008, 03:33 PM   (permalink)
Default

Using a uC for the simplest of jobs may be okay but it's certainly not a simple task.

1. You need an understanding of the uC operation: speed, memory, registers, commands, I/O characteristics, counters, built-in A/D, D/A, etc.

2. You need to know programming (certainly not trivial).

3. You need a programming fixture designed for the selected uC to enter the program into it.

When it is proposed that a uC be used for a task, it is implicitly implied that all the above is available. It may not be. You have to judge if the above is reasonable or available to do the desired task.
__________________
Carl
crutschow is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
CD4059A Divide by N Chip HELP Crazy Inventor General Electronics Chat 21 1st August 2008 12:48 AM
TTL, divide by 24 and 12 RODALCO Electronic Projects Design/Ideas/Reviews 3 10th December 2006 09:11 AM
HEF4059 divide-by-n counter - doesn't divide captainhannes Electronic Projects Design/Ideas/Reviews 5 7th November 2006 12:27 AM
Divide by zero warning scout_54 Electronic Projects Design/Ideas/Reviews 1 16th March 2004 07:21 PM
¿1 Hz oscillator? LApprenti Sorcier Electronic Projects Design/Ideas/Reviews 12 20th November 2003 06:25 AM



All times are GMT. The time now is 03:07 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.