hi
i have dtmf decoder(cs9370gdp). In the manual it is given to connect q1,q2,q3,q4 to some 3,4,5,6 pins.. is that connection fixed or we can change it...? i have tried by changing the pins but i am not able to get the same output. actually i need four pwm signal pin as they mentioned in their manual it is connected to 3 pwm signals and 1 digital pin so we have only 3 left... please help.
But I saw this code using pin 16,17,18,&19, it say can be connected to any four digital pins.
const int StD=0; // Can be connected to Interrupt 0/1 (i.e. D2/D3)
const int Q[4]={
16,17,18,19}; // Can be connected to any four digital pins
int key;
void setup()
{
Serial.begin(9600);
attachInterrupt(StD,dtmf,RISING); // attach the interrupt to be activated at the Rising edge of the StD pulse
for(int i=0;i<4;i++)
pinMode(Q[i],INPUT); // define the data pins Q1-Q4 as input pins
}
void loop()
{
}
void dtmf()
{
key=0;
for(int i=0;i<4;i++)
key+=digitalRead(Q[i])<<i; // Read the data pins digitally and convert it into a decimal number
Serial.println(key);
}
DTMF Decoder board.pdf (429 KB)
Hey,guys...am new here...still learning the ropes...
i have a dtmf decoder and i'd like help on how to connect it to the 2phones and arduino then see it function...information plus schematics will be well appreciated.ThankYou.
You won't get anywhere until you specify the decoder chip or assembly so that either you have a datasheet, or we can find it for you.
I have the DTMF decoder MT8870.
can I get help with that?
Hey,guys...
i have a dtmf decoder MT8870 and i'd like help on how
to connect it to the 2phones and arduino then
see it function...information plus schematics
will be well appreciated.ThankYou.
924355:
Hey,guys...
i have a dtmf decoder MT8870 and i'd like help on how
to connect it to the 2phones and arduino then
see it function...information plus schematics
will be well appreciated.ThankYou.
Hooking a 8870 to an arduino is pretty simple, just 4 data input pins and one dataready input pin. However your desire to "connect it to the 2 phones" is not clear at all. What are the objectives of the project?
I want to use it to control a quadcopter/Rover:) ..but thats later on,I want to see it in action so that I know how to implement this function to the project or anyother whatsover... I want to be able to call the other phone then see it decode the buttons I press...
I also want to see how I connect the receiving phone to the dtmf decoder or arduino..am pretty new at this, diagrams/schematics will be pretty helpful.