Skip to content

OneWireBus does not seem to detect a DS18B20 on featherS2 #3822

Closed
@Neradoc

Description

@Neradoc

Tested a DS18B20 temperature sensor (with the appropriate resistor) on a Feather S2 and other boards (like Feather M0 express) and the device is not found on the S2. I think I correctly checked it's connected to the right pin (it throws an error otherwise).

Feather S2:

import board
from adafruit_onewire.bus import OneWireBus
ow_bus = OneWireBus(board.IO17)
devices = ow_bus.scan()
print("Devices:",devices)
code.py output:
Devices: []

Feather M0 Express

import board
from adafruit_onewire.bus import OneWireBus
ow_bus = OneWireBus(board.A0)
devices = ow_bus.scan()
print("Devices:",devices)
code.py output:
Devices: [<OneWireAddress object at 20001b20>]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions