Monday, January 21, 2013

Raspberry Pi Sending SMS Using Python

I connect my USB modem huawei E226 modem that working with  Raspberry Pi, and not all usb modem compatible with linux you must use usb modem that compatible to pi , and i am using ArchLinux

use lsusb and dmesg to know your modem working , install python in this case i use python2, because python3 not compatible for many application

your usb modem will installed at /dev/ttyUSB0

install python2 python2-serial
pacman -S python2 pyhton2-serial

because default python in arch linux is python3 you must make link to make python2 is default

ln /usr/bin/python2 /usr/bin/python

now you can sending sms using python script

1 comment:

  1. I recently came across your blog and have been reading along. I thought I would leave my first
    comment. I dont know what to say except that I have enjoyed reading. Nice blog.
    I will keep visiting this blog very often.
    flights to Umrah
    cheap flight to jeddah
    flights to jeddah
    umrah jeddah flights
    umrah flights from London
    cheap flights to umrah