From: Chris on
I have posted several threads about converting 24Hz pulses to 60Hz
basically a 5/2 ratio. I tried a phase locked loop, it sorta works,
but my chip count is getting high, and I am thinking about making more
of these and selling them if I can write a computer program to resolve
wave sound files.

Therefore, since I am not very familiar with micro controllers, I was
not planning on using one. However, I remember an engineer friend of
mine mentioning the BASIC stamp. I have dabbled in BASIC so, I might
approach the problem with this as a solution, especially if I can do
it with one or two chips.

I would think that I could sample the 24Hz side for one second. Take
that number and use it to divide a much higher frequency quartz
reference by some large value of N so that I can get it back down to
60Hz. Therefore my lock time would be one second. I can have an easy
lock indication and a fairly fast response to any changes in
frequency.

What do you guys/gals think?

Regards,
Chris Maness
From: Jan Panteltje on
On a sunny day (Fri, 5 Mar 2010 11:11:38 -0800 (PST)) it happened Chris
<christopher.maness(a)gmail.com> wrote in
<29529065-09fc-4636-9a29-c618cbc16f42(a)x1g2000prb.googlegroups.com>:

>I have posted several threads about converting 24Hz pulses to 60Hz
>basically a 5/2 ratio. I tried a phase locked loop, it sorta works,
>but my chip count is getting high, and I am thinking about making more
>of these and selling them if I can write a computer program to resolve
>wave sound files.
>
>Therefore, since I am not very familiar with micro controllers, I was
>not planning on using one. However, I remember an engineer friend of
>mine mentioning the BASIC stamp. I have dabbled in BASIC so, I might
>approach the problem with this as a solution, especially if I can do
>it with one or two chips.
>
>I would think that I could sample the 24Hz side for one second. Take
>that number and use it to divide a much higher frequency quartz
>reference by some large value of N so that I can get it back down to
>60Hz. Therefore my lock time would be one second. I can have an easy
>lock indication and a fairly fast response to any changes in
>frequency.
>
>What do you guys/gals think?
>
>Regards,
>Chris Maness

Years ago I posted a PIC 50 Hz PLL asm code here.
Or maybe it was 25 Hz.
I would not bother with BASIC, likely way too slow, and way too much resources hungry.
A 1$50 12 pin PIC should do...
From: Chris on
On Mar 5, 11:59 am, Jan Panteltje <pNaonStpealm...(a)yahoo.com> wrote:
> On a sunny day (Fri, 5 Mar 2010 11:11:38 -0800 (PST)) it happened Chris
> <christopher.man...(a)gmail.com> wrote in
> <29529065-09fc-4636-9a29-c618cbc16...(a)x1g2000prb.googlegroups.com>:
>
>
>
> >I have posted several threads about converting 24Hz pulses to 60Hz
> >basically a 5/2 ratio.  I tried a phase locked loop, it sorta works,
> >but my chip count is getting high, and I am thinking about making more
> >of these and selling them if I can write a computer program to resolve
> >wave sound files.
>
> >Therefore, since I am not very familiar with micro controllers, I was
> >not planning on using one.  However, I remember an engineer friend of
> >mine mentioning the BASIC stamp.  I have dabbled in BASIC so, I might
> >approach the problem with this as a solution, especially if I can do
> >it with one or two chips.
>
> >I would think that I could sample the 24Hz side for one second.  Take
> >that number and use it to divide a  much higher frequency quartz
> >reference by some large value of N so that I can get it back down to
> >60Hz.  Therefore my lock time would be one second.  I can have an easy
> >lock indication and a fairly fast response to any changes in
> >frequency.
>
> >What do you guys/gals think?
>
> >Regards,
> >Chris Maness
>
> Years ago I posted a PIC 50 Hz PLL asm code here.
> Or maybe it was 25 Hz.
> I would not bother with BASIC, likely way too slow, and way too much resources hungry.
> A 1$50 12 pin PIC should do...

What are some models that would be good for that application. I see
some 8 pin models that are only $2. The only problem is that I have
NO clue how to start programming them.

Regards,
Chris
From: Jan Panteltje on
On a sunny day (Fri, 5 Mar 2010 12:32:47 -0800 (PST)) it happened Chris
<christopher.maness(a)gmail.com> wrote in
<248a815a-80f1-425c-8bbe-fe9a2829ba14(a)g8g2000pri.googlegroups.com>:

>On Mar 5, 11:59�am, Jan Panteltje <pNaonStpealm...(a)yahoo.com> wrote:
>> On a sunny day (Fri, 5 Mar 2010 11:11:38 -0800 (PST)) it happened Chris
>> <christopher.man...(a)gmail.com> wrote in
>> <29529065-09fc-4636-9a29-c618cbc16...(a)x1g2000prb.googlegroups.com>:
>>
>>
>>
>> >I have posted several threads about converting 24Hz pulses to 60Hz
>> >basically a 5/2 ratio. �I tried a phase locked loop, it sorta works,
>> >but my chip count is getting high, and I am thinking about making more
>> >of these and selling them if I can write a computer program to resolve
>> >wave sound files.
>>
>> >Therefore, since I am not very familiar with micro controllers, I was
>> >not planning on using one. �However, I remember an engineer friend of
>> >mine mentioning the BASIC stamp. �I have dabbled in BASIC so, I might
>> >approach the problem with this as a solution, especially if I can do
>> >it with one or two chips.
>>
>> >I would think that I could sample the 24Hz side for one second. �Take
>> >that number and use it to divide a �much higher frequency quartz
>> >reference by some large value of N so that I can get it back down to
>> >60Hz. �Therefore my lock time would be one second. �I can have an ea=
>sy
>> >lock indication and a fairly fast response to any changes in
>> >frequency.
>>
>> >What do you guys/gals think?
>>
>> >Regards,
>> >Chris Maness
>>
>> Years ago I posted a PIC 50 Hz PLL asm code here.
>> Or maybe it was 25 Hz.
>> I would not bother with BASIC, likely way too slow, and way too much reso=
>urces hungry.
>> A 1$50 12 pin PIC should do...
>
>What are some models that would be good for that application. I see
>some 8 pin models that are only $2. The only problem is that I have
>NO clue how to start programming them.
>
>Regards,
>Chris

I dunno, how many I/O pins, what clock speed,
do you need any thing else like an ADC or comparators, EEPROM?
I used a 12F629.
You need a programmer, can be made yourself for a few $,
or buy one for a lot of dollars, like 50$ even.
Then you need MPLAB from Microchip, the PC software development environment.
I do no tuse that either, I wrote my own programmer software and use Linux and gpasm.
You DO need an oscilloscope in my opinion, else no clue what PIC does.

From: linnix on
On Mar 5, 11:11 am, Chris <christopher.man...(a)gmail.com> wrote:
> I have posted several threads about converting 24Hz pulses to 60Hz
> basically a 5/2 ratio.  I tried a phase locked loop, it sorta works,
> but my chip count is getting high, and I am thinking about making more
> of these and selling them if I can write a computer program to resolve
> wave sound files.
>
> Therefore, since I am not very familiar with micro controllers, I was
> not planning on using one.  However, I remember an engineer friend of
> mine mentioning the BASIC stamp.  I have dabbled in BASIC so, I might
> approach the problem with this as a solution, especially if I can do
> it with one or two chips.
>
> I would think that I could sample the 24Hz side for one second.  Take
> that number and use it to divide a  much higher frequency quartz
> reference by some large value of N so that I can get it back down to
> 60Hz.  Therefore my lock time would be one second.  I can have an easy
> lock indication and a fairly fast response to any changes in
> frequency.

If your signal is 24Hz, where is the changes in frequency coming
from? We need to know more about the spec first.

>
> What do you guys/gals think?
>
> Regards,
> Chris Maness