Skip to content

DS18B20 temperature sensor - #1690

Open
thebino wants to merge 1 commit into
meshcore-dev:devfrom
thebino:feature/DS18B20-temperature-sensor
Open

thebino wants to merge 1 commit into
meshcore-dev:devfrom
thebino:feature/DS18B20-temperature-sensor

Conversation

@thebino

@thebino thebino commented Feb 13, 2026 •

Copy link
Copy Markdown

This PR will add support for a DS18B20 3-wire temperature sensor.

image Screenshot_20260214-142459

@thebino
thebino changed the base branch from main to dev February 13, 2026 21:49
@awhite2000

Copy link
Copy Markdown

In the diagram above - technically speaking, the 1-Wire bus doesn't require that the sensor is connected to the VCC line, it's enough to connect it to GND and connect the data line to a pull-up resistor.

@thebino

thebino commented Feb 20, 2026

Copy link
Copy Markdown
Author

@awhite2000 you're not wrong about this. Those D18B20 support two power modes

  • normal mode (3-wire)
  • parasite mode (2-wire)

For temperature sensors a stable and continuous power supply is recommended. Also the parasite mode requires additional configuration which might not be supported by every board. So I kept it simple with 3-wire

@thebino
thebino force-pushed the feature/DS18B20-temperature-sensor branch from 63b8b66 to 9f3b63a Compare October 6, 2026 06:06

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants