Live data from Hacker News

The Plum-O-Meter: Weighing Plums Using 3D Touch in Swift

flexmonkey.blogspot.com

11–20 of 30 posts

Re: The Plum-O-Meter: Weighing Plums Using 3D Touch in Swift

#13
post #8

That's awesome. You can make a scale another way too, by using the barometer in the iPhone. You will need a ziplock or other airtight clear plastic bag, and an object of known weight for calibration. You can measure the change in air pressure in the bag with your iPhone inside, and put your object to weigh on top of the bag (carefully balanced). There is a linear relationship between the rise in air pressure and the…

Note that the bag must be extremely flexible for that to work. Otherwise the weight will be supported by the bag and the air pressure inside will be lower.

For some reason, that reminds me of the classic "measure the height of a building using a barometer" joke.

Re: The Plum-O-Meter: Weighing Plums Using 3D Touch in Swift

#14
post #8

That's awesome. You can make a scale another way too, by using the barometer in the iPhone. You will need a ziplock or other airtight clear plastic bag, and an object of known weight for calibration. You can measure the change in air pressure in the bag with your iPhone inside, and put your object to weigh on top of the bag (carefully balanced). There is a linear relationship between the rise in air pressure and the…

If you put a very light balloon in there won't the air pressure increase more than a smaller but heavier apple?

Re: The Plum-O-Meter: Weighing Plums Using 3D Touch in Swift

#15
post #8

That's awesome. You can make a scale another way too, by using the barometer in the iPhone. You will need a ziplock or other airtight clear plastic bag, and an object of known weight for calibration. You can measure the change in air pressure in the bag with your iPhone inside, and put your object to weigh on top of the bag (carefully balanced). There is a linear relationship between the rise in air pressure and the…

If you put a very light balloon in there won't the air pressure increase more than a smaller but heavier apple?

You put the object ontop of the bag, not in it

Re: The Plum-O-Meter: Weighing Plums Using 3D Touch in Swift

#16
Ah, you beat me to it; I was just talking with my coworkers about something like this as a fun application of the new 3D touch. We were theorizing that a ~100g capacitive tray could be used to enable the capacitive touch; then use that as the zero reference and weigh things in the tray. :)

Re: The Plum-O-Meter: Weighing Plums Using 3D Touch in Swift

#17

Earlier quoted context omitted.

I've only tinkered so far, but I've just ordered a set of calibration weights to have a proper play next week. Watch this space!

A US nickel coin weighs exactly 5g. Edit: if you happen to be in that exotic locale. I'm sure other coinage has similarly consistent weight.

A dollar bill weighs 1g.

Re: The Plum-O-Meter: Weighing Plums Using 3D Touch in Swift

#19
post #12

It would be great if I can step on my iPhone every morning, and MyFitnessPal would record my weight.

I think this is the use case for a Bluetooth scale

Yeah, but I'm not going to take a Bluetooth scale when I go on business trips.
Post reply on HN