Link to home
Start Free TrialLog in
Avatar of ltpitt
ltpitt

asked on

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!
Avatar of Scobber
Scobber
Flag of Australia image

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
ASKER CERTIFIED SOLUTION
Avatar of Scobber
Scobber
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial