3G Internet on Raspberry Pi - Success!


This is a bit of a brain dump of how I got a 3G USB dongle working on the Raspberry Pi. Following on from getting the Raspberry Pi to send SMS. That's The Power Of Love The first thing to say is use a powered USB hub! I had lots of problems getting the modem working when it was plugged directly into the Pi. A 3G signal takes more power than the Pi's USB sockets can supply. In the above image, you can see that the Raspbery Pi is plugged into the mains - via a 1.8A plug. The USB cable has …

Continue reading →

Raspberry Pi, Python, and 3G Dongles - oh my!


A 3G dongle stuck in a Raspberry Pi computer.

This is a bit of a brain dump / diary of what I've discovered about using 3G dongles to send SMS using Python on the Raspberry Pi. Here is how to use Python to send an SMS from the Raspberry Pi via a 3G USB dongle. In order to talk to the dongle, we need to install pyserial wget http://pypi.python.org/packages/source/p/pyserial/pyserial-2.6.tar.gz gunzip pyserial-2.6.tar.gz tar -xvf pyserial-2.6.tar cd pyserial-2.6 sudo python setup.py install Save this file as sms.py - make sure you change …

Continue reading →