News:

Let's find out together what makes a PIC Tick!

Main Menu

Tone Detector with PIC18F25K20

Started by AlbertoFS, May 03, 2024, 09:02 AM

Previous topic - Next topic

AlbertoFS

Hi John,
I have finished the code for the PIC18F25K20 to be able to detect the tones and the CTCSS. Although it would be appropriate to try the PIC12F683, adjusting the parameters. In the Firmwares folder, I have put 2 HEX files, for the PIC12F683 and the PIC18F25K20 compiled with the same parameters. Of course the code is much faster and more efficient with the PIC18.
This project would be useful to determine the Sine/Cosine/Coeff parameters for other PICs.
It is also prepared to easily generate HEX firmwares for the detection of CTCSS tones. By varying its parameters, I believe
that you could find a solution for your needs.
I have been able to test with the Amicus18 board at 80Mhz and the tone can be detected with less than 80mS. But more tests need to be done. I recommend using a 240 or 150Hz low-pass filter.
Greetings
73's de EA3AGV

top204

Many thanks Alberto.

It is truly exhilarating to see the compilers used for such complex and useful projects, and makes my years of work on them, well worth it. :-)

John Drew

Thanks Alberto.
I have a 18F25k22 which should work. I'll give it a try over the weekend.
Best wishes
John

John Drew

Hello Alberto,
There are no ISIS design files in your ZIP.
Best wishes
John

AlbertoFS

Hi John,
There is ISIS for PIC18. I have Proteus for these PICs only.
Alberto
73's de EA3AGV

John Drew

Quote from: AlbertoFS on May 04, 2024, 06:57 AMHi John,
There is ISIS for PIC18. I have Proteus for these PICs only.
Alberto
OK, thanks Alberto. I misunderstood. I'll try again with the one in Positron.
Best wishes
John

Pepe

proteus for 12f683