![]() |
![]() |
![]() |
|
|
|||||||
| 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? |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
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 |
|
|
|
|
|
|
(permalink) | |
|
Quote:
http://www.futurlec.com/4000Series/CD4059.shtml |
||
|
|
|
|
|
(permalink) |
|
i think the "modern" way is to count the pulses using a microcontroller and dividing in firmware
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
Last edited by eng1; 8th May 2007 at 08:52 PM. |
||
|
|
|
|
|
(permalink) |
|
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.
|
|
|
|
|
|
|
(permalink) |
|
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 |
|
|
|
|
|
|
(permalink) |
|
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." |
|
|
|
|
|
|
(permalink) |
|
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. |
|
|
|
|
|
|
(permalink) |
|
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." |
|
|
|
|
|
|
(permalink) |
|
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. |
|
|
|
|
|
|
(permalink) |
|
input freq
____I---I___ out put freq_____I______I_____ |
|
|
|
|
|
|
(permalink) | |
|
Quote:
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. |
||
|
|
|
|
|
(permalink) |
|
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 |
|
|
|
|
|
|
(permalink) | |
|
Quote:
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.
__________________
search engine for electronic partsJunebug USB PIC programmer kit., USB Bit Wacker, Homepage The 15 Minute Printed Circuit Board! (+drill time) |
||
|
|
|
|
|
(permalink) |
|
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 |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| 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 |