Skip to content
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

Onewire function is needed #16

Open
firefly917 opened this issue Feb 15, 2017 · 9 comments
Open

Onewire function is needed #16

firefly917 opened this issue Feb 15, 2017 · 9 comments

Comments

@firefly917
Copy link

Thanks for your contribution of so great project.
Most functions of the project is enough to control the Arduino device, and it work well.
Now, I need use the temperature sensor of DS18B20 which is working on the protocol of Onewire.
How can I implements this function? Would you add this function into this project?

@kurbatov
Copy link
Owner

kurbatov commented Feb 15, 2017 via email

@firefly917
Copy link
Author

Thanks for your attention.
There is an implementation of Onewire at "http://npm.taobao.org/package/firmata-electron".
It is implemented by Node.js. But I didn't try the library.

@kurbatov
Copy link
Owner

kurbatov commented Feb 15, 2017 via email

@firefly917
Copy link
Author

Thanks!

@mchandia
Copy link

Hello, first of all many thanks for your contribution. Really appreciated :)
I'm implementing a onewire library (at least trying) but when I first set the mode for a pin as ONEWIRE in the firmata client application it says "Pin 6 doesn't support mode ONWIRE". Why could I be doing wrong?, does the standard Firmata (loaded in arduino) support onewire ?

@kurbatov
Copy link
Owner

Hi Mario,

I have read the documentation on OneWire and it sais that ConfigurableFirmata got OneWire enabled by default. So it may be worth trying it with ConfigurableFirmata.

As for StandardFirmata I'm not sure whether it supports OneWire by default because I cannot find it in the file that describes capabilities of different boards.

@mchandia
Copy link

Hello Oleg,

Thank you very much, I loaded ConfigurableFirmata into Arduino and it supports OneWire, so it works now :).

Mario

@firefly917
Copy link
Author

@kurbatov
Thanks very much!

@willishf
Copy link

willishf commented Jan 5, 2023

Looking to see if anyone put Java client code together to support OneWire?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants