Onion Omega 2 1-Wire with 5V for DS2438
-
Hi together,
has anyone connected a DS2438 1-Wire IC to our omega 2? I have configured my omega as descripted here (https://onion.io/2bt-reading-temperature-from-a-1-wire-sensor/) and this is working very well with the temp sensor. But now I want to connect a DS2438 Sensor and this one does not work with 3,3V. So my question is, has anyone done this already and can give me a working layout or some hints?Thank you!
-
-
Ok, i read the thread but unfortunately I don't understand all details. I understand the wiring, but what level converter will be used there? A PCA9306?
My testing shows the same problem as described in that thread. The 1-Wire DS2438 device is found, but the Value can't be read via cat .../w1_slave.
...the file is not found.
Is there a problem with the driver because of the DS2438 used a different method to send there data to the 1-Wire?
Do I understand the part "Or ask the author of the custom 1-wire code." Correctly?
Sorry, but my english isn't the best.Thanks
-
Short update, i found out, that we need an additional kernel module to read the correct values from the DS2438. My wiring should be ok but the kernel module is missing. I found the following infos:
http://rants.dyer.com.hk/rpi/humidity_1w.html - how to read the values from the "RW" file by Perl
and
https://skyboo.net/2017/03/ds2438-based-1-wire-humidity-sensor/ the needed c code for creating the needed kernel modulecan someone help me bringing this together to the onion omega?
Thanks
-
have you read this information ?,
https://docs.onion.io/omega2-docs/communicating-with-1w-devices.html
-
@Volker-Helms
Hey. A few months ago, I decided to connect the DS2450 ADC to the Omega-2, but my experience has shown that it is better not to do this.
The problem is that Omega-2 sees this, but cannot read the data. For the DS18B20 temperature sensor, this works, because it is easy to control, but the ADC is a more complex device.
I wrote in several forums, in Onion technical support and in Maxim Integrated (Dallas Semiconductor), but they all said they did not know how to solve this problem.
In the end, I got rid of the problems by replacing the DS2450 with ADS115.
-
Hey thanks for the updates. Sounds not so good. Ok, I will think about it and check my possibilities.