• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 168
  • Last Modified:

Connect two temperature sensors DS18b20 to Particle Photon

Hi all!

I managed to read data from my DS18B20 using Particle Photon using this tutorial:
https://www.hackster.io/AgustinP/logging-temperature-data-using-the-spark-core-b9c60c

How can I hookup and read data from two sensor instead of one?

Thanks!
0
ltpitt
Asked:
ltpitt
  • 2
1 Solution
 
ScobberCommented:
Dallas temperature sensors are designed to be connected together in a bus, because most micro controllers use 'bit banging' to communicate they are often limited.

Your best bet is to use a actual bus master look at the data sheet to find a compatible part

https://datasheets.maximintegrated.com/en/ds/DS18B20.pdf

I purchased a few of these for about a buck each off ebay
0
 
ScobberCommented:
The bus master data sheet can be found here

https://datasheets.maximintegrated.com/en/ds/DS2482-100.pdf
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now