skaronator / esp8266-load-cell Goto Github PK
View Code? Open in Web Editor NEWA MQTT client to read out the result of HX711 and send it to a MQTT Broker
A MQTT client to read out the result of HX711 and send it to a MQTT Broker
When the MQTT server goes offline and comes back it should re-send the current value.
Are you using a single load cell or multiple?
Hi there,
I'm attempting to get my Wemos D1 Mini Pro working with your bed sensor scripts, however after flashing both files I'm getting reboot errors.
I modified config.h to suit my config, should I try it with yours?
I'm really new to the whole ESP8266 thing so please be gentle :)
I have wired it all correctly (I think) SCL -> SCK, SDA -> DT, 5v -> VCC & GND -> GND from ESP to HX711. I followed the diagram provided for the weight sensors to be wired to eachother and back to the HX711.
In the Serial Monitor I get total garbage at 9600 baud, but at 115200 I get this:
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
vbb28d4a3
~ld
Any help would be greatly appreciated!
I have all running, i added a scale set option since when i restart i would not be in bed ;)
Problem is it sometimes just 'dies'. When that happens it restarts dumping errors on the screen before restarting. Somtimes it works for a long time and sometimes it just goes into the reboot phase.
Is there anything i can do to improve this/debug?
Other then that, the instructions where just fine. Only thing i didn't know was that you need the molds otherwise it doesn't bend correctly. (i was just pressing it for testing, gives weird values)
Hello,
I am sorry to ask, but do you have some step by step instructions? I have never done a project like this, but I am desperate to try. I have just ordered all the components you listed.
Sorry for the stupid question, but will I also need an adruino board in addition to the hardware you listed?
Thanks for any help you are able to provide. My goal is to add this bed occupancy sensor to our toddlers bed and then plug into Home Assistant... possibly using the ESPHome component...
Thanks again for any help you can give me
Hi,
thanks for your great work in porting this bed scale to the ESP platform!
That really made it possible for me to go ahead an make it!
I ran into a problem after uploading your code (with my settings in config.h) to my ESP8266 (Wemos D1 mini)
The serial Monitor is printing out random characters and I dont know why?
I checked the baud rate and tried all the other baud rates (in the serial monitor). It should be 9600 baud since that is written in the code (Serial.begin(9600);).
I made you a big screenshot with hopefully all the info you could need.
Any help is really welcome, thanks!
And one other question:
I used the picture that you can see in the screenshot to attach the sensors to the HX711 (ignore the part on the picture with the arduino).
Is that the correct way to wire them up?
Hi
I am having issues connecting to WiFi as I have defined all the values undre the wifi settings but yet I cannot connect my esp8266 board to the wifi.
Can someone please define the following for me maybe my address might be incorrect:
Wifi client ip?
Wifi gateway ip?
Wifi subnet ip?
Wifi dns ip?
Thanks.
Ive tried to load the code on a nodemcu unit as well as a d1 mini and both of them get into a boot loop.
It can connect to wfifi then it disconnects and crashes, every once in a while it might try to connect to MQTT but usually loops before it gets that far
<<<stack<<<
�ü!��¤Î1¤1õþ›Ñ…ÉÑÕÁ…
[WiFi] Connecting to lan...
[WiFi] Connected, IP address: 192.168.1.1
Exception (9):
epc1=0x40104de0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000003 depc=0x00000000
ctx: sys
sp: 3ffffd20 end: 3fffffb0 offset: 01a0
>>>stack>>>
3ffffec0: 00000004 0000001d 3ffe8909 3ffee5f0
3ffffed0: 4010500c 00087f90 3ffeed54 00000000
3ffffee0: 3ffee460 3ffeed54 3ffeef38 3ffee5f0
3ffffef0: 00000000 0003badc 402015e0 000003e8
3fffff00: 3ffeed54 3ffeec20 3ffee5f0 401068c1
3fffff10: 00000000 3fff0aec 3ffeef38 402023d3
3fffff20: 40107128 be01a8c0 3fff0528 40214524
3fffff30: 00000014 00000018 3fff12dc 40207254
3fffff40: 3fffdc80 00000000 3fff0604 40202950
3fffff50: 40107128 be01a8c0 40107128 00ffffff
3fffff60: 40107128 fb01a8c0 00000000 00000005
3fffff70: 00000002 3fff12dc 3fff0b04 40202aeb
3fffff80: 40100862 00000002 00000000 3ffee5f0
3fffff90: 3fffdc10 00000000 3fff12dc 402313dc
3fffffa0: 40000f49 3fffdab0 3fffdab0 40000f49
I'm flashing at 11500 as anything slower would fail
Any ideas,
Hello
Can you please show the connection of the load cells to the load cell sensor as well as to the Wemos?
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.