mDot + DS18B20 Temp sensor not working

Home Forums mDot/xDot mDot + DS18B20 Temp sensor not working

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16627
    kaz ola
    Participant

    Dear,

    I am having hard time connecting a DS18b20 temperature sensor to mDot.

    EDIT: my bad, wrong connections.

     

    #16632

    Hi Kaz,

    I think the issue is with your probe pin. D13 is not a defined pin for the mDot. Pin PA_5 of the mDot routes to D13 on the UDK2 board. If you look at the PinNames.h file in the path mbed-os\targets\target_stm\target_stm32f4 you’ll see that PA_5 can also be referenced as XBEE_AD2 and XBEE_DIO2.

    If that does not solve it, I’d suggest you verify that you have control of the correct pin by setting it as either a digitalin or digitalout then read or set levels and confirm.

    Kind regards,
    Leon

    #16749
    kaz ola
    Participant

    [THREAD SOLVED]

    Leon, as always, thanks for your help.
    Now it is working.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.