Home Creators Posts Import Register Favorites Logout

Content

A few of you kindly pointed out that a recent update to the HX711 Arduino library broke the code I'd published for the "Weight For It" project. I've now uploaded a fixed version of the project, and I've also modified it to use a local copy of the library, so it shouldn't break again if any more updates happen in the future! You can access the revised code listing at https://drive.google.com/open?id=1QfFm5xRaVLgZPPAQoUBiIm_so_MUrXuU  (you'll need both the WeightForIt.ino sketch and the contents of the /src subfolder). I've also included a little 3d model of a plate and stand (pictured) which you might find useful to mount your load sensor).

I've also fixed a slight inconsistency in the "Valves" puzzle (the LED pins defined in the code listing differed from those shown in the wiring diagram)

Thankyou for all your feedback!

Files

Comments

Jeff Windmeyer

Alastair! How do I load your local HX711 library? I have the updated ino file loaded, but the sketch can’t find that HX711.h file… any help would be greatly appreciated!

Tehral

Hi Alistair, I am using an LX6 ESP8266 and I only have 1 Analog PIN, is there a way to make it work with that one? I really need the WifiChip to send a message to my Node-red system

Radovan Biro

Hi Alastair, puzzle "Weight for it" is working very good :) , but I have one question for you. Is possible connect more load sensors which have define specific weight for open one maglock? Forexample: first item that weight 350 grams, second item that weight 800 grams and third item that weight 50 grams. If the players place the correct item on the correct weight sensor, then the puzzle will be complete and the maglock will open. Thanks for your response.