STM32F4-Discovery and 2 HC-SR04 ultrasonic sensors

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 มี.ค. 2019
  • This video shows how to use STM32 microcontroller to read info from HC-SR04 ultrasonic sensor.
    HC-SR04 datasheet: www.electroschematics.com/wp-...
    Video by Elvar Liiv
    TalTech IoT Center
    iot.ttu.ee

ความคิดเห็น • 29

  • @boratsagdiyev3936
    @boratsagdiyev3936 5 ปีที่แล้ว +1

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

  • @pragyachoudhary9163
    @pragyachoudhary9163 5 ปีที่แล้ว

    good work sir

  • @firasoiderni8676
    @firasoiderni8676 5 ปีที่แล้ว

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

  • @halilaaydemir
    @halilaaydemir 3 ปีที่แล้ว

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

  • @GhionAshenafi
    @GhionAshenafi 5 ปีที่แล้ว

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

  • @saikrishnakaruturi2958
    @saikrishnakaruturi2958 10 หลายเดือนก่อน

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

  • @enriquehernandez8197
    @enriquehernandez8197 4 ปีที่แล้ว +2

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

    • @takwasmidi3284
      @takwasmidi3284 2 หลายเดือนก่อน

      did u find the answer ? :)

  • @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

  • @tv-eu4xu
    @tv-eu4xu 3 ปีที่แล้ว

    굿

  • @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.

  • @saraazizi2198
    @saraazizi2198 4 ปีที่แล้ว +1

    How you connect between stm32 microcontroller and ultrasonic sensor?

    • @muhajideenroom
      @muhajideenroom 10 หลายเดือนก่อน

      Look at google:)

  • @hakaniri2123
    @hakaniri2123 5 ปีที่แล้ว +3

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

  • @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

  • @hakaniri2123
    @hakaniri2123 5 ปีที่แล้ว

    do you have a personal contact?

  • @narwresbarhoumi2292
    @narwresbarhoumi2292 6 หลายเดือนก่อน

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

    • @vladmaftei4858
      @vladmaftei4858 6 หลายเดือนก่อน +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 3 หลายเดือนก่อน

      @@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 ?

  • @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

  • @teelee1221
    @teelee1221 3 ปีที่แล้ว

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