
Originally Posted by
aratti
Camola, from your code it seems that you are using portC.6 and PortC.7 for communication with cellphone. If this is correct then:
Connect pic portC.6 to max232 pin 11 (TTL Tx)
Connect pic portC.7 to max232 pin 12 (TTL Rx)
Connect max232 pin 14 to phone serial cable pin 3 (Should be Rx ?)
Connect max232 pin 13 to phone serial cable pin 2 (should be Tx ?)
Connect circuit ground to phone serial cable pin 5
(If you connect it to the PC I assume you have a 9 pins DB female connector)
It should work. If it doesn't invert connections at the serial cable pins 2 & 3
Al.
Bookmarks