Tag Archive | SMS via Raspberry Pi

Raspberry Pi: Control Nokia 3310 via gnokii

Recipes:

  1. I’m using the official Raspbian Wheezy from http://www.raspberrypi.org/downloads
  2. First of all: To be able to use the serial interface of the raspberry pi you have to deactivate the console in the inittab. Therefore comment the line after „#Spawn a getty on Raspberry Pi serial line“ -> T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
  3. To connect the Nokia 3310 with the Raspberry Pi these pages are pretty useful: http://www.embedtronics.com/nokia/fbus.html and http://www.8051projects.info/expC144.asp [links dead]. In the first page the pin assignment of the serial port of the Nokia phone is shown, as well as some useful information about the Fbus protocol. The second page shows the fairly simple connection circuit between the data ports. For the Raspberry Pi pin out this page is the first address.
  4. Now put all together:fbus1 I soldered the cable directly to the Nokia pinout.
  5. The software to control the Nokia 3310 phone is called gnokii. Install via apt-get install gnokii.
  6. Set up a config file with following lines:
    [global]
    model = 3310
    port = /dev/ttyAMA0
    connection = serial
  7. To test your set up just call gnokii –identifysetup
Advertisements