Hacking a bathroom weighscale for cloud connectivity
Hardware hacker Darrel Tan has a great write-up about his experience with hacking a Chinese-made bathroom scale for cloud connectivity using a Raspberry Pi. His bathroom weighscale has a separate display part that receves the weight measurements from the scale through an infrared link. Darrel hooked up an 38kHz IR receiver to the logic analyzer and placed it near the scale as he was standing on it, so that he could decode the IR bursts. He found that the device used pulse distance coding to encode the data with ~75ms spacing between the consecutive bursts. With further analysis, he was able to figure out how ones and zeros are transmitted and how the weight data is represented in the transmitted stream between the scale and display. After the most difficult part of the hack done, he then hooked up a Vishay TSOP4138 IR receiver to one of the Raspberry Pi’s I/O pins to send the data to the Google Spreadsheet for recording and future plotting.