Another great tutorial by mutex embedded that works perfectly, I used HC-SR04 rather than HC-SR05 , also I am using STM32F4 discovery board, all your methods worked perfectly
@Osimiss4 жыл бұрын
This is an awesome tutorial! The detail and pace are perfect!
@mutexembedded22064 жыл бұрын
:)
@juansebastiana.85735 жыл бұрын
Thank you very much! Was looking for this example for a while and it worked perfectly on my STM32L476
@gunerdiren26234 жыл бұрын
A very good tutorial with a very very good explanation. Thanks! It helps me a lot.
@brianbradley18555 жыл бұрын
Outstanding presentation!
@hominhhoi8135 жыл бұрын
All your videos are very useful You can do video tutorial about Modbus rtu I think it's a very good topic. Use Modbus RTU to connect to HMI
@ashishsoni42105 жыл бұрын
Love You, Sir, Please keep uploading videos like this. Sir Can you RFID RC522 Sensor and Servo Motor next
@Fabio-211 Жыл бұрын
great video
@museemengsteab4760 Жыл бұрын
Thank you for this great video, and I wonder if you have a tutorial to show how to view the measurements in an lcd display ?
@akrambija7194Ай бұрын
very nice
@igort54184 жыл бұрын
35min video, nearly 400 lines of code, just to use an ultrasonic sensor, thats why arduino is so popular.
@glenntipton62264 жыл бұрын
unfortunetaly, my senior design class wants me to use stm instead, so i'm super thankful for this video
@ivansimeonov881411 ай бұрын
Hi, great video! Can I ask you if it would be possible to use the same trigger pin for 2 transducers?
@pusatberk41935 жыл бұрын
Please UDP and TCP example
@pusatberk41935 жыл бұрын
Thanks !!!!!
@haticeseremet63782 жыл бұрын
Thanks so much for making this. I have done everything you did, it compiles fine there is no error, but when I go to view the output in realterm there is no output. The only difference I can think of is that I am using HCSR04 instead of 5 so I dont have that extra out pin but it seems like you didnt use it. Is there anything you can think of, I have been stuck on this for days. Thanks so much!
@yazanbdaiwi35009 ай бұрын
Hi! I'll also use HCSR04 instead of 5, I'm wondering if you solve the problem or if you have the link for the code, I'd be very thankful if you help me.
@chanonkuansri5863 жыл бұрын
Thank you :)
@antoniovasile8352 жыл бұрын
Where do you set the function HAL_TIM_IC_CaptureCallback as the callback of timer? I see you simply create this function but i do not understand how you linked to the timer.
@divyakg11583 жыл бұрын
i cant able to understand how to set ARR ,reset the flag reinitialise the timer (inside the function of usdelay)
@MikhailGoncharov-tl4cr9 ай бұрын
you are the best at all. pleASE SHOW US HOW TO DID MY OWN MP3 PLAYER. type by step
@TheOldProgramming4 жыл бұрын
Hi nice tutorial! I have a question: can i use and interrupt for the echo pin in rising and falling edge, where in rising edge i start a timer and in falling edge i get the timer value? I have 4 HC-SR05 sensors which i need to check in separate tasks in non blocking mode. Are there alternatives to the Input Caputre timer method suitable for my case?
@mutexembedded22064 жыл бұрын
Yes, you can use the 4 timer channels for this and use a single base timer in Input Capture Mode. You get captured value on both rising and falling, calculate the difference between them. Non-blocking.
@TheOldProgramming4 жыл бұрын
@@mutexembedded2206 Do you mean that if i use 4 channels of the same timer in Input Capture Mode they will work simultaneously? Or i have to use 4 timer each one with 1 channel dedicated to Direct Input Capture? I am asking this for my rc car project in which i am using freertos + edf scheduler implemented using EsFree library. What i want is to fire every 60 ms the task for sensor measurement(the other task for the other sensors will fire at 61 ms and so on...). The problem of using blocking measurements is that some tasks miss their deadlines.
@vynguyenhoangquoc27023 жыл бұрын
hey man, in realterm my computer can't recognize which port being used, how can i solve it ??
@kaihash4011 Жыл бұрын
Can this be applied to stm32G0B1CE microcontroller?
@MrLegitFlip5 жыл бұрын
Can you do a tachometer project video calculating rpm with the stm32?
@romiolover68525 жыл бұрын
hello Sir nice video, i would like to ask you if you could make a tutorial of USB device audio class, as an examples generate sine wave and send it over the USB to a PC so we can hear it or record it using a software and many thanks again for your effort.
@momq14345 жыл бұрын
I still cannot measure even though htim3.Init.Period is set to 1000000 - 1
@fernandoborda64224 жыл бұрын
hello man i have the same issue for some reason is not workin did you solved it?
@Engineer_Valat5 жыл бұрын
Modbus RTU or Modbus TCP/IP Please...
@Desert_Man5 жыл бұрын
Question: Aren't we supposed to oscillate the piezoelectric device when transmitting the sound wave? or is the 10uS being a single wave?
@rwbazillion5 жыл бұрын
Awesome, I was going to do this as well. I am inspired by your videos, I want to do my own that will compliment your videos. I have already done a driver for an epaper LCD display and also a state machine using a function pointer, and a 5x5 keypad and 3x4 keypad using your keypad as a guide. I am wondering what are you using to develop your tutorials because I want to use a similar tool. I also got a camera that I want to use as well. If you check out my KZbin page I have already done a tutorial on timers and the usage of timers in software where you can create your own timers for applications. I'm going to add this ultrasonic to my state machine project and my next tutorial will be about different state machines from standard, and hierarchical state machines.
@jb8160b4 жыл бұрын
I have a problem. The distance float is not showing up in my serial capture. There is no value. It is just blank (CRLF and then next line).
@mutexembedded22064 жыл бұрын
Hi, Need to enable float printf in project settings, using STM32CubeIDE?
@jb8160b4 жыл бұрын
@@mutexembedded2206 That was it, thank you very much :)
@nktsdv2 жыл бұрын
Классный видос. У мен получилось тоже самое на stm32f0discavery (stm32f051r8t6) сделать
@JAGANNATHSAHOOtheraw5 жыл бұрын
Pls do some videos on interfacing of esp8266 with rtos