UNIPI and DS18B20 problem

alverman
2017-03-02
2017-03-03
  • alverman - 2017-03-02

    Good evening,
    I have problems in reading the DS18B20 connected to unipi 1.1 !!
    I tried to load the OneWire draft CoDeSys but is not designed to unipi but for raspberry and it does not work.
    How can I just read a value from the sensor?

    I tried to enter the raspberry and typing:

    PI3_MMM pi @: ~ $ cd / sys / bus / w1 / devices
    pi @ PI3_MMM: / sys / bus / w1 / devices $ cd 28-0004442100ff
    pi @ PI3_MMM: / sys / bus / w1 / devices / 28-0004442100ff $ cat w1_slave

    00 00 00 00 00 00 00 00 00: crc = 00 YES
    00 00 00 00 00 00 00 00 00 t = 0

    It seems to not work !!
    I have three sensors, and I tried them all with the same result.

    Tips?

    Thank you, Alberto

     
  • eschwellinger

    eschwellinger - 2017-03-03

    Hi,
    could you check if this works with the example Project from
    CODESYS V3 Raspberry Pi share your devices & libraries & applications

    l viewtopic.php?f=23&t=6247&p=16920#p16920 l

    BR
    Edwin

     
  • alverman - 2017-03-03

    Edwin Schwellinger hat geschrieben:
    Hi,
    could you check if this works with the example Project from
    l viewtopic.php?f=23&t=6247&p=16920#p16920 l
    BR
    Edwin

    Thanks Edwin,
    but the project is for raspberry alone, I have the UNIPI board 1.1 and the sensor is connected directly to the expansion card.
    The sensor is connected to the RJ45 BUS 1Wire of unipi then I think the problem lies.

    Thank you, Alberto

     

Log in to post a comment.