News:

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

Main Menu

dtmf decoder with pic

Started by eozkantar, Jul 29, 2023, 08:59 PM

Previous topic - Next topic

eozkantar

selam aarkadaşlar
8870 entegresi kullanmadan
sadece pic kullanarak DTMF sinyallerini çözen var mı? ...
tşk.

hi friends, is there anyone who decodes DTMF signals using only pic
without using 8870 IC ?

normnet

See in Samples24 for DTMF_Decoder_GLCD.bas and DTMF_Decoder_Mk2.bas

eozkantar

tşk
proton kullanıyorum 
Samples24 klasörü yok

thanks ,but
i use proton
Samples24 folder does not exist

See_Mos

Proton is no longer supported.  Follow this link and download the trial version of Positron.

https://sites.google.com/view/rosetta-tech/home

or contact TOP204 to buy the full version.

Pepe

#4
demo proteus

Pepe

#5
for pic16f1827 with proc fsqr() float

Stephen Moss

Quote from: eozkantar on Jul 30, 2023, 03:52 AMthanks ,but
i use proton
Samples24 folder does not exist
As @See_Mos stated, Proton is very old now and much has changes with the compiler, not only support for new devices but new commands have been added and some older commands have been depreciated and only exist for legacy reasons.

Additionally, those most likely to provide help are probably going to be using the latest or close to the latest version of the compiler and so it is possible that any code/suggestions provided to help you may not work as they contain commands not supported by Proton.

Google Translate...
@See_Mos'un belirttiği gibi, Proton artık çok eski ve derleyiciyle birlikte çok şey değişti, yalnızca yeni aygıtlar için destek değil, aynı zamanda yeni komutlar eklendi ve bazı eski komutlar kullanımdan kaldırıldı ve yalnızca eski nedenlerle var.

Ayrıca, yardım sağlama olasılığı en yüksek olanlar muhtemelen derleyicinin en son veya en son sürüme yakın sürümünü kullanacaklardır ve bu nedenle size yardımcı olmak için sağlanan herhangi bir kod/önerinin Proton tarafından desteklenmeyen komutlar içerdiğinden çalışmaması mümkündür.

top204

Excellent coding Pepe, and may thanks for your creativity and helpfulness on the forum.

Is that a form of Goertzel algorithm, or a simplified DFT algorithm using only a few bins?

Best regards
Les

Pepe

Thank you very much Less, it is a code that I took from the forum that uses the Goertzel algorithm and I modified it to adapt it to a pic16f1827 reducing the number of samples because the original used 105 and only sent the detected tone once.

keytapper

Quote from: Pepe on Apr 01, 2025, 06:48 PMfor pic16f1827 with proc fsqr() float
You've done nice for other MCU as well!
Ignorance comes with a cost

keytapper

Quote from: Stephen Moss on Apr 02, 2025, 08:42 AMGoogle Translate...
Is it available for the forum?
Well, I suppose that it's not possible to switch half way writing a post.
Ignorance comes with a cost

Pepe

demo with serout

keytapper

For DTMF decoder I still studying the Roman Black algorithm, I'm trying to implement to measure the periods and the pin change together. Even that there mentioned 12F675 has timer and pin on change option. Well that is used on the subroutines to synchronize start and collect the data.
I still amusing to do several tests.
Ignorance comes with a cost

Pepe

Original version fixed

keytapper

@ Pepe,
You should add your masterpieces to the examples section
Ignorance comes with a cost

Stephen Moss

Quote from: keytapper on Apr 02, 2025, 12:24 PM
Quote from: Stephen Moss on Apr 02, 2025, 08:42 AMGoogle Translate...
Is it available for the forum?
Unless there is a browser extension somewhere that will perform a translate and insert function I don't think there is a way of doing that directly.
Most web browsers now allow you to select text and translate to the language setting of the PC, either via right mouse click or menu item but the translation appears to be read only, as viewing is the primary reason most people would want a translation.

So I use Google Translate in a separate browser tab then copy and paste to translate it.
When an original poster writes in their own language and is kind enough to provide an English translation, I try to show the same cutesy to with my reply, at least for short, simple replies where there is a greater chance of the resulting translation being correct.
But I like to point that out that a translator was used as I don't speak/write any languages other than English.

keytapper

Yup, it's doing good but not perfectly.

Sorry for hijacking the thread
Ignorance comes with a cost

Fanie

#17
selam aleykum eozkantar !  Had to look the spelling up.

Since eozkantar got his help from Pepe, i suppose I can make a comment here.

I stumbled by chance on a Turkish series called Early Bird (Erkenci Kus) and enjoyed it so much that during the series I decided that I can just as well learn the Turkish language, what the heck and why not, having discovered a whole bunch of other series too.  I even learned some words.

The next Turkish series I watched was Cukur (The Pit) and suddenly the language sounded very different.  I then looked Turkey up and found that different dialects exist in Turkey.  And then there is the Black Sea bunch also who also talks different... and so on.

So needless to say I didn't succeed in learning the language, but understand some words here and there.
Apparently the Turkish language is very difficult to learn, which just goes to show how clever the Turkish are, their children can already speak the language at a very young age !

They even have a few words the the Boer language have, like "baie" (many) and interessant (interesting), and they also have a word that cannot be written, which is a smack sound of the tongue which means no (hayir).

Lastly on the series, Turks make the most series of all the countries in the world, and their actors perform their roles brilliantly and the scripts are excellent.  You really get PO with the baddies for instance  ;D and some scenes are very emotional.  Of course some series are not so good, but many are.

I can highly recommend the two series I mentioned, Erkenci Kus is only 51 episodes of just over two hours each.
Sorry if this post is out of order, someone can just remove it.
https://hds.turkish123.com