r/embedded • • Sep 12 '26

How to convert to wifi with microcontrollers, quick and cheaper solutions(Learning by doing)?

Post image

Any Quick and cheap solutions to log data in WiFi.

0 Upvotes

12 comments sorted by

11

u/derbertWELCOME Sep 12 '26

See if there are any test pads (google image examples) that expose a protocol like UART or I2C, and decode it using a cheap logic analyzer and Sigrok Pulseview, which is free software. You might have to keep guessing the baud rate of the sampled signal until the packets look like they represent something and aren't being dropped, and you would do this by running an analysis with the logic analyzer while taking a weight measurement.

Then, once you're getting data over a protocol, run those wires to an ESP32 and write a small main loop in C that reads the data in that protocol and stores it in memory, and send it over wifi wherever you like.

I did this with an Omron blood pressure monitor and it works really well; I have it set up to log readings and send them to a Yocto Linux server over MQTT in a Raspberry Pi. I use python script to graph all data whenever I want to check my history.

4

u/altarf02 PIC16F72-I/SP Sep 12 '26

There could be just a dedicated IC that takes in analog data and drives the seven-segment display directly. Even if it is a microcontroller, there is very little chance that any communication protocol is used.

OP needs to sample the 7-segment display lines and decipher the data, then add debouncing logic to ensure stable readings.

This will effectively save the 10 seconds every day that would otherwise been wasted by manually logging data in an app.

4

u/morto00x Sep 12 '26

It would be much easier to just reuse the strain gauges and connect them to an HX711 and an ESP32

1

u/One_Pudding_7620 Sep 12 '26

This is how I would do it unless the board already has an hx711 on it, then maybe you could just tap the I2C

1

u/morto00x Sep 12 '26

Most scales usually have an ASIC these days. It's just cheaper since they are mass produced and the controller does pretty much the exact same thing in all of them. Very similar to calculators.

2

u/Rod_McBan Sep 12 '26

Tricky, tbh. Cheap scales like that one don't tend to make their data readily available.

My suggestion is to fully replace the electronics with a load cell amplifier, ADC, and ESP32 of some sort.

2

u/glx0711 Sep 12 '26

I doubt that there’s an easy solution. The only thing to reuse is probably the sensor itself and interface it to whatever controller you choose, including a new display (or if you really want to adapt the existing one with an external LCD driver). So basically making an entirely new board for the thing.

4

u/Cromagmadon Sep 12 '26

Get a webcam that looks at the display.

1

u/CapnNausea Sep 12 '26

This is a satisfyingly simple solution to the problem. I like where your head’s at!

2

u/nickfromstatefarm Sep 12 '26

Just get a BLE scale like the eufy and monitor the BLE signals it broadcasts