Open landlordmiras opened 1 year ago
Hi,
I've seen some messages on the forum but have been away over the last 3 weeks doing other things.
I recall starting to look at this and seeing that on the esp32 the onewire search function which is supposed to look for the whole id (64 bits) stops requesting bits after the first bit. What library are you using? Can you share the project?
Cheers
Bonny
On Wed, 8 Feb 2023, 01:54 landlordmiras, @.***> wrote:
Hi, I am trying to use this chip with esp32 and it's not working. I don't find anywhere that it is not compatible. This is only my problem or something else? I was trying to connect with different pins, online and in vscode. The same effect everywhere (no detecting chip address).
— Reply to this email directly, view it on GitHub https://github.com/bonnyr/wokwi-ds1820-custom-chip/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUGTZ25V5WK7F4S4HY33ALWWJ46DANCNFSM6AAAAAAUUGXSKA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
On wokwi i was using built in library. https://wokwi.com/projects/355930442233635841 This is example project from library (https://github.com/PaulStoffregen/OneWire/releases/tag/v2.3.6) that was working great on uno on wokwi.
@landlordmiras
Apologies for the delayed response. I am still investigating the issue; however, it appears that the ESP32 has some mentions on the OneWire repo on github:
In my testing, I can see the logic analyser recording varying numbers of query bits when the controller (ESP32) is trying to identify the sensor. This variable behaviour happens with the same chip during the same simulation on Wokwi and the custom chip is not reporting any invalid data based on the debug messages it emits.
I am wondering if you could use one of the other libraries in its place (eg,. https://github.com/pstolarz/OneWireNg) in the interim?
Hi, I am trying to use this chip with esp32 and it's not working. I don't find anywhere that it is not compatible. This is only my problem or something else? I was trying to connect with different pins, online and in vscode. The same effect everywhere (no detecting chip address).