venerdì 27 dicembre 2013

Call and send SMS with your old Nokia mobile phone and Arduino

Here you find a brief description on my experiments made with my old mobile phone Nokia 6610i and Arduino UNO.

Connecting Arduino and the Nokia 6610i

I have used the FBUS communication channel that (on old Nokia mobile phones) uses a bidirectional serial port available on two pins of phone's connector.
Here you find the pinouts for the Nokia 6610i phone , and  also others models:

We will use the following pins of the phone bottom connector:
Pin
Number
Pin
Name
Description
2 GND Charger ground
6 FBus Rx/USB D+ USB exists only in some models*. Should be connected to USB pin 3 in usb data cable. (USB DATA+)
7 FBus Tx/USB D- USB exists only in some models*. Should be connected to USB pin 2 in usb data cable. (USB DATA-)

We have to connect the pin 2 (GND) to the GND of our Arduino, the pin 6 (FBus Rx) to the Tx of the Arduino serial port and the pin 7 (FBus Tx) to the RX of the Arduino, as you can see in the following image.

Some testing (from the PC) using Gnokii

Gnokii (http://gnokii.org/) is an open source program that allow you to control your phone directly sending to it commands using the COM port of your PC.
We have to connect our Arduino to the PC as described in the previous step and we can use the COM port related to the Arduino to send commands directly to the serial port of the Nokia 6610i using Gnokii. Gnokii uses the FBus commands to control the phone, here an example of things that you can do calling Gnokii from a command window:

Send an sms (text stored in the file txtsms.txt) to another phone number:
c:\>gnokii.exe --sendsms 34801234567 <txtsms.txt
Read the first sms in the folder "IN":
c:\>gnokii.exe --getsms IN 1
Make a call:
c:\>gnokii.exe --dialvoice 34801234567



Nessun commento:

Posta un commento