iPhone 6 Hacked into a Digital Scale
Apple’s iPhone 6 series introduced 3D Touch, a hardware function that measures the hardness of a press on the screen.
Such a feature can be handy for all sorts of developers, especially game developers. It gives them the ability to measure both length and depth of a press. Android devices already have the same functionality, including the Huawei Mate S.
A developer in the UK has taken the concept and made a digital scale out of it. Called the “plum-o-meter,” the code has been made available to the public via Github.
Writing about the project on his blog, FlexMonkey, Gladman claims that the reason for the creation was in order to ensure that his significant other always gets the largest plum. Silly as it may seem, it’s as good a reason as any to develop a piece of useful code.
Being a generous sort of chap, whenever I pull a pair of plums from the freshly delivered Fortnum & Mason’s hamper, I always try to ensure she has the larger of the two.
Near the end of the post, he confesses that the code was originally developed to weigh grapes, but that grapes were too light to activate the feature. There is also a fatal flaw with it being used as a digital scale, in that it responds to other forces applied to the screen. After all, the phone was not designed to be a digital scale, so drug dealers can put their excitement away (one more part of the operation replaced by the iPhone).
It’s interesting to see that it changes depending on other forces acting upon the screen which to me indicates that the 6s isn’t going to replace your high precision electronic scales. What this demo does show is that the 6s can handle multiple touch points each with a decent value for their relative forces.
Given that it doesn’t function perfectly and makes obvious that the iPhone has magical powers of force measurement, it would likely be rejected from the official App store. Nonetheless, jailbroken users can compile the code into an App and use it themselves.
Image from Shutterstock.