Hello,
Planning to introduce command to generate DTMF tones.
Other compilers as ProtonIDE, Bascom, PICBASIC this command include, but mikroBasic it does not.
In the example for Mikroc PRO for DSPIC is sample contained recognizing DTMF tones, it would be hard for you to convert this sample to a simple command??
Thank You
The introduction of a command to generate DTMF tones ?
Re: The introduction of a command to generate DTMF tones ?
Hi,
This is a nice proposal indeed, I will pass it to our developers.
If you have any other suggestions, please feel free to publish them.
Regards,
Filip.
This is a nice proposal indeed, I will pass it to our developers.
If you have any other suggestions, please feel free to publish them.
Regards,
Filip.
Great idea to use DTMF synthesis
Is anyone of you air modeler?
If you do not mind!
We will introduce you to the wonderful idea!
Matel an RC model you want to control him as the greatest distance and possibly transmit at this distance as much data on the drives motility system model and the flight itself.
With classic RC radios and transmitter based on the latest wifi, the maximum range is up to 2 km. A solution by increasing the transmit power is useless, because the transmit power is limited by law.
However, there is a very cheap and progressive solutions using GSM network.
Mobile operators already offer very cheap calls or even calls to several numbers for free (the voice service not about data and GPRS).
Then just use the model to control two mobile phones and transfer data and commands to use DTMF. DTMF has 16 tonne that it is fully sufficient for a 4-bit data transfer. In fact, if it were bidirectionally transmit data in an audio format-like data recording on a cassette tape in the 80 years of the eight-bit ZX Spectrum.
This method of control RC models would allow an infinite range of the transmitter and data transfer and flight information (Tele-metrics).
For Mikroe compilers would mean to introduce commands for synthesis and recognition, DTMF (eg two basic commands: tonevariable=DTMFIN pin DTMFOUT pin,tone and two for data transfer: DTMFDATAIN pin, byte DTMFDATAOUT pin,byte) and commands for controlling servos modeling. ie for example SERVO pin, position.
If you have these commands to work with servi pattern, using a DTMF SYNTHESIS introduced compilers Mikroe become very sought after among modeller community.
PS. You could develop a special Shield to control RC models using DTMF synthesis and GSM networks.
If you do not mind!
We will introduce you to the wonderful idea!
Matel an RC model you want to control him as the greatest distance and possibly transmit at this distance as much data on the drives motility system model and the flight itself.
With classic RC radios and transmitter based on the latest wifi, the maximum range is up to 2 km. A solution by increasing the transmit power is useless, because the transmit power is limited by law.
However, there is a very cheap and progressive solutions using GSM network.
Mobile operators already offer very cheap calls or even calls to several numbers for free (the voice service not about data and GPRS).
Then just use the model to control two mobile phones and transfer data and commands to use DTMF. DTMF has 16 tonne that it is fully sufficient for a 4-bit data transfer. In fact, if it were bidirectionally transmit data in an audio format-like data recording on a cassette tape in the 80 years of the eight-bit ZX Spectrum.
This method of control RC models would allow an infinite range of the transmitter and data transfer and flight information (Tele-metrics).
For Mikroe compilers would mean to introduce commands for synthesis and recognition, DTMF (eg two basic commands: tonevariable=DTMFIN pin DTMFOUT pin,tone and two for data transfer: DTMFDATAIN pin, byte DTMFDATAOUT pin,byte) and commands for controlling servos modeling. ie for example SERVO pin, position.
If you have these commands to work with servi pattern, using a DTMF SYNTHESIS introduced compilers Mikroe become very sought after among modeller community.
PS. You could develop a special Shield to control RC models using DTMF synthesis and GSM networks.
Re: The introduction of a command to generate DTMF tones ?
I'll second this. There are some applications where sending SMS is too much fooling around (and may wear out the SIM card), and DTMF is a more suitable solution. The GSM modules generally have DTMF generating AT commands, but the PIC needs to be able to decode it from the audio.
Sometimes this may be also be a good way to send wired signals, so an encoding function would also be helpful.
Decoding may require DSP, and only be feasible on dsPIC, PIC32, ARM, and maybe AVR. OR maybe not.
Sometimes this may be also be a good way to send wired signals, so an encoding function would also be helpful.
Decoding may require DSP, and only be feasible on dsPIC, PIC32, ARM, and maybe AVR. OR maybe not.
If you know what you're doing, you're not learning anything.
Re: The introduction of a command to generate DTMF tones ?
Yes you will need a DSP or MCU very fast. ARM, dsPIC and PIC32 certainly will suffice.
The site Mikroe demo of this communication for dsPIC30 MCU, but it seems that with the further development MIKROE it does not count.
The main advantage of DTMF is that there are operators who offer calls to selected numbers for free, or tariff without limit. Then communications using DTMF is unlike SMS or data transfer fully free and any distance.
Ideal for RC models!!
Thak you
The site Mikroe demo of this communication for dsPIC30 MCU, but it seems that with the further development MIKROE it does not count.
The main advantage of DTMF is that there are operators who offer calls to selected numbers for free, or tariff without limit. Then communications using DTMF is unlike SMS or data transfer fully free and any distance.
Ideal for RC models!!
Thak you
Re: The introduction of a command to generate DTMF tones ?
Hello Filip,
Any progress with this one ?
Thank you
Any progress with this one ?
Thank you
Re: The introduction of a command to generate DTMF tones ?
Hello,
Its good to add DTMF library in compilers as support of dedicated enc/dec DTMF IC such as HT9200A, HT9170, MT8870 or similar, and even enc DTMF codes direct with uC using PWM. Even PIC16 can generate DTMF codes over PWM, no need for ARM in this. To be 100% sure in DTMF code encoding/decoding use dedicated IC.
DTMF usage in real time remote control is not good, you will have big latency. Some people try this earlier and project failed.
Use standard method of transmission, such as ASK/FSK or some other type of modulation.
Best regards,
Peter
Its good to add DTMF library in compilers as support of dedicated enc/dec DTMF IC such as HT9200A, HT9170, MT8870 or similar, and even enc DTMF codes direct with uC using PWM. Even PIC16 can generate DTMF codes over PWM, no need for ARM in this. To be 100% sure in DTMF code encoding/decoding use dedicated IC.
DTMF usage in real time remote control is not good, you will have big latency. Some people try this earlier and project failed.
Use standard method of transmission, such as ASK/FSK or some other type of modulation.
Best regards,
Peter
Re: The introduction of a command to generate DTMF tones ?
Hello guys, this library from Roman Black doesn't fits your needs ?
http://www.libstock.com/projects/view/6 ... -smartglcd
He also provide the decoding library : http://www.libstock.com/projects/view/6 ... -a-pic-16f
http://www.libstock.com/projects/view/6 ... -smartglcd
He also provide the decoding library : http://www.libstock.com/projects/view/6 ... -a-pic-16f
Serge T.
Learning is an endeless process but it must start somewhere!
Learning is an endeless process but it must start somewhere!
Re: The introduction of a command to generate DTMF tones ?
Hi,
Open "DTMF Decoding Software with a PIC" link in post 4, thread link is http://www.mikroe.com/forum/viewtopic.php?f=88&t=52852
Simple DTMF decoding with PIC12F629, PIC12F675 and PIC16F628.
Best regards,
Peter
Open "DTMF Decoding Software with a PIC" link in post 4, thread link is http://www.mikroe.com/forum/viewtopic.php?f=88&t=52852
Simple DTMF decoding with PIC12F629, PIC12F675 and PIC16F628.
Best regards,
Peter
Re: The introduction of a command to generate DTMF tones ?
Jardik wrote:Hello,
Planning to introduce command to generate DTMF tones.
Other compilers as ProtonIDE, Bascom, PICBASIC this command include, but mikroBasic it does not.
In the example for Mikroc PRO for DSPIC is sample contained recognizing DTMF tones, it would be hard for you to convert this sample to a simple command??
Thank You
Hi,
DTMF with HT9200A (Serial Mode) for MikroC Pro
http://www.libstock.com/projects/view/8 ... erial-mode
MikroC Pro Library code example:
Code: Select all
#include "DTMF_HT9200A.h"
void main()
{
DTMF("1234567890"); // <<-- Generate DTMF for 1234567890
}
Happy New Year!!!
Best regards,
Peter