Comments on: Interfacing HC-SR04 Ultrasonic Distance Sensor with ATmega32 Microcontroller https://electrosome.com/ultrasonic-distance-sensor-atmega32/ You Inspire.....We Create..... Sun, 03 Jan 2021 06:46:49 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: Ligo George https://electrosome.com/ultrasonic-distance-sensor-atmega32/#comments/9843 Sun, 03 Jan 2021 06:46:49 +0000 https://electrosome.com/?p=14348#comment-9843 In reply to Maulana.

Please describe your problem in detail.

]]>
By: Maulana https://electrosome.com/ultrasonic-distance-sensor-atmega32/#comments/9818 Mon, 30 Nov 2020 14:50:04 +0000 https://electrosome.com/?p=14348#comment-9818 Thankyou, but the value on LCD does not change. Please help me

]]>
By: Ligo George https://electrosome.com/ultrasonic-distance-sensor-atmega32/#comments/9780 Thu, 15 Oct 2020 06:05:40 +0000 https://electrosome.com/?p=14348#comment-9780 In reply to Marwan Ashraf.

Please describe your problem in detail.

]]>
By: Marwan Ashraf https://electrosome.com/ultrasonic-distance-sensor-atmega32/#comments/9776 Wed, 14 Oct 2020 11:35:32 +0000 https://electrosome.com/?p=14348#comment-9776 are you sure about this code ?? the value on the LCD is not right and I don’t know the problem

]]>
By: Marwan Ashraf https://electrosome.com/ultrasonic-distance-sensor-atmega32/#comments/9775 Wed, 14 Oct 2020 11:35:15 +0000 https://electrosome.com/?p=14348#comment-9775 are you sure about this code ?? the value on the LCD is not right and I don’t know the problem

]]>
By: Ligo George https://electrosome.com/ultrasonic-distance-sensor-atmega32/#comments/9665 Sat, 23 May 2020 04:28:07 +0000 https://electrosome.com/?p=14348#comment-9665 In reply to Sergio.

Thank you for your valuable feedback. I have updated the article based on your suggestions.

]]>
By: Sergio https://electrosome.com/ultrasonic-distance-sensor-atmega32/#comments/9664 Fri, 22 May 2020 22:46:47 +0000 https://electrosome.com/?p=14348#comment-9664 Thank you very much for the very useful lesson.
There are couple of notes on it.
Quote: The echo pin is the one that becomes high after it receives reflected waves.
Note: Actually the echo pin goes high as soon as ultrasound wave is sent and it goes low when it receives the reflected wave.

Also the code of interrupt function is not quite correct:
ISR(INT0_vect)
{
if(i == 1)
{
TCCR1B = 0;
pulse = TCNT1;
TCNT1 = 0;
i = 0;
}
if(i == 0)
{
TCCR1B |= 1< ]]> By: Mushfick https://electrosome.com/ultrasonic-distance-sensor-atmega32/#comments/7451 Tue, 18 Jun 2019 12:52:00 +0000 https://electrosome.com/?p=14348#comment-7451 Why did you divide the pulse value by 58? can you explain the calculation behind that declaration?
Thank You

]]>
By: mhm https://electrosome.com/ultrasonic-distance-sensor-atmega32/#comments/7392 Mon, 08 Apr 2019 21:25:51 +0000 https://electrosome.com/?p=14348#comment-7392 thank you so much my teacher

]]>
By: Alice https://electrosome.com/ultrasonic-distance-sensor-atmega32/#comments/7076 Mon, 30 Apr 2018 19:38:12 +0000 https://electrosome.com/?p=14348#comment-7076 The value on LCD does not change. What can be a problem?

]]>