markelectro said:
Thanks for this
all sounds very interesting and could be what I'm after But!! sory there is a lot I don't understand in the explination.If you have the time and could expalin in laymans terms I would be very pleased in hearing from you.
Do you have the data sheet of the 74HC161?
You need this in order to understand what the IC does and my post.
So I suggest you download one and re-read my post.
Then ask any questions that you can't resolve.
Of course, you can do it all in a PIC if you have PIC knowledge and a PIC programmer.
The Modulo of a numbering system is the number of digits it uses.
eg. decimal is modulo ten since it has 12 digits 0, 1 ~ 9.
Binary is Modulo 2 since it has 2 digits, 0 & 1.
Modulo 6 has 6 digits, 0, 1, ~ 5.
The IC counters count in binary but you can make them count in any "Modulo". The digits are coded in binary but can be displayed as numeric digits using a 7 segment display.
For example, a digital clock is working in binary, but it displays the time in decimal. So to make a digital clock you need 2 Modulo 60 counters (one for the seconds and one for the minutes) and either a Modulo 12 or 24 counter for the hours.
There have been plenty of threads on counters in the forum. So do a search for "counter".