espressif/onewire_bus: esp_err_t 0x105 (ESP_ERR_NOT_FOUND)

carel.combrink
Posts: 1
Joined: Wed Nov 01, 2023 6:13 pm

espressif/onewire_bus: esp_err_t 0x105 (ESP_ERR_NOT_FOUND)

Postby carel.combrink » Wed Nov 01, 2023 6:34 pm

Hi,

This feels like a hardware issue, although it can be software.

I created a very simple board using veroboard and a ESP32-DEV-CH340-C board.

My basic setup is:
  • Three DS18B20 temperature sensors connected to GPIO_NUM_4.
  • Two opto isolated relays
  • A 18650 Bat Holder + Charger for UPS (5V in, 5V out)
  • Power sense pin (5V divided down using 10k/20k voltage divider)


When I am running off battery power (AC off), I read the temperature sensors without issues (no issues over multiple +-6 hour periods)
When the AC power is on, I get the following errors regularly when trying to read the temperature:

Code: Select all

E (1071552) ds18b20: ds18b20_trigger_temperature_conversion(107): reset bus error
ESP_ERROR_CHECK failed: esp_err_t 0x105 (ESP_ERR_NOT_FOUND) at 0x400e5b69
More info:
The input to my battery goes to the relays, and my power sense pin (I need to know when AC is off). The output of my battery goes to the 5V pin on the ESP.
The Temperature sensors are connected to 5V and GND, with the data pin pulled down to the 3v3 pin of the dev board using 4k7 resistor.

Where can I start debugging to try and find and hopefully fix the issue?

Please ask questions, I will respond as well as I can

Who is online

Users browsing this forum: No registered users and 43 guests