Weight Scale Data on Google Sheet [Hacked]

Published

Introduction: Weight Scale Data on Google Sheet [Hacked]

This is a hack which was run against an ordinary off the market weight scale product which was then used to push data to google sheet to keep track of the weight overtime

The process being simple as

  1. A user measures his weight by standing on the scale
  2. We use a WIFI micro controller connected to the weight scale to pull all the data parameters.
  3. The micro-controller then uploads data to google sheet of the user.
  4. In long run user should be able to view data on his google sheet and as well also see the trend line for it.

With this hack i was able to pull following parameters:Weight,Bone%,Water%,FAT%

Step 1: Bill of Materials

  1. A nice hack-able weight scale I got this Weight Scale1300 INR 1Pcs
  2. ESP8266: I got this ESP8266 but you can get any 399 to 599 INR 1Pcs
  3. BC548 10 INR 2Pcs
  4. 10K 1/4w 5 INR 4Pcs
  5. 1n4148 5 INR 2Pcs
  6. OLED SPI 320 INR 1Pcs.(Optional)
  7. Some kind of battery I used Power Bank(will replace it with better one soon
  8. A day to assemble everything.

Step 2: [Research] How Does Weight Scale Work!!

I spent lot of time(2 Weeks) studying debugging diagnosing how weight scale works, if you are really interested how the same was done you can follow this link R & D

I was using MKR1000 but that was just for R&D phase.

Synopsis:

  1. The Weight Scale exposes a UART bus which was initially designed for BLE module
  2. The speed is 7600 of the bus.
  3. And it exposes all the info of weight and BMI
  4. Protocol is as mentioned here

Step 3: Circuit Design

As per the info found from R&D, it was now time to make a small portable circuit which can house all the components and sit on the scale. Below are the requirements

  1. The circuit should be small in foot print so that it can be housed on the scale itself
  2. It should be ULTRA low power so that it does not need frequent charging.(i dont like the idea of charging a weight scale not really user friendly)
  3. Port for programming
  4. Port of OLED display optional

With all these requirement in mind i came up with the following schematic & board layout

Functioning:

The heart of the circuit is the ESP8266 which enables to connect to WIFI and do the necessary UART protocol decoding and transfer data to google sheet.

Whenever the User steps on the scale, it wakes up and so does the UART by send eight bytes of zeros, the Idea is to monitor the UART activity and wake up ESP8266 from deep sleep and start its routine of reading the UART

For this i needed an SR latch which will send an RESET signal to the ESP8266 to wake it up from deep sleep further more once the routine is completed ESP8266 will trigger the reset of the SR latch so that the SET pin becomes active and start monitoring UART RX line.

This help us in keeping ESP8266 in deep sleep mode until the user steps/uses the weight scale.

Circuit board design: Board-layout

Share

    Recommendations

    • Microcontroller Contest

      Microcontroller Contest
    • Woodworking Contest

      Woodworking Contest
    • Casting Contest

      Casting Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    Comments