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…
Continue reading →
Cracking on with my Raspberry Pi, I've written my first program in Python. The aim - to be able to send an SMS via a 3G USB dongle. The problem - the way SMS needs to be encoded is hideously complicated. For example, suppose you want to send "This is a very simple message :-)" to the phone number +447700900123. This is the command that you need to send to your dongle: AT+CMGS=42…
Continue reading →
(I think I'm the first person to try this - so I decided to document the process.) A few weeks ago, I won a Raspberry Pi at the #OTA12 hackday. It arrived on Friday, so I thought I would turn it into an SMS server using the incredible FrontlineSMS. 0. Setting up the Pi This is the easy part. Follow the excellent guide on the eLinux wiki. Essentially, download the Debian image, extract, and dd…
Continue reading →
At Over The Air I demonstrated what I considered a novel use for one of Android's sensors. I wanted to create a Theremin - a type of musical instrument which is played by moving one's hand over it - changing pitch and tone by moving nearer or further away. My first attempt used the proximity sensor. However, on all the Android phones I tried the sensor's accuracy was binary - it could sense…
Continue reading →
Twitter recently announced that 80% of UK users were active on mobile. The means every time you tweet a link to your website, the chances are that it will be a mobile device which tries to open your site. This is a quick guide to what I consider to be the "best practices" for mobile redirection. It's pretty simple. Have a mobile friendly site. Redirect users who have a mobile. …
Continue reading →
I love Android, I really do. I'm chuffed to bits with the Galaxy Nexus I won recently. I've had a dozen Android phones before that - stretching all the way back to the HTC Magic. But it's getting obvious that Android has a serious design problem - even with the gorgeous new "Holo" theme for ICS. The issue is one of consistency. Users have limited cognitive surplus and often rely on muscle…
Continue reading →
Another brilliant event from Over The Air. The perfect mix of lectures, hacking, and relaxing in a country manor / museum. And, to top it off, my hack won a brace of prizes! The Wifi just about held up. Although I think it's fundamentally impossible to provide decent connectivity to 200+ people. Especially when they're geeks. Dan Benton@dogsbodyorgIt's people like @edent that break…
Continue reading →
Before Cadbury's inaugural hackday began there were a number of rumblings on the blogs about the extact nature of Cadbury's intentions. See Thayer Prime's and Emma Mulqueeny's thoughts on the subject. As it happens, after a bit of gentle poking, some of the terms were clarified. The event itself went rather well, but I'd like to point out a few points where it didn't quite live up to the Hack…
Continue reading →
The argument over the nano-SIM is a distraction. It's a sleight of hand designed to catch the industry off guard and fool it into doing something really stupid. The SIM is designed to do a number of things; encryption, address storage, hold SMS, etc. Most importantly, it's designed to be swappable. With GSM, you can choose your phone and your network provider separately. Want the iPhone? Hate …
Continue reading →
I had a chance to play with Senseg's feelable technology today - here's a quick video showing it off. The guys are (naturally) cagey about their product launch, but here's what I was able to glean. It will be multi-touch compatible. The tablet appeared to be Android - that's just the demo unit though. Developer tools will be available. Consumer launch in the first half of…
Continue reading →
Last week, I posted this tongue-in-cheek suggestion. Terence Eden is on Mastodon@edentPrediction*: iPhone5 & Samsung Galaxy S 3 to have IDENTICAL hardware. Battle of the OS / ecosystems!*Well, wishful thinking!❤️ 0💬 0🔁 008:22 - Thu 26 April 2012 Wouldn't it be great if there was a proper show-down between the two major players? You could really compare which OS was best given the same hardware. …
Continue reading →
You cannot fail to have noticed that in most American films and TV shows, all the phone numbers start 555. This is a reserved number in the North American Numbering Plan. It means that it's a number which will never connect to a real person or service. So you can avoid the situation where a number is spoken on a show, or in a song, and everyone tries to call it - much to the annoyance of the…
Continue reading →