Review: Innergie PocketCell pocket battery charger: elegant design though limited capacity

Smartphone battery life has marched backwards, or so it seems: my ancient HTC Desire still lasts longer on a full charge than my newer Nokia Lumia 620 or Sony Xperia T. Another problem is tablets: battery life is decent compared to a laptop, but it is easy to get caught towards the end of the day or on a plane with an exhausted battery.

The solution, if you cannot get to a charger, is one of those pocket chargers for topping up your device. These are popular promotional giveaways, which means I have a drawer full of them (or would if I had kept them); but many are rubbish: bulky, fiddly with lots of assorted adapters to cope with different phones, and some with pointless adornments like solar panels.

I make a partial exception for a PowerTrip charger I received recently, which has an impressive 5700mAh battery, but it is still ugly, comes with three cables, and has silly extras like a solar panel and ability to work as a memory stick.

By contrast, the Innergie PocketCell is the first charger I have seen which has immediately impressed me with its design.

image

There are only two pieces you need to carry with you, the small battery pack itself and a clever three-in-one cable in which the adapters snap together, so you can charge a device with Mini-B or Micro-B USB (the two popular types), or an Apple 30-pin dock connector (if you have an iPhone 5 or another device with the new Lightning Connector you are out of luck unless you have an adaptor).

image

The same connector also serves to charge the PocketCell, using one of the many USB mains chargers you almost certainly already possess, or by plugging into a PC or Mac. The PocketCell has a USB Type A socket for output, and a Micro-B for input, so you cannot easily get it wrong.

On the side of the PocketCell is a button which you press to discover the current charge. It lights up to four LEDs, to indicate the level of charge remaining.

Battery capacity is 3000 mAh; not as good as a PowerTrip, but decent considering that it is less than one-third the size and much lighter (72g/ 2.5oz).

I tried the PowerCell on an iPhone 4 with a fully expired battery (at least, expired to the point where it would not switch on).

image

The phone charged successfully, during which time the PocketCell got somewhat warm, but with impressive speed of charge. After the charge the PocketCell was pretty much exhausted.

The PocketCell supports 2.1 amp fast charge, which means it is fine for charging an iPad or other tablets with USB power.

The small size, nice design, and effective charging of the Innergie PocketCell means this device might actually find its way into your bag. The downside is that it is more expensive (especially in the UK) than some other portable chargers with equal or greater capacity, but its elegance and usability is worth a bit extra.

While I recommend the device, check that 3000 mAh is sufficient for you before purchase. I have also heard that the three in one cable is a little delicate, though you can get replacements if necessary or use a standard USB cable.

 

Expanding the Raspberry Pi with PiFace and Pi Rack

The marvellous Raspberry Pi, essentially a cheap, small PC, is a great device for education or home projects like media streaming. Out of the box though, it is not ideal for controlling other devices other than by USB or ethernet. What if you wanted to to use it to operate a switch under program control? You can use the GPIO (General Purpose IO) header, but it is a considerable step up in terms of the electronics knowledge needed for success (and to avoid damaging your Pi).

Element14 has an answer to this in the form of the PiFace, which connects to the GPIO header and provides a range of inputs and outputs. To be precise:

  • 2 changeover relays. These switch a link between a central common pin and two other pins.
  • 8 open-collector outputs. You can use these as switches for an externally powered device.
  • 8 digital inputs. These detect whether a contact is open or closed.
  • 4 switches. These close the first four inputs when depressed.

Element14 kindly supplied a PiFace to me for review, along with another accessory, the Pi Rack, of which more in a moment.

The PiFace comes in a small cardboard box with a regulatory compliance leaflet and no other documentation.

image

Here is a closer view:

image

You can see the inputs at bottom left, the outputs at top right, and the relays on the right. The following diagram from the Element14 site shows the details:

image

The PiFace fits on top of the Raspberry Pi. A rubber foot on the underside rests on the HDMI port relieving the strain on the GPIO connector. If you have a standard size Raspberry Pi case, it will no longer fit once the PiFace is attached, though you can still use the base of the case as I did for my tests. Note that by default the PiFace takes power from the Pi, though this has implications for the power supply you use, which must be 850-1400 mA for the model B Pi.

image

On the software side, installation is either by downloading a pre-built Raspbian image with the software already in place, or by modifying your existing installation. I am using the soft-float Debian Wheezy build and chose the latter route. It is not difficult; just enable the SPI (Serial Peripheral Interface) driver by removing it from the modprobe blacklist, run an install script, and reboot. The scripts come from a github repository here.

The PiFace software includes a nice emulator which lets you operate the switches. I am not sure that emulator is quite the right description because it really does operate the switches.

image

Being more of a software person than an electronics engineer, I set myself a simple task: to operate a light switch under program control. I used a child’s electronics kit to provide the light. First I tried using the relay, which was very simple: it is just a switch. Next I used one of the open-collector outputs which also worked once I had found out that the negative connection from my external 3V power supply connects to GND on the PiFace. Here is my light in action:

image

Note the LED is lit on the output terminal indicating that the switch is ON. Rather than the external supply, I could have taken 5v from the PiFace. A very simple test, but if you can switch a bulb on and off you can switch any number of other things as well, provided the voltage is not too great. Above 5v requires changing some jumper settings and even the relays should not be used for voltages over 20v or currents greater than 5A.

What about programmatic control? Libraries are supplied for Python, C and Scratch (a visual programming language primarily for education). I adapted the example Python script as follows:

from time import sleep
import piface.pfio as pfio
pfio.init()

while (not pfio.digital_read(1)):
if (pfio.digital_read(0)):
  pfio.digital_write(2,1)
else:
  pfio.digital_write(2,0)
sleep(1)

print "Bye"

This script loops until you depress (or otherwise close) the second physical switch or input on the PiFace. It reads the value of the first input, and if it is ON it turns on the output which lights the bulb. Rather pointless, but shows how easy it is to turn a physical device on and off under program control, and to respond to the value on an input.

I like the PiFace though it is in competition with the slightly more expensive Gertboard which has a motor controller, Digital to analogue and analogue to digital converters, and an on-board programmable MCU (Microcontroller). You might not need those features though, making PiFace a better choice.

A snag with the PiFace is that it uses the GPIO port and therefore prevents you using that port for anything else. In order to fix this and to increase the expandability of the Raspberry Pi, Element14 also supply the Pi Rack. This is a simple affair that give you four connections to the GPIO port. You can use this to operate more than one PiFace (each must have a different jumper-set address) or to use other GPIO devices such as the Pi Camera Module. The Pi Rack has its own 5v power input though no power supply comes in the box. Jumpers let you select which power supply to use on a connector-by-connector basis, and to swap the SPI CE (chip enable) lines if needed.

image

Here is the Pi Rack in use with a PiFace. In practice you would want additional support for the PiFace rather than just relying on the connector.

image

Currently the PiFace Digital is £20.30 and the Pi Rack £6.99.

DTS Headphone X surround sound from stereo is astonishing though Z+ music app disappoints

I first heard the DTS surround sound from stereo demo at this year’s Mobile World Congress in Barcelona. The technology is called Headphone X. It was astonishing. You went into the Qualcomm Snapdragon 800 theatre – it was in association with Qualcomm become some DTS technology is baked into the latest Snapdragon chipset – sat in a plush armchair, and donned stereo headphones.

image

The next thing you knew, sound was coming from front left. Then front right. Then rear left. The illusion was amazing, and I was not the only one who removed their headphones temporarily to check that they really were the sole source of the sound.

I interviewed the DTS folk about the technology, and also spoke to the guys at Dolby. Nothing new, said the Dolby folk, we’ve had virtual surround sound for years. Yet, the demo at the Dolby stand fell far short of what DTS was showing.

Now you can try it, if you have an Android or iOS device. Download the Z+ app and listen to the demo.

image

I tried this on someone today, and his “Wow!” reaction showed that the demo is still astonishing. You know it is an illusion, but it sounds as if you are seated in the middle of a room with five or more speakers.

If DTS has proved that surround sound from stereo is possible, what are the implications? Surround sound has not failed exactly, but its inconvenience has limited take-up. Many surround mixes of music albums are now hard to find, because they were made for long out of print SACD or DVD-Audio releases. What if you could easily download all these mixes and enjoy them with stereo headphones or earbuds?

An enticing thought, but there are caveats. The Z+ app, for example, is disappointing once you get beyond the demo. The only album it plays is the Hans Zimmer soundtrack to the Superman film, Man of Steel. One track is included for free, and the others are in-app purchases. It sounds good, but the surround effect is less convincing than it is in the demo. I heard better music demos in Barcelona. I also get superior sound on the iPhone than on the iPad (it is an iPhone app), though I might be imagining it, and in both cases I get occasional stuttering, though that may be because I am not testing on the latest generation Apple hardware.

image

An app that only plays one album is not a revolution in sound, and if this is to go mainstream, DTS needs to sell its technology to one of the major music download or streaming services and have it built-in to the client app. It has made a start, with its Qualcomm deal which is meant to be in shipping chipsets from “the second half of 2013” according to the information in Barcelona. My guess is that any problems with stuttering will be removed when there is hardware support.

How does it work? The DTS guys told that it “it’s psychoacoustics. You’re triggering the brain with responses that induce it to say, this is from here. It’s a combination of timing and frequency. That’s traditional virtualisation.” After that, they explained, they apply room acoustics that take the illusion to another level. This could be the room acoustic of the studio, achieving a holy grail for audio engineers, or that of the listener’s own room or a concert hall, for example. The room acoustic can be user-selectable, though this is not a feature of the current Z+ app.

There is a caveat that might upset hi-fi enthusiasts. Think about it. Virtual surround sound is delivered in stereo, which seems impossible, but then again we only have two ears. Our ears are designed to hear sounds more clearly if they are in front of us. Therefore, to simulate a sound coming from behind you, do you need to make it less clear?

I put this point to a guy from DTS, that parts of the music are in a sense deliberately distorted or muffled. “That occurs naturally by our head,” I was told. So is the fidelity of the sound reduced in order to achieve the surround illusion? “No differently than speakers in a surround system would do anyway,” he said.

Another caveat is that, by design, the system only works with headphones. Of course, if you have a full surround system in your room, you can play surround mixes in the normal way, turning to the DTS technology only for headphone listening. Headphones are also unable to recreate the effect of a sub-woofer which you can feel in your chest. “It’s a physical element. We’re not going to be able to replicate it,” said DTS.

Headphones are unbeatable though if you want to recreate the acoustic of a different room, such as the studio where the music was mixed. Further, for a mass market, delivering surround sound through a mobile device and standard earphones is the right approach.

The Z+ app is disappointing, but I would nevertheless encourage anyone with an interest in audio technology to download it and try the demo. Headphone X has huge potential and I shall follow its progress with interest.

Virtual Reality with Oculus Rift

I tried these on during Microsoft’s Build conference, at the Xamarin party. No, it is not me in the picture.

image

No, it’s not Microsoft’s answer to Google Glass. Rather, it is the Oculus Rift, a Virtual Reality headset funded by a Kickstarter project that achieved nearly 10 times its original goal.

Unfortunately it is hard to photograph, but what you get is a view of a 3D virtual world which responds to the turn of your head. The added realism is extraordinary, even though the current model shows a slightly pixelated screen; this will apparently be fixed for the first commercial release.

There is one snag with the Rift, which is the urge to move around by walking. Not too good in as you will soon hit the wall. The developers have thought of this, and I saw a picture of a walking platform, where you walk on the spot and sensors pick up your direction of virtual travel. Unfortunately my guess is that such a platform will fail the “conveniently fits in the living room” test.

It will not necessarily be the Oculus Rift; but virtual reality is so compelling that its time must surely come. It would be utterly great with more movement sensors so that you could climb walls, engage in sword fights and so on.

Wearing a great big headset is unsocial though as the point is to immerse yourself in a virtual world. Looking like an idiot also comes with the territory. Hit or miss? Not sure.

A big ball of Bluetooth at Microsoft Build

At Microsoft’s Build developer conference in San Francisco the company is showing off new features of Windows 8.1, now in preview, a major update to Windows 8.0.

image

In a session on the Windows Runtime, the platform behind the tablet platform in Windows 8, there was a dramatic moment when a huge black ball rumbled onto the stage and threatened to destroy the “Lemonade stand” which the presenters were using to showcase how a very small business might use Windows 8.

The significance of the ball (a custom Sphero) is that Windows 8.1 has Bluetooth APIs built in, so that app developers can easily control a Bluetooth device from code.

Robotics is an obvious application, but with increasing numbers of Bluetooth devices out there, this is a smart move by Microsoft.

Acer announces 8.1” Windows tablet – but will desktop Windows work in this format?

Acer has announced an 8.1″ Windows tablet, the Iconia W3:

  • Intel Atom 1.8Ghz dual-core Z2760 CPU
  • 8 hr battery life
  • 1280 x 800 screen
  • 2GB RAM
  • Front and rear 2 MP cameras
  • Micro HDMI
  • Bluetooth 4.0
  • GPS
  • 32 or 64GB storage
  • Micro SD
  • Bundles Office 2013 Home and Student
  • Optional keyboard $79.99
  • $379.99, available this month

image

Anything wrong with this picture? Certainly it could be handy for using Windows on the go, being more compact than a Surface (though how much more, if you include the keyboard?) and much cheaper than Surface Pro.

There are some snags though. This device runs full Windows 8 rather than Windows RT, the ARM version, so you can run all your desktop apps; but many will be no fun to use on an 8.0″ screen, or without keyboard and mouse. The Modern – that is, Metro-style – apps should be fine, but the Windows 8 app ecosystem is still weak so you may struggle to get by on those. There is Office – and it is smart of Acer to bundle Home and Student – but will you be squinting to use it on such a small screen?

My hunch is that Windows will not sing on small tablets until there is a version of Office for the Modern UI.

Make your iPhone a close-up or wide-angle camera with Olloclip

Here’s a gadget I came across at Mobile World Congress earlier this year. The Olloclip is a clip-on supplementary lens for the iPhone or iPod Touch, giving it three new modes: wide-angle, Fisheye, and Macro.

image

In the box you get the reversible lens with covers for each end, an adapter clip for the slimmer iPod Touch, and a handy bag.

image

The lens clips onto the corner of the iPhone, covering the on/off button. There are different models for the iPhone 4/4S and iPhone 5, which is a drawback. Every time you upgrade to a new iPhone, you will have to buy a new Olloclip, or do without it. You also lose use on the on/off button when the Olloclip is attached.

image

Still, that is a small price to pay if you get amazing new photographic capabilities, and to some extent you do. I was particularly impressed by the macro mode. Here is my snap of a coin getting as close as I could quickly manage with the iPhone 4 alone:

image

Snap on the Olloclip, and I can capture a world of detail that was previously unavailable.

image

I also tried the wide-angle and fisheye modes, both of which work as advertised.

The twist here is that the Olloclip gives your iPhone camera features which your purpose-built compact camera may not have. If you want or need to take the kind of shots which the Olloclip enables, it is a great choice, spoilt a little by the inconvenience of clipping and unclipping the lens.

   

Review: Bayan Audio StreamPort Universal Bluetooth streamer

Problem: you want to play audio from your mobile device on powered speakers or through your home hi-fi. Usual solution: connect a cable from the earphone socket on your device to the powered speakers or to an input on your hi-fi. That is a little fiddly and untidy, so how about a wireless solution instead?

image

This is where Bayan Audio’s StreamPort Universal comes in. This little USB-powered box in effect enables any audio system for Bluetooth. Simply connect the output from the StreamPort to your hi-fi or powered speakers, using either a 3.5mm jack socket or right and left phono sockets, and then pair it with your mobile device. Audio output is then redirected to the StreamPort and you can enjoy the music at full quality.

imageimage

In my tests the StreamPort worked exactly as advertised – well, nearly. You put the StreamPort into pairing mode by holding down power for 8 seconds. A Sony Experia T Android phone connected easily, I fired up Google Music, and was able to play one of thousands of tracks at what sounds to me very decent quality.

Next I tried an Apple iPad 2. Again, it paired first time. I started BBC iPlayer and was able to watch a recent broadcast with excellent sound over hi-fi speakers. A Windows 8 tablet also worked well.

You can pair up to four devices, but only one at a time will be active. If the “wrong” device grabs the connection, turn Bluetooth off on that device. If you pair a fifth device, it will simply forget one of the other pairings.

So what didn’t work? Well, the StreamPort supports NFC Secure Simple Pairing, which means you can connect a device simply by tapping it. I tried with the NFC-enabled Xperia T and got the amusingly polite message, “Unfortunately content sharing has stopped.” I am not sure whether this should have worked, but I put the failure down to this being a relatively new protocol; perhaps it would work with the newer Xperia Z. Note that Apple devices do not currently support NFC at all.

I also experienced very occasional audible stuttering, which is unfortunate, though most of the time everything was fine. Still, this could be annoying. I heard it on music on the iPad and on the Windows tablet, but BBC iPlayer was fine. I guess it may depend on the underlying bitrate and how much data is being transferred. I am reluctant to pin the blame on the StreamPort; rather, it is a common problem with Bluetooth audio, it may or may not be something you experience, and shows that the implementation of the standard (or the drivers) on devices has a little way to go before it is rock-solid everywhere.

Is the quality as good as it is through a cable? Generally not, though how noticeable the loss of quality is in the realm of “it depends”. It is a digital connection, so in some circumstances (if the analogue output is poor) it could be better.

Bear in mind that if you are using a mobile device as the source, you are probably not looking for the best possible sound quality; but you will probably be pleasantly surprised by how good it can sound.

The actual quality will depend first, on the quality of the source, and second, on what audio protocol the source negotiates with the StreamPort. Bayan states that best quality will be from Bluetooth devices that support aptX compressed audio. The protocol used is generally invisible to the user, so all you will notice is how good it sounds. Generally a more recent device will sound better. At a minimum, your Bluetooth source has to support version 2.1 and the A2DP profile, otherwise it will not work at all.

image

In the box is the StreamPort, two audio connection cables, a USB cable for power, a USB mains adaptor, and a brief manual.

Two final thoughts. One is that Apple has its own AirPlay system for wireless audio; but thanks to the rise of Android we are seeing more Bluetooth audio devices coming on the market. Since Apple devices work with Bluetooth audio, but Android and other devices do not work with AirPlay, this is an obvious response to demand.

Second, it is reasonable to expect Bluetooth audio to be built into an increasing proportion of new playback equipment. Of course, in this case you will not need the StreamPort. It is not that common yet though, which makes the StreamPort a handy accessory. Recommended.

Two ways to make a spoon: 3D printing in action

Last week I attended the Monki Gras, a distinctive event exploring how to scale craft, mainly in the context of technology but also in the context of beer.

On the second day there was a light-hearted competition. Who can make a spoon faster, a wood carver, or a geek with a 3D printer?

image

A skilled craftsperson can make a spoon in around half an hour, we learned.

In the other corner was a techie, a laptop computer and a 3D printer.

image

image

Said techie (I did not get the name unfortunately) had downloaded a spoon design from the internet and was printing it on a Prusa Mendal RepRap machine. Cost: from a few hundred pounds if you self-assemble, or £1000 or more if you purchase complete.

The software is open source: slic3r to convert a 3D model into printing instructions, and pronterface to talk to the 3D printer.

Looking in more detail at the printer, what you have is a system of cogs, rails and stepper motors that lets a print head move in three dimensions. The raw material is a spool of green plastic from faberdashery. This could be fed from the rotating white spooler at the top of the machine, though in this case only a little was needed and it was floating loose.

image

The plastic is melted by the print head and squirted out to form the object being printed. Apparently once formed it is reasonably rigid and strong.

image

Attendees observed that the competition was pretty silly, since speed is not a goal of 3D printing (and the wood carver was indeed the victor). In that sense, 3D printing is a poor way of scaling craft, though it has some potential in that a brilliant design can be reproduced as an object many times over. If you want a lot though, it is worth investing in traditional plastic moulding: setup is expensive, but once you have done one, you can do thousands more cheaply.

Still, imagine what 3D printing enables. I have a nice set of headphones, for example, which are useless because a small plastic component has broken. If I can get hold of (or make) a 3D computer model of the part, I can now make that part for little cost. You do not even need your own 3D printer; services like Shapeways let you upload the design and get the part in the post a few days later.

In niche areas like model trains and landscapes, 3D printing makes models viable even if only a few are needed. You can also have exactly the size you want, rather than being restricted to the standard sizes that are volume manufactured.

For inventors, 3D printing makes prototyping easier. You can iterate through hundreds of slightly different designs and try them out physically, rather than relying on computer models.

The opportunities are fantastic, and you can get started for little cost; though the guy at Monki Gras did note that his RepRap was temperamental and therefore a high maintenance gadget. Maybe by making a few modified parts he can improve it.

Tech Writing