STM32 UART #7 || One-Wire Protocol || Interface DS18B20

Поділитися
Вставка
  • Опубліковано 23 лют 2024
  • Purchase the Products shown in this video from :: controllerstech.store
    ________________________________________________________________________________________
    Watch PART 6 :::: • STM32 UART #6 || Commu...
    Watch PART 8 :::: • STM32 UART #8 || Lin P...
    Check out STM32 UART Series :::: • STM32 UART Series
    Check out More STM32 Tutorials :::: • STM32 Tutorials
    Download the code from :::: controllerstech.com/stm32-uar...
    ________________________________________________________________________________________
    ****** SUPPORT US BY DONATING*****
    paypal.me/controllertech
    ******Join the Membership******
    / @controllerstech
    Join the Discord Server / discord
    Join the Telegram Group t.me/controllerstechdiscuss
    Follow me on Instagram / controllerstech
    For more info, visit www.controllerstech.com
  • Наука та технологія

КОМЕНТАРІ • 15

  • @user-jc9xd4rf9x
    @user-jc9xd4rf9x 4 місяці тому +1

    Hello Your Videos is clearly explained and i watched mostly i have a request can you please do a series on OV5640 camera interfacing with Local PC GUI or with TFT display

  • @bayramgoktepe2575
    @bayramgoktepe2575 3 місяці тому

    thank you for everything

  • @jorgemaker4622
    @jorgemaker4622 4 місяці тому

    It would be very interesting if you publish a video explaining how to sue the STM32 to implement LIN Bus communications that is acheived adding a LIN trasnceiver attached to the UART

  • @mieteksuchar6662
    @mieteksuchar6662 4 місяці тому

    Not related to UART, but how about creating a music tempo (BPM) detection algorithm?

  • @LubosMedovarsky
    @LubosMedovarsky 4 місяці тому

    Sooo... when can we expect DHT11/22 coverage? 😉 Just kidding, and well done, thank you!

  • @erenakcay7010
    @erenakcay7010 4 місяці тому

    hello,thank you for this video.I have to use more than one DS18B20 sensor.How can ı do it can you explain please

    • @ControllersTech
      @ControllersTech  3 місяці тому

      Search for "multiple ds18b20" on this channel.

  • @xy3986
    @xy3986 2 місяці тому

    Hello and thank you for this video (and all the helpful other ones ;-)
    I managed it to run your example on a Nucelo-F429 => it works with one single issue: the interrupt doesn't work !? => instead of this I simply used a HAL_Delay(1)
    so far so god
    I also tried it with a Nucleo-H743 => the "presence" is recognised perfectly...
    ...the Write-Command also seems to work...
    ...but in the buffer-array of the Read-Command always bit "0" gets the value "0x00" (not 0xFF or 0xFC as it should be) and also the last bit is sometimes a "0"
    (by the way: my Logic-Analyzer (DS-View) shows the correct information = only 0xFF or 0xFC for all 8 bits)
    => so it seems that the STM32H7 reads the correct output signals from DS18B20 in a wrong way => ??
    As I found out so far, it could be a problem with the content of the "USART_BRR register" ??
    ...or the prescaler ( thanks very much

    • @woldecosgrove
      @woldecosgrove 2 місяці тому

      ya i got the same problem too, i try on F072 nucleo board, my logic analyser show all 0xff... and on H723 same Oxff too...

    • @woldecosgrove
      @woldecosgrove 2 місяці тому

      @ controllerTech could you advise...

  • @Catta2001
    @Catta2001 2 місяці тому

    Hi, this sensor use a “parasite power” this dosent mean that you have to use the Tx wire as a Vcc wire too?

  • @bayramgoktepe2575
    @bayramgoktepe2575 3 місяці тому

    should be usart global inturrupt enable

  • @bayramgoktepe2575
    @bayramgoktepe2575 3 місяці тому

    for stm32f103c8t6 72mhz clock code ds18b20 the code should be like below read ds18b20 HAL_UART_Transmit_DMA(&huart3, buffer, 8);
    HAL_UART_Receive_DMA(&huart3, RxData, 8);
    //HAL_Delay(1);
    for (int i=0; i