No temp reading with one wire DS18B20

lvdPol
2015-02-04
2015-02-23
  • lvdPol - 2015-02-04

    The raspberry Pi and some one wire temp sensors from Dallas DS18B20 are giving me a hard time.

    When I login white SSH than I can read the temperature white the cat commando.
    but when i login in the raspberry Pi white codesys with then I get only the address from the sensors.
    but no readings. what do I do wrong?

    In the status window is the message "no driver found" is this normal?

    Regards Lammert,

    IMG: Schermafbeelding 2015

    IMG: Schermafbeelding 2015

     
  • T.Holsten - 2015-02-22

    Hi there!

    I have exactly the same problem (No driver found) like lvdPol.

    Please help us...

    Regards
    T. Holsten

     
  • eschwellinger

    eschwellinger - 2015-02-22

    Hi,

    please check the following:

    1. did you add the ID of your sensor in the configuration tap of the 1wire sensor.
    2. what does Linux report if you connect to your pi by ssh (putty)
      and give then the following command cat /sys/devices/w1_bus_master1/28-0004442100FF

    <28-0004442100FF> should be your sensor ID which you see in the table

    If this is set and it still does not work you need to check if your sensor does work under Linux

    cd /sys/bus/w1/devices
    cd <yoursensor-id>
    cat w1_slave</yoursensor-id>

    0f 00 4b 46 ff ff 06 10 0c : crc=0c YES
    0f 00 4b 46 ff ff 06 10 0c t=7375

    Did you add the 4k7 resisitor ?
    Here is a good description:

    http://www.google.de/imgres?imgurl=http ... CD4Q9QEwAw

    BR
    Edwin

    IMG: SensorID.jpg

    IMG: 1Wire_ID.jpg

     
  • T.Holsten - 2015-02-23

    Danke! Jetzt funktionierts.

    Punkt 1 hatte ich ΓΌbersehen.

     

Log in to post a comment.