Vodafone 802SE

My phone, ten years ago

Vodafone 802SE

Ten years ago, I was settling in Kanazawa. This involved getting a Japanese phone, and more importantly getting it work for me. At the time, I wrote a blog post with some observations on what worked and what did not.

Looking back at the problems I faced at that time is a pretty good indication on why Apple managed to storm that market:

  • Contact synchronisation only worked partially
  • Todo synchronisation only worked partially
  • Music playback was crippled by DRM
  • GPRS modem function (tethering) was broken

The Vodaphone 800 had pretty good specifications for that time: it was built by Ericsson in collaboration with Sony. Yet most of the features I wanted did not work. I was using Mac OS X, which certainly did not help: there were Windows, Japanese only drivers available, but even then, integration with computers was an afterthought.

Like many phones at that time, the phone had very different connectors: there was a USB connector, but it was only used for data exchange, not charging. There was not standard jack headphone port, but instead the wide Ericsson connector, for which I had a charging dock and a special headset. I never used it because of the crippled audio playback. The phone had a Sony Memory stick slot and an infrared port (which I never used).

One aspect of the phone I liked was that it supported many Bluetooth profiles:

  • Hands-Free Profile (HFP)
  • Headset Profile (HSP)
  • Object Push Profile (OPP)
  • Serial Port Profile (SPP)
  • Dial-up Networking Profile (DUN)
  • Synchronization Profile (SYNC)
  • Generic Access Profile (GAP)
  • Object Exchange (OBEX)
  • File Transfer Profile (FTP)
  • Basic Imaging Profile (BIP)
  • Human Interface Device Profile (HID)

For comparison my iPhone only supports the following profiles:

  • Hands-Free Profile (HFP)
  • Advanced Audio Distribution Profile Source (A2DP)
  • Audio/Video Remote Control Profile target and controller (AVRCP)
  • Personal Area Network (PAN)
  • Serial Port (SPP)
  • Device Identification (DID)
  • Generic Access Profile (GAP) – Low Energy
  • Battery Service – Low Energy
  • Current Time Service – Low Energy

While some profiles have replaced others, for instance Personal Area Network (PAN) replaces Dial-up Networking Profile (DUN), with the added advantage that PAN actually works, I miss some of the old profiles, in particular Object Exchange (OBEX) which let me push a file from my laptop to my phone and vice-versa and Human Interface Device (HID) which let me use my phone as a mouse, very convenient for presentations.

Having left Japan, I never managed to sim-unlock the device, so it rotted away in a drawer…

Vodafone 802SE (Sony Ericsson V800) mobile phone © Episteme – Public Domain

Flattr this!

DC62 LED Display USB Power Charger Data Transmit Current Voltage Tester and Apple A1205 Power Supply

USB Power – Apple

DC62 LED Display USB Power Charger Data Transmit Current Voltage Tester and Apple A1205 Power Supply

One comment I got about my previous blog post about USB power supplies is that it depends on the manufacturer of the power-supply, that Apple supplies would work better with Apple devices. This makes sense, so I did another quick run of tests. The set of power supplies I tested is a bit smaller, mostly because I stored some of them into boxes which are now in the attic.

I connected my iPhone 5 using a lighting cable to the power meter and the various supplies. The results are interesting: basically all the power supplies I tested output more power when connected to the iPhone, the only exception is the Mac Book Pro and that was expected. The iPhone seems to more aggressively draw power regardless of the manufacturer of the power supply. I really need to try with another Android device…

Power Supply Volts Ampères Watts
Apple A1400 5.07 0.93 4.72
Apple A1205 5.04 0.87 4.38
Apple Mac Book Pro (laptop) 5.07 0.52 2.64
Asus PSM06A 5.09 0.87 4.41
HTC TC-E250 5.00 0.8 4.00
Jet AC Adapter 4.92 0.83 4.08
Kensington Absolute Power 4.2 4.99 0.89 4.44
LG MCS-02ER 4.95 0.51 2.52
Steffen Swing Steko 5.07 0.89 4.51

Flattr this!

Internal board of a Protek PAC - 1200 WH Power Supply

USB Power

Internal board of a Protek PAC - 1200 WH Power Supply

One of the annoyances of electronic devices in the past used to be the myriad of power supplies, each with their own connector, voltages. They were all black and you would always mix them up or misplace them so that the relevant device would become useless.

USB solved this problem, which is kind of surprising because USB was first a data connector that happened to carry some power. The upshot is that you can use any USB power supply to charge any device with a USB connector.

These power-supplies typically have a longer life span than the device they came with, so they tend to accumulate. I was wondering what the difference is, so I ran a simple test on all of them: charge the same device, a Nexus 5, and measure the output of the various power supplies.

I only measured the supplies that have a USB A female connector – many power supplies have either a male micro or a male mini connector. I also tested various devices with such a connector for comparison.

Power Supply Volts Ampères Watts
Apple A1400 5.07 0.63 3.19
Apple A1205 5.04 0.61 3.01
Apple Mac Book Pro (laptop) 5.06 0.47 2.38
Asus PSM06A 5.08 0.57 2.90
Brother 4040 (printer) 4.84 0.34 1.65
Denon AVR-3310 (amplifier) 5.02 0.45 2.26
Google MSTK3K-US 5.08 0.43 2.18
HTC TC-E250 5.03 0.56 2.82
HTC MCS-01ED 4.99 0.76 3.79
Jet AC Adapter 4.99 0.47 2.35
Kensington Absolute Power 4.2 5.04 0.54 2.72
LG MCS-02ER 4.75 0.21 1.00
Model SM-600B 4.97 0.34 1.69
Steffen Swing Steko 5.18 0.67 3.47
Tylt UPPLANT (battery) 4.94 0.43 2.12

The first thing to notice is that the LG power supply barely meets the USB specification, which requires a 5 volt output ± 0.25 volts. The second is that while many power-supplies have similar sizes, their output changes quite a lot. The relatively low output of the Google power supply was expected, as it is meant to be used with a Chromecast, which consumes 2 Watts at peak.

Similarly the output of the Apple A1205 power supply was expected, as it was originally meant to recharge an iPad. The output of the Steffen Swing Steko power plug was a surprise, with nearly 3.5 Watts of output, officially it can output 500 Milliampères per connector (there are two).

So while there is a standard, it is pretty undefined what actual power you get from a USB plug, the actual USB spec only mandates 500 millampères, which is what the Denon amplifier provided. As often, it was nearly impossible to know beforehand how the various plugs would perform: LG is a pretty well know brand and the Jet AC Adapter I got from some small shop in Akihabara. Testing seems to be the only real way of figuring out; I also figured out that one adapter I had, a Protek PAC – 1200 WH was dead. I opened it up and used the board for the image of this blog post.

What would be interesting would be to measure the efficiency of these power-plugs, sadly the device I have to measure power-consumption is not that precise, so it does not see their consumption.

Flattr this!

USB Power Meter – 5.12 v

USB Power measurement

USB Power Meter – 5.12 v

It is really strange that a data-connector would manage to become a standard power plug, but USB achieved just that: most devices which can work or charge using 5 volts nowadays come with a USB connector. I think this is generally a good thing, one standards means less redundant incompatible hardware, and people don’t need to have N power adapters around. Of course there are compatibility issues, and we already have reached the point where determining the power draw of a device connected over USB is black magic: this can be determined by software nobody implements (original spec), or by putting some magic resistors between pins, with each manufacturer using his own secret sequences.

This leads to the second interesting question: how much power do these various devices use? I just bought a small device that is pretty useful to answer that question: a short USB plug that measures both the voltage and the power consumption on a USB connector. This device only gives you half of the story, how much power goes into the device, not how much was consumed by the power supply (which might be a computer, a printer, or a TV), it still gives some insights into the electrical power consumption of various gizmos – as a good charger typically has 75% efficiency.

For instance, a Qi wireless charger uses 0.04 Amperes when empty, that is 0.2 Watts for doing basically nothing. Charging my Fitbit Charge draws 0.03 Amperes out of my laptop (0.15 Watts). When docked and charged, my iPhone 5 consumes 0.3- 0.4 Amperes (1.5 – 2 Watts).

I’ll need to try more devices around the house. I also would like to measure how efficient the various chargers in the house are.

Flattr this!

Foldable array of solar cell, portable auxiliary battery with solar cell and iPhone 5 charging

Of energy estimations…

Foldable array of solar cell, portable auxiliary battery with solar cell and iPhone 5 charging

I have a vision for solving world hunger: each person just needs to have a small pot in their appartement and grow salad in them. So they will have food. Problem fixed, hand-over the Nobel price please. Thank you very much!

Of course, this is a silly idea – the numbers just don’t add up. It takes many days to grow a single salad, and you need more than a salad every other week to feed a human, not to mention this winter thing. People realise this, because they somehow understand what quantity of food they eat, how fast salads grow. This does not mean that having every person grow her own salad is bad idea, just that it won’t solve world hunger.

When the topic turns to energy, all the common sense flies out of the window: people don’t understand the quantities, so everything seems possible. A typical example is this solar powered window socket. Looks neat no? Just stick the thing to a window, it uses solar energy to recharge itself and acts as a power plug. Cool, no?

This device would contain a 1000mA/h battery that is charged in 10 hours. First problem the voltage is not specified, but if the battery charges in 10 hours, we need a 100mA solar panel. With the current technology, a panel a tad larger that the one in that device would output 100mA at 5V, so let take that as a baseline.

So we have 1A/h at 5V, which gives us 5 W/h (18 KJ) So what can you do with this amount of energy?

  • Run a 1000W hair-drier for 18 seconds.
  • Run a 100W LCD television set for 3 minutes.
  • Run a 40W incandescence light-bulb for 4½ minutes.
  • Run a 10W LCD light-bulb for half an hour.
  • Charge an iPhone 4 (5.254 W/h) to 95%.
  • Charge an iPhone 5s (5.966 W/h) to 84%.
  • Charge a Nexus 7 (16 W/h) to 31%
  • Boil 7 ml of water.

All this is assuming no conversion loss, which would be hard, as the battery would be 5V DC but the plug is 230V AC.

Now I have a solar charger, but it is much larger, and by experience, it produces just enough power to charge an auxiliary battery with an USB plug, which in turn can charge my phone (see picture). All this is done using USB cabling at 5V. This is convenient when travelling, but again, not a solution for energy problems and certainly does not look as stylish as the clean vision of the small plug stuck onto the window.

If you want to have solar power, you need a large surface, for the same reason that if you want to feed people, you need a field… You also might want to do that outside of the house’s windows, which tend to reflect ultra-violet lights.

Flattr this!

Technology Cycle

Technology Cycle for Devices

When people talk about technological progress, they often seem to have the vision of a unstoppable army going forward, knowing where it goes. For me it looks a lot like a large river, unstoppable, but meandering around in unpredictable ways. One by one, objects around me are crossing the barrier that separates analog from digital. This evolution seems to follow some recurring path, where usability first degrades to improve afterwards. Here are the steps I observed.

  1. Analog device. The object has one purpose and just works for that purpose.
  2. Digital device with a clock. The first thing that you notice when a device becomes digital is that it gets a clock. The objet has a limited amount of buttons, and the clock is difficult to program, so often the device stays at the blinking 12:00 state.
    My kitchen and bathroom scales are at this level.
  3. Digital device with battery. A battery has been added to the device, so it can keep it state in case of power-cut, lots of feature have been added, but the device is way to complicated to configure properly, so the majority of its feature are unused. It displays winter or summer daylight saving time all year around.
    My old stereo is at this level.
  4. Digital device with serial port. A serial port (or a hacked usb-port) has been added to the device. Hackers can now use the device for many purposes, for the available population there is no noticeable changes. The device has now more unused features.
    My Casio electronic dictionary is at this level (no serial port, but proprietary USB).
  5. Digital device with USB port. The device has an USB port with some working protocol. It can now be used with computers relatively easily. The digital device is now much more useful than the analog equivalent. Digital cameras and MP3 players are typically at this level.
  6. Digital device with network connection. The device now has a network connection (Wifi or wired ethernet). The device can now be used in conjunction with other devices. Hardware is not the limiting factor, but software.
    My phone, my TV, my amplifier and my gaming console have reached that level.

Note that I’m not convinced there is a strict causation between certain feature and usability, more of a correlation.

Flattr this!

Ex-Word Data plus 2

It’s OBEX

Ex-Word Dataplus 2

I had some time to hack around the USB connection of my casio dictionary, and I have reached a “duh” point: the protocol used by the dictionary is OBEX run over USB. This is somehow surprising as OBEX is typically used over IRDA or Bluetooth not USB. What I though were commands are basically object names that are read and set. Now the content of the initial response packet makes perfect sense:

Bytes Meaning
A0 Success
00 07 Packet length: 7 bytes
11 OBEX version: 1.1
00 Flags: None
08 00 Max packet size: 2K

The bad news is that I should scrap most of my code, the good news is that now I could use the OBEX code in Mac OS X, and implement an OBEX Session on top of USB, and use the library calls to handle the put and get operations.

Flattr this!

USB everywhere

USB Logo

I started looking for a wide screen for my living room. One model that stuck me for its feature are the Sony Bravia, which sports an Ethernet connection and an USB connector. It can display various media stored on a mass-storage device. Which made me realize that most of the electronic devices I own have USB connectors to act as controllers my two wireless access points (to share printers), my NAS (to mount mass-storage devices), my printer (again to mount mass-storage devices).

My Airport Express APs cannot mount USB-mass storage devices, but later models can. This standard is becoming really ubiquitous. The funny thing is, if you look at it, the various standards that make this work are really old:

  • USB mass storage was defined in 1998.
  • It uses a restricted SCSI command set. SCSI was defined 1986.
  • Usually, the file-system is FAT which appeared in 1980.
  • The most common data format is probably the JPEG images. JPEG was standardized in 1992.
  • In JPEG files, the meta-data is specified in the EXIF format which originated in the TIFF format.

Flattr this!

Iphone

iPhone

iphone

I now have used my iPhone for two weeks, which replaced the Sony Ericson Z610i I had been using for two years. Comparing the way both phones have been designed is quite interesting.

Physically, the iPhone is more bulky, and I still prefer the clamshell design, which protects the screen when the phone is not in use. Having a clear, mechanical mean of telling the phone it is not in use is very useful. I already had a few cases of putting the iPhone to my belt without pressing the button that “closes” it. The result was some random app launching, possibly using costly bandwidth. The iPhone’s screen is of course way larger and this makes it possible to have useful applications. It also means that while taking pictures you have an idea what you are taking. The Z610i had five external buttons, the iPhone has basically three, but they actually do something, while on the Sony they were programmed to do stupid things – I suspect Swisscom fiddling with the firmware explains why one of the external buttons would display the phone’s status on the internal screen. Both phones have a proprietary external port, but the iPhone also has a regular audio jack, which is nice. I only realized recently that the earbuds that came with the phone had a three polarity connector and included a microphone, which is even better.

I found the call quality of both phones similar, but having the option to use my earbuds for phoning is really convenient. I had some earbuds for the Sony, but as I could not listen to music with it, I never carried them. This brings us to the whole music player thing. Theoretically, the Sony could play music and decode both AAC and MP3 files. In practice, the Firmware would only accept to play signed audio files. This was not even a serious security feature as I could find a program that would sign arbitrary audio-files, but only for Windows. As audio playing never worked, I had to buy an iPod, which was really silly. The iPhone is an iPod, with all the bells and whistles, so this means I don’t need a mp3 player in my pockets. The camera of both phones have similar resolutions, but I had the feeling the actual quality of the iPhone’s picture was better. The iPhone cannot record movie, whereas the Sony could but I never really managed to shoot anything vaguely useful with the camera in movie mode, so this is no great loss.

The main advantage of the iPhone is the Wifi connection and proper internet programs: web browser, mail, maps. The last one, coupled with the GPS is for me already worth a lot (I have a bad sense of orientation). I also liked the fact that there are plenty of useful applications. Having a specialized interface to facebook is nice, I also recommend Tramdroid if you live in Zürich, having the schedule for all trams stored in your phone is a really nice feature. While the Z610 had a web-browser, I was never usable beside for visualizing rich-text files converted.

I see two weaknesses of the iPhone compared to the Sony phone: bluetooth and tethering. While the iPhone has bluetooth hardware, only one functionality is supported: connecting a headset. Nothing else, no way to send data to another device. This was something useful when I wanted to push a picture to a computer, or send a vcard to another phone. The other part is using the Edge/3G connection of the phone from a computer. The Sony supported two modes, bluetooth internet sharing and the ethernet emulation over the USB connection. The iPhone cannot do either, but this seems more related to operator stupidity than to anything technical. Finally I wish the phone could track ToDos and also a Swiss-French keyboard, because currently, if I want French spell correction, I need to use the awful French keyboard.

Flattr this!

Brother HL 4040

Brother HL 4040 CN

This Friday, my trusty Laserjet 6MP finally died. Whatever printing job I sent, the printer would just blink wildly and crash, disappearing from the network. I bought this printer while I was a student at the University of Geneva, at that time, it was a fantastic device, with expandable memory, a postscript interpreter, and network capacities (Localtalk). It had more and more trouble printing, some of the plastic wheels had turned into a molten mess and had to be removed, and the toner leaved some smudgy traces on the paper, not really ideal for writing official letters. In short, I knew I needed to buy a new printer.

I did not want to buy a inkjet printer, my printing needs are very irregular, and I can be away for months, which means the ink cartridges will dry out. My first though was to buy a new printer from HP, as obviously the quality of the Laserjet was impressive. Still from what I saw from subsequent printers from HP, their golden age is in the past. While at Mediamarkt, I saw they had a special offer for the Brother HL 4040CN. I basically wanted a color laser (I really prefer color when printing maps or schematics), with four separate color toners elements (the black gets used faster than the others), and a network interface. This printer offered all this, for a price of 500 CHF, with half the price payed back by Brother, so this means basically 250 CHF. A few years ago I would have shied away from a non-postscript printer (this one only handles PL6) but these days, CUPS drivers can handle the conversion nicely. A recto-verso system would have been nice too, but I don’t print long stuff that often, and this is another component that tends to fails early in my experience, so I just went away, bought that printer and had it delivered in the same day.

The printer auto-detected the network and set itself up, announcing its presence using bonjour and Mac OS X recognized the printer immediately. So while there was a driver CD-ROM, I did not use it (it tend to avoid drivers from manufacturers, they often seem to be coded by idiots). The only drawback I see to this printer is that is quite bulky, but in my current flat, this is not a serious issue. I like the fact that the printer can read standard USB mass support elements and print their content, the printer also has a reasonable network stack, and thus supports things like SNMP, so I can even pretend to be a system administrator at home…

One advantage of having replaced the printer, is it simplified the structured of my home network. So while getting rid of the LocalTalk segment leaves me with a bit of nostalgia, I get less cabling, one box less, and a slightly lower power consumption: the Laserjet was consuming 10W in standby and the bridge 26W. The new printer consumes 20W, so I actually save 16W. Given the price of Power is Zürich is below 10 centimes per KW/H at peak rate, this means I will save less than 10 CHF per year. Still I don’t like having power go to waste.

Home network plan

Now if somebody has an old SO-DIMM 144 pin memory chip lying around, I could use it to expand the printer’s memory…

Flattr this!