Wednesday, April 8, 2009

Stellarium – Planetarium for the Masses

Some softwares are just too fun to be let go off and this weekend I discovered Stellarium, a free, open source planetarium software that shows a “realistic sky in 3D”. Stellarium is designed from ground up as a simple, easy to use, open source software to observe and learn about the breath taking beauty of the night sky.

This weekend, I happened to be visiting a village in rural Mardan, Pakistan (where we are supporting a rural Tele-healthcare project). The electricity in this remote part of the world is patchy and highly unreliable. Mardan District is composed primarily of a farming community and little or no industry and technology in this rural part of Pakistan. Hence, the night sky is not only clear but dazzles with the beauty of billions of stars. In fact, on a clear night, one can see the Milky way all across the night sky.

Tonight was just one such nights, when the electricity, went out, the night sky lit up brightly with its displaying its full array of stars. The moon was at half crescent and thus it blurred a bit of dim stars out there, but over all, it was a feast for the eyes.

The software asks you to select your city through its fairly simple configuration file. And if your hometown is missing (in my case Mardan was not there), one can enter the basic information like the Latitude, Longitude and height in meters above sea level and the software then automatically sets itself to the night sky in your area. It then slowly tracks the night sky as it changes with time so that the observer is always objects slowly rise and set over the night sky.

I trained my Stellarium on the planets first. Tonight, Saturn was visible in the night sky. With the help of a basic compass and the Stellarium software, I was able to pin-point the magnificent planet Saturn with some fairly good accuracy. This was the first time I had identified any night sky object with accuracy. And the best part was that I did not have to know a lot about Astronomy nor the need to have complicated equipment. The software is designed to be easily operated by a kid as well and requires little or no prior knowledge of Astronomy. All night, I would simply find something interesting on Stellarium and then using the provided grids, a hand held compass and using other known stars as references, would get to the desired object.

One can zoom in and out of the objects (planets, nebulae, etc) and some of them do have fairly detailed images and information associated with them. If any detail is missing, one can always download it from their website and add it to the catalog. For example, if I would find something of interest in the night sky, I could get basic information including a detailed image of the object. Here in this image on the right, I got to see how Butterfly cluster looks like at close proximity and how far away it is from earth. For example, Saturn here is reported to be 8.5AU (Astronomical Units). 1 AU is equal to approximately 149.5 Million KM or in simple terms, 1AU is equal to the average distance between the earth and sun. Hence, Saturn is approximately 8.5 times farther from earth than the Sun from us. That is approximately 1.2 billion KM from earth.

The software has many cool features, including red eye mode to assist eyes remain adjusted to darkness. An essential requirement if we want to truly observe dim and distant objects with ease. Stellarium has many features but some of the fascinating ones are listed below:

  • Default catalog of over 600,000 stars
  • Extra catalog with more than 210 million stars (easily downloadable through the Stellarium website). The additional data is divided into further four separate files totaling around 1Giga Byte.
  • Images of nebulae (full Messier catalog)
  • Realistic Milky Way
  • The planets and their satellites (yep, even details of moons for the planets)
  • And many more

The joy was short lived as the power was restored later in the night. With the light pollution dimming many of the stellar objects in the night sky. However, this unexpected power outage has inspired me to spend the coming summer gazing at night sky with some basic telescope and track numerous objects in the night sky.

There is also a method to link the software with your telescope (if it supports computer tracking) which one can read online for more information.

The software can be easily downloaded for MacOS, Windows and Linux platforms. It is also available through Ubuntu repository of pre-compiled software packages.

Friday, April 3, 2009

Openmoko Mobile Freedom

There exist a lot of devices considering Linux phones but they missed the point of Linux; to be open. Openmoko forced the mobile industry to switch gears to open source with a truly open phone, the OpenMoko. It stands for Open Mobile Kommunikation. “Kommunikation” is German and means “communication”.

What is Openmoko platform?

OpenMoko is actually supposed to be the world’s first integrated Open Source Mobile Communications Platform and it was announced by OpenMoko’s Product Manager Sean Moss-Pultz at Informa’s “Open Source in Mobile” conference in Amsterdam on 7 November, 2006. The project covers two main areas; hardware devices design and engineering software development. The mission of the project is to “free your phone” by allowing users to add and modify the software to their needs. Moreover, the platform also allows adding new hardware components. In short it offers full access to the phone capabilities.

As reported by Inquirer

This is the first phone in a long time to get us really interested in what it is, what it isn’t, and the philosophy behind it. The philosophy is the thing that makes Linux great, and not in the sense of window-dressing or half-hearted openness, it is really open. It runs the latest kernel, 2.6.24 and you can get software from a repository with apt-get.

The OpenMoko is meant to be a fully mobile Linux machine that happens to look like a phone. The point is simple, where others have a Linux kernel with a locked proprietary stack on top of it, this one is open, top to bottom. You can use your own tools on it, compile your own kernel. and bang on the bare metal if you are into that sort of thing. Everything barring a few small drivers is GPL’ed.

Openmoko devices have no vendor lock except for the radio and GPS components as we can't change the drivers but they are fully documented too. The GSM modem allowed to test similar set of AT commands. If you like the software they include, great, use it, tweak it and have fun. If not, write your own as hackers have develoeped a number of OpenMoko distribution.

Available Hardware

Openmoko hardware aspires to the term open source hardware as the company unveiled block diagrams of the hardware, the connections between the chips, JTAG interface, etc as well as CAD data of the product.[1][2][3]

OpenMoko released two different devices so far as listed hereunder:-
  1. A preliminary developer preview, the Neo 1973 Codename GTA01(Released July 2007)
  2. The current stable device, the Neo FreeRunner Codename GTA02 (Released July 2008)

3D image

Hardware Specifications

The hardware itself is a Samsung 500MHz ARM9 with a high resolution touch screen 2.84” 480×640 pixels VGA. There are only two buttons on the phone, the rest is handled by the touch screen, Bluetooth 2.0 and 802.11 b/g WiFi, 2 * 3D accelerometers and USB for connectivity and charging. It comes with 128MB of DRAM and 256 MB integrated flash memory (expandable with microSD). It comes with a 12mw battery with three hours of talk time. It also has a GPS, TI quad band GSM, GPRS. The only thing lacking is camera and that is planned for the next gen hardware.

Software Framework

Harald (a core developer of OpenMoko) explains OpenMoko’s software architecture as:

OpenMoko really is about Free Software from the bottom to the top of the software stack (no binary-only kernel modules, no binary-only GSM communication libraries, no proprietary libraries, no pre-installed proprietary userspace applications). So this aspect of freedom is the main product design principle.
OpenMoko Linux uses Linux as its OS kernel and employs X11 and GTK as its window systems. thus source code is available for studying, modifying, recompiling or re-distributing. For a complete list of software components

Intended audience

The Openmoko project is still a “work in progress”

  • Linux users
  • Software developers
  • And ultimately, general consumers (the project is not there yet)

Why to go for Openmoko platform?

This phone could very well be a hacker’s paradise. There is a full package manager, so if you want a web server, go get Apache. If you want mapping software for the GPS, you type apt-get and off you go. Games? Sure. Services? Sure.

As an end user, the appeal is obvious, and I don’t just mean a quad band GPS phone with tons of accessories and a GPS for $350. It is open and not locked down; you can make it your own and get what you want. Instead of the carriers dictating, they can offer, and if they are the best, they will get your money. If not, you can choose another repository and off you go.

Completely open software stack based on Linux
Only hardware components with open API are part of the devices
The complete specs and the CAD files for of the devices were released under a CC license
The hardware engineering process is openly discussed in the project’s mailing lists and wiki pages
The community is largely involved in the software development and good communication was established over different online collaboration tools

Platform of choice for:

• FOSS embedded development
• Supports virtually any available software technology from the “Linux world”
• Advanced hardware capabilities
• Embedded system integration
• Available hardware specifications enable easy modifications
• OM is not a phone, it’s a portable Linux computer that just happen to have phoning capabilities

Openoko and Pakistan

NUST School of Electrical Engineering and Computer Science SEECS is the proud owner of OpenMoko kits. SEECS is the first institute who has shipped these phone. They have create a research group titled "SEECS Open Mobile Squad" - SOMS and an Open mobile lab to carry out innovation and creativity in this emerging field. Cogilent solutions is the supporting part of SOMS.

website | fpage | blog |email