Monday, 8 April 2013

AT Command tests

As mentioned in the previous post you have to use Hyperterminal - there are others - e.g. minicom, but Hyperterminal seemed to be the most refered to in the Windows world.

Instructions can be found here:

http://www.developer.nokia.com/Community/Wiki/AT_Commands

The commands I am interested in are

ATDxxxxxxxxxx;    // Dials a number - colon on end
AT+CHUP  // Hangs up
ATA  // Answer an incomming call
AT+CBC  // current battery charge

When the Nokia rings the text "RING" is sent to the hyperterminal, it maybe possible to monitor for this or  detect the signal sent to the ringer in the mobile phone to activate one of the inputs on the PIC - if this voltage is high enough then this may be the best option.

Could Include an option that will indicate the charge on the battery when a certain sequence is dialled. This could be 4 pips for full charge 1 for 25% etc.

Next step is to get a RS232/USB cable to check that serial commands can be sent - I'll use Minicom under Linux for this (just to make sure that the modem features of the Nokia 6301 are not "WinModem").


No comments:

Post a Comment