Menu

Help with DUAL DS18B20 reads

Help
lhatch
2013-03-28
2019-11-30
  • lhatch

    lhatch - 2013-03-28

    Anyone have a sample code reading one or two of them.

    I was going to use a Raspberry Pi, but thinking about a 12F675 and GCbasic.  I want to read to 18B20 and compare the temps.

    Anyone have something like this.  A sample with one might work and I can not two pics, slave and master maybe?

     
  • Jim Henson

    Jim Henson - 2019-11-30

    Trying to get two DS18B20s working on the same pin. Reading one works fine. Using a PIC16F15324 portC.3, GCB v0.98.06 and ds18b20mulltiport.h (2018 Evan Venn , Release notes 04/02/2018 )

    Does anyone have sample code that works reading two DS18B20s on the same pin? I've scrubbed the discussions, lots of hints but no joy. Thanks!

     
  • Anobium

    Anobium - 2019-11-30

    Not seen any code for that. There may be, of course.

    I use the a DS2482 for multiple devi es on same port. There is a library for the DS2482 . So, with this device it makes it a lot easier.

     
  • Jim Henson

    Jim Henson - 2019-11-30

    Can you please post the code pertaining to the accesses to the DS2482 as it might provide some info.

    Thanks, Jim

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.