STM32F4-Discovery and 2 HC-SR04 ultrasonic sensors

Поделиться
HTML-код
  • Опубликовано: 5 сен 2024
  • This video shows how to use STM32 microcontroller to read info from HC-SR04 ultrasonic sensor.
    HC-SR04 datasheet: www.electrosch...
    Video by Elvar Liiv
    TalTech IoT Center
    iot.ttu.ee

Комментарии • 30

  • @boratsagdiyev3936
    @boratsagdiyev3936 5 лет назад +1

    COOL! I used the timer input capture in DMA mode to make it more efficient, but very good stuff.

  • @enriquehernandez8197
    @enriquehernandez8197 5 лет назад +2

    HI, sorry, why preescaler is to 79 and ARR is 65535 in TIMER8, what is the measure that do you want?

  • @baole8008
    @baole8008 5 лет назад +2

    how to connect between STM32 microcontroller and HC-SR04 ultrasonic sensor.?

    • @thanghieu2333
      @thanghieu2333 5 лет назад +1

      t cũng đang làm cái này và k biết nối làm sao

    • @wyznacznik5363
      @wyznacznik5363 3 года назад +1

      @@thanghieu2333 dzięki działa

  • @GhionAshenafi
    @GhionAshenafi 5 лет назад

    Couldn't find z video u mentioned is present: calculating prescaler and other values

  • @saraazizi2198
    @saraazizi2198 4 года назад +1

    How you connect between stm32 microcontroller and ultrasonic sensor?

  • @saikrishnakaruturi2958
    @saikrishnakaruturi2958 Год назад

    at what pins in the microcontroller do we have to connect the trigger pins of the both sensors

  • @raguelignacio3808
    @raguelignacio3808 3 года назад

    I have a question: Why should we start TIM11 base clock twice?

    • @emirozer2855
      @emirozer2855 3 года назад

      I think other one should be TIM8.

  • @narwresbarhoumi2292
    @narwresbarhoumi2292 8 месяцев назад

    Pourquoi avez-vous utilisé le protocole UART puisque le capteur à ultrasons HC-SR04 n'a pas de broches RX et TX ?

    • @vladmaftei4858
      @vladmaftei4858 8 месяцев назад +1

      On a utilise le protocole UART pour recevoir les information echox, distancex dans le terminal Hterm program qui est ouvert sur le display (gauche).

    • @narwresbarhoumi2292
      @narwresbarhoumi2292 6 месяцев назад

      @@vladmaftei4858 merci j'ai compris , j'ai une autre question c'est vrai que vous avez fait la configuration du protocole ,mais vous n'avez pas utiliser HAL_UART_Transmit() dans le while ,je sais que vous avez mis ça dans la fonction putchar_prototype mais vous n'avez pas utiliser cette fonction dans while ?

  • @halilaaydemir
    @halilaaydemir 3 года назад

    I could not set up the link. Do you have a chance to show the link?

  • @sw1746
    @sw1746 4 года назад

    Hi, are stm32 pins tolerant to 5V from hc-sr04 echo output? Did you use level shifter?

    • @wyznacznik5363
      @wyznacznik5363 3 года назад +1

      you need just 2 resistors, i used 9.7 Ohm and 4.6 Ohm so i get 3.4 V

  • @firasoiderni8676
    @firasoiderni8676 5 лет назад

    Goodmoring ,
    i wanna ask a question , how you interface Hterm with keil ? , and thanks advance :)

  • @pragyachoudhary9163
    @pragyachoudhary9163 5 лет назад

    good work sir

  • @hakaniri2123
    @hakaniri2123 5 лет назад +3

    gadasını aldıgımın gurban olam sana.

  • @salihay
    @salihay 5 лет назад +1

    hi, could you share the codes?

    • @muzafferdindar820
      @muzafferdindar820 5 лет назад

      usta buldun mu kodları

    • @salihay
      @salihay 5 лет назад

      @@muzafferdindar820 yok malesef

    • @muzafferdindar820
      @muzafferdindar820 5 лет назад

      Ya bizim ödev proje var çok az zamanı kaldı takıldığımız yerler var napacagiz bilmiyoruz

  • @hakaniri2123
    @hakaniri2123 5 лет назад

    do you have a personal contact?

  • @tv-eu4xu
    @tv-eu4xu 3 года назад

    굿

  • @teelee1221
    @teelee1221 4 года назад

    This guy copied from somewhere that makes him did not do well in the video. He also could not answer people questions. Shame!