PICAXE 18X i2c connection to DTMF chip.

husslemk4

New Member
Iam using a PCD3312CT i2c DTMF chip for my AS level Electronics project and i am having problems making output DTMF tones. There is a chance that the chip might have been damaged as it is a SOIC and soldering to the DIL adaptor, but i think its that i dont know the basic programm it, Any advice would be gratefully received,
The data sheet for the chip is :
http://docs-europe.electrocomponents.com/webdocs/011e/0900766b8011ea47.pdf
 

Technical

Technical Support
Staff member
Make sure both mode (if present) and A0 pins are low.

This (untested) sample program should then make the 16 DTMF noises:

i2slave %01001000,i2cslow,i2cbyte

for b1 = $10 to $1F
writei2c (b1)
pause 1000
next b1

Have a read through the i2c PICAXE tutorial datasheet to make sure you understand how SDA and SCL (and the 4k7 pull ups) work.
 
Top