-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for the HX711 Load Cell Amplifier #884
Comments
@kthblmfld I did a load cell project last year. I didn't know there was a breakout board for this and had to wire up my own. Thanks for sharing. It's pretty easy to use this with Johnny-Five already. Just use an instance of sensor. This is an excerpt from my code. If our coffee pot was empty, Twilio would call our receptionist with a gentle reminder (I have since been told that this was "not cool"). If it was recently filled it would tweet.
|
We shouldn't close this issue until we add a load cell example in /eg |
@dtex Were you using the TAL220? It has a red(E+), black(E-), green(O+), and white(O-) wire coming off it. If so, what did you do with the green wire? Were you connecting it directly to the Arduino? Did you need to add any resistors? Thanks for replying. I have been digging into this issue for a few weeks and departed from my comfortable realm of understanding some time ago :) |
Sorry clicked the wrong button |
I am able to successfully detect a change in load using the load sensor + HX711 and connecting to Arduino the Vcc, ground, and analog pins to 'DAT','CLK' running code in these examples. In this case, there is no need for additional resistors. Where I am having a hard time with johnn-five Sensor is the 'DAT' and 'CLK' pins. Sensor only takes one pin in the constructor. Which is it, and do I need to do something with the other one? |
@kthblmfld Whoah, I completely dropped the ball on this conversation. I know this is way too late but here it goes anyways... It sounds like the HX711 uses SPI which firmata does not yet support. I found this proposal to add SPI to firmata here firmata/arduino#245 Once the API is nailed down we can start writing SPI support into the various io-pugins and then Johnny-Five. If you want to use Johnny-Five, one option might be to use an I2C backpack. The process is explained here http://omit.io/2015/08/20/beginners-guide-to-backpacks/ It does require additional hardware and software, but would enable use of the HX711 with Johnny-Five. I'm sorry I don't have better news, and I'm really, really sorry it took me months to see this again. I'll leave this open because I'm sure SPI support will come. We can close it then. |
Thanks Donovan, No rush. I demoed the robot I was working on a few months back, and it has Thanks! On Fri, Dec 18, 2015 at 11:50 AM, Donovan Buck [email protected]
|
Hey @dtex , I am trying to stream data from a load cell to a website using johnny-five and pubnub. Any updates on support for the HX711 amplifier? Thanks, |
No, sorry. SPI support in firmata is still somewhere off in the future firmata/arduino#245 |
Hi @kthblmfld , Johnny-Five contributors and maintainers are loathe to close issues where someone has a need. We don't want anyone to ever feel that we don't care, but SPI support hasn't landed yet. Rather than leave it languishing as an open issue we have created a Requested Features page and added your request for the HX711 there. |
Works for me. Thanks for the heads up, Donovan.
…-Keith
On Thu, Jan 11, 2018 at 8:36 AM, Donovan Buck ***@***.***> wrote:
Closed #884 <#884>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#884 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAbNMXMPE6rc3NBGfHeMFM9M7CEKaV-hks5tJjh8gaJpZM4Fn6Tx>
.
|
Just to know, there was an update? in the docs I couldn't find it, what is the process of adding this type of things? maybe I can contribute it myself? |
That would be awesome! SPi support would open up a lot of things. Assuming you are using an Arduino compatible board running firmata, then this is the place to work on getting it added: |
I'm a pretty much newbie in the open-source world, so don't really know what it takes, its just to write a wrapper to some c library? |
I am attempting to add a TAL220 10kg load cell to my robot with some assistance from the HX711 load cell amplifier. I have managed to get the latest driver installed on my Arduino and have found a few Javascript ports that I am trying to sort out. It would be nice if support for this were in johnny-five.
The text was updated successfully, but these errors were encountered: