Hi..
I'm trying to build my own PSTN-based home controller.
Yes, I know that many would suggest to build IP-based one. The problem is subscribing internet here is far more expensive than subscribing PSTN-line. Sucks..
Anyway, I use AVR Mega8535 with MT8888 so I can control my house and get its status (through code that's encoded using DTMF).
But I'm having trouble with reading MT8888 decoded DTMF.
I can setup and read the IRQs (the MT8888 IRQs is ACTIVE whenever the DTMF signal comes into the board, it works just fine on me). Then I can read the status (the status shows that there is some data in the receive buffer and the IRQ is ON, that's good and it supposed to be so).
But, whatever phone key that I pressed, I always get 0 (0x0) in the received data register. I already change the MT8888, the xtal, resistor (to have bigger analog gain), and the transformator that connect MT8888 with PSTN-line.
Gee..looks like I already change everything except the board :p But I still got zeroes in the reading.
Does anybody have had the same problem ? Could you share it to me ?
I would be very thankful for some infos...