-
Notifications
You must be signed in to change notification settings - Fork 89
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
Raspberry Pi compatbility #25
Comments
did you translate your text via google translate? it is hard to understand without guessing a lot. so you seem to have a RPI as a onewire-master and want to emulate slave via arduinos. it should work. It depends on the software of the RPI. they all try to speak onewire and when someone is bending the rules we all have a problem. |
Ooops. A bit too much last minute editing and not enough proofreading. I use a Raspberry Pi to read a string of DS18B20 temperature sensors and log the data into a DB. This has been running for years. First polling the sensors over the network with an ethersex board (think Arduino with ethernet shield), then directly attached to GPIO4. Now I want to add humidity sensors into the mix. The simplest way should be to emulate them as 1-wire temperature sensors. The existing wiring is able to power an Arduino. Small steps first. I put the DS18B20 example on an Arduino nano and tried to read it with another Arduino. This works as expected. Then I tried to read the emulated sensor with the Raspberry Pi. - This does not work. I can still read the physical DS18B20 sensors on the same bus. No obvious errors. Supply voltage is ok. A few hours later I come to the conclusion that I can read OneWireHub sensors reliably with various micro controllers over different distances but never with the Raspberry Pi. Next week I can remove GPIO4 from the equation, going for DS2482-100 or DS2483 instead. |
Switched over to a DS2482-100 in and it works. So the problem seems to be GPIO4 specific. |
Hello, I want to use DS2482-100 on esp8266 (esp12) with OneWireHub library. Is it posible? |
Using GPIO4 that is.
Has someone managed to read emulated senors with Raspberry Pi via GPIO?
Hardware 18B20 on either side of a level shifter work as expected, the emulated sensors are a no-go. (Arduino nano, Arduino pro mirco 3.3V, ESP8266)
Reading the emulated sensors via various software bus masters works.
Switch to DS2482 / DS2484 as physical bus master. - Or find the mistake?
The text was updated successfully, but these errors were encountered: