Disconnected from the Internet of Things in Singapore

Disconnected from the Internet of Things in Singapore

Yesterday I attended a training for Arduino and Windows Azure at the Singapore Science Centre. Part of a training session conducted in the run-up to a programming contest organised by the ITSC to be held on the 2nd August, the initiative seems generally well-intentioned, but perhaps, ever so slightly lagging with the times. You know, the same feeling one gets when one first hears about Windows Azure… “Um, isn’t it kinda almost too late for Windows Azure to try to compete with Amazon Web Services to be the biggest public cloud provider…? What exactly is the difference anyway?”

Nevertheless I’m always keen to explore to new classes about things that I don’t know about because sometimes you find interesting leads from them. So I thought I’d give Azure a chance, hopefully find out how its different from AWS. I mean, sometimes one is very pleasantly surprised about how excellent some of these free classes can be – for example, once I attended a brilliant Rails for Girls class (walking us through Railsbridge’s curriculum); it was a joy to learn and we all made something up and running within a day, and the instructors were so generous and patient with everyone…

Unfortunately, this is not going to be one of those happy stories.

If the tutorial was to inform people about the bigger picture of why its important to explore new technologies like Arduino, Windows Azure, xively, etc, then I suppose that was achieved. However, if this tutorial was to arm its attendees with the actual practical skills to do it, then this drew a complete blank.

For an introduction to connecting Arduino to the internet, you would have thought they would have informed attendees to get and bring an Arduino and Wifi shield in advance, in order to make the session more meaningful. The Arduinos connected to the computers in the lab were resultantly just for show, because without the wifi shield we could not follow the example shown on screen, and staring for half an hour at the code on the big screen was generally pointless, even if I could follow the instructor’s general reasoning and chain of thought.

The room used for the training had Windows computers stuck in the dark ages – only running IE8, meaning that sites with minimum browser requirements such like xively (which was being demoed) could not run on them. The most bizarre of all was that the room where the talk was held did not have a free/open or reliable wifi connection, which you would imagine, IS SOMETHING THAT WOULD BE VITAL WHEN CONDUCTING A TALK ON HOW TO USE THE WIFI SHIELD FOR ARDUINO? How does the Science Centre NOT have its own wifi network? Why is the Wireless@SG there so infuriatingly slow to the point that trying to surf the internet was like trying to eat jelly with chopsticks? I could only facepalm in the corner as the instructor asked people if they could ping him to see if he was online. My iPhone-tethered 3G connection was disappointingly slow from that location as well.

The software introduced was not free or open source, although there is 30 day trial for Azure. The signup for Windows Azure requires a credit card authorization (similar to AWS) although you will not be charged, something which I suspect most of the secondary school students in the room would not have been able to provide on their own. I could not immediately find a simple way to access their educators schemes as well, it required the educator to submit lesson plans involving Windows Azure in order to obtain an educators’ pass for students and educator.

The free trial comes with up to $200 credits, although this was sadly not explained in terms of what $200 amounted to in services. On the other hand, I should note that at the AWS seminars which I attended in the past (and which were attended by working professionals), the payment charges and estimated payments for types of volume of service were explained in detail.

A survey of the room showed that none of the attendees besides myself had dabbled in making mobile apps before (and I have only dabbled on a very low-level), thus any deeper discussion of the technical aspects of Windows Azure was probably lost on many, which was a real pity.

Nevertheless, the Microsoft instructors made a good go at “selling” to us the overall importance of understanding the internet of things and the wide and amazing possibilities of what we could explore making. Pity he was already speaking to the converted though – because I mean, if I dragged myself OUT OF BED at 7.30AM ON A SATURDAY MORNING to travel from the eastside to the distant unholy nether regions of Jurong East to attend this talk at the Science Centre, you’d better damn well believe that I already have a pretty good interest in wanting to learn more about the internet of things!

As someone who has spent a little time being an instructor (AS3), I know that I have a tendency to be very critical about how people conduct any form of IT/programming instruction. And I know its also hard to teach even if you are brilliant at the language – teaching is another thing entirely. But I think it is really important for IT education to be conducted PROPERLY and thoughtfully. I think a lot of people are put off from doing programming and learning technical stuff BECAUSE the classes are terminally dull, are intimidating in terms of what they expect you to know already before coming to the class (they did not ask what level of programming or what languages people used, so for all we know all that json or processing-type stuff they were showing on screen could have all been complete gobbledygook to the attendees!!!). And as usual, it was not really a female-friendly environment either, there were maybe a total of 4 females amongst a couple dozen males, and THE WHOLE COMPUTER LAB WAS PAINTED FROM FLOOR TO CEILING IN BLUE! Talk about overkilling on the gender signifiers…

Anyway the most important thing I want to say is:


But on to more productive things. Instead of trotting to the Science Centre again, I think I should embark on my own self-study of how to build small projects with Arduino and Raspberry Pi here instead. And yesterday to the credit of one of the instructors, he did introduce something called xively, a service that one can get up and running in a jiffy:


Some might remember this as pachube, and them cosm. Xively is a cloud service that allows you to store data points collected from sensors on objects/devices/buildings on the web. From there, you can develop apps and other programs to use this data intelligently. The free option on xively allows you to connect up to 5 devices.

Within five minutes of signing up you can get a very simple example working with any smartphone – the test drive shows you an example of a “package” with gps and gyro sensor (in this case, your phone) and allows you to see what direction it is tilted at.

On the iPhone

Screen Shot 2013-07-06 at 10.30.45 AM.jpg

On the xively site
Real-time visualizations can be made on websites, real-time alerts can be sent out triggered by the datastream, from which other devices or environments can be controlled and changed, or scripts can be triggered. In this example, if it is shaken too violently, it will indicate a Warning alert on the site in real-time. In the workbench, you can see all the numbers changing in real-time.

Screen Shot 2013-07-06 at 10.34.11 AM.jpg
So getting the datastream online is so very easy and all the historic data will also be stored in case you should need to use it later on. It looks like a quick and easy solution to hooking up devices and sensors to the internet in real-time! And it is all connected up online and completely in real-time…

Well, that is unless you’re in a room disconnected from the Internet. Because god knows, you certainly won’t be connected to the Internet of things if you’re in a room without the Internet. It should be SO BLINDINGLY OBVIOUS, but hey, case in point…


I didn’t get to mention about Windows Azure because the introduction I had at this training session was very brief and I was too busy in the month to play with Azure. Nevertheless to their credit, a customer service officer DID call me back to ask me if i had problems or questions with it. Pity I had no time to explore it further in the month…

0 responses to “Disconnected from the Internet of Things in Singapore”