• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    1-wire sensor not listed in /w1/devices/ -wrong plug occupancy?

    Official EVOK API
    2
    2
    510
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bibabutzemann last edited by

      Re: Cannot see 1wire sensor in EVOK

      Hello everybody,

      I started from scratch and configured everything that should be configured, but I still don't see the 1wire sensor under /sys/bus/w1/devices.
      I suspect that my RJ-45 connector is incorrectly connected. My sensor is a DS18B20 with 3 cables (red, black, yellow).
      How do these cables have to be connected in the RJ-45?

      Many thanks in advance
      -Luk

      Martin Kudláček 1 Reply Last reply Reply Quote 0
      • Martin Kudláček
        Martin Kudláček administrators @bibabutzemann last edited by

        Hello @bibabutzemann,
        the 1-Wire pinout on our PLCs is documented here: https://kb.unipi.technology/en:automation:02-glossary:1wire-hidden

        Since your sensor is not original from UniPi (we have 4 wires), I can only guess the function of the wires:

        red: Vcc
        black: GND
        yellow: 1-Wire

        But you need to refer to the documentation of your sensor, or do the blind test which may damage your sensor.

        Best regards,
        Martin

        1 Reply Last reply Reply Quote 0
        • First post
          Last post