adafruit / adafruit/Adafruit_CircuitPython_DS18X20

I Keep getting this error even when the family code is right

Open
#28 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
11
Forks
15
PR merge metrics
No merged PRs in 30d

Description

I've been following this [tutorial](https://learn.adafruit.com/pico-w-http-server-with-circuitpython/code-the-pico-w-http-server) so far. and when I run the code, in this module I get this error `Traceback (most recent call last):
File "", line 38, in
File "adafruit_ds18x20.py", line 84, in __init__
ValueError: Incorrect family code in device address.` This is the [thermostat](https://www.adafruit.com/product/381#technical-details) that i'm using. Any help is greatly appreciated. I also have the resistor connected to it.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked tutorial and the thermostat’s technical details, then inspect adafruit_ds18x20.py at line 84 alongside the traceback from the reported code. Compare the connected device’s address and family code with what the module expects; done means identifying and documenting a reproducible cause and correction, or confirming the hardware is unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.