Comments on: Arduino – Ultrasonic Sensor with LEDs and buzzer https://randomnerdtutorials.com/arduino-ultrasonic-sensor-with-leds-and-buzzer/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Thu, 09 May 2019 09:40:16 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/arduino-ultrasonic-sensor-with-leds-and-buzzer/#comment-332445 Fri, 24 Aug 2018 13:33:29 +0000 http://randomnerdtutorials.wordpress.com/?p=41#comment-332445 In reply to ghoul09.

Hi.
If you’re have trouble finding the code on your browser, you can check the following link.
https://raw.githubusercontent.com/RuiSantosdotme/Random-Nerd-Tutorials/master/Projects/Ultrasonic_Sensor_with_LEDs_bar_graph_and_buzzer.c
Regards,
Sara.

]]>
By: ghoul09 https://randomnerdtutorials.com/arduino-ultrasonic-sensor-with-leds-and-buzzer/#comment-332434 Fri, 24 Aug 2018 11:56:27 +0000 http://randomnerdtutorials.wordpress.com/?p=41#comment-332434 where is the code??

]]>
By: Rui Santos https://randomnerdtutorials.com/arduino-ultrasonic-sensor-with-leds-and-buzzer/#comment-329805 Sat, 04 Aug 2018 16:11:24 +0000 http://randomnerdtutorials.wordpress.com/?p=41#comment-329805 In reply to Hadi shamsedeen.

I use the Arduino IDE. Thanks for asking,
Rui

]]>
By: Hadi shamsedeen https://randomnerdtutorials.com/arduino-ultrasonic-sensor-with-leds-and-buzzer/#comment-329794 Sat, 04 Aug 2018 09:55:45 +0000 http://randomnerdtutorials.wordpress.com/?p=41#comment-329794 What is the app you use to upload the code to arduino

]]>
By: Rui Santos https://randomnerdtutorials.com/arduino-ultrasonic-sensor-with-leds-and-buzzer/#comment-324844 Mon, 11 Jun 2018 16:45:26 +0000 http://randomnerdtutorials.wordpress.com/?p=41#comment-324844 In reply to Adin.

You’re welcome Adin. Thanks for reading!
Regards,
Rui

]]>
By: Adin https://randomnerdtutorials.com/arduino-ultrasonic-sensor-with-leds-and-buzzer/#comment-324057 Sat, 26 May 2018 19:36:45 +0000 http://randomnerdtutorials.wordpress.com/?p=41#comment-324057 I have been download your book.. That’s a nice book. Thank you

]]>
By: Sara Santos https://randomnerdtutorials.com/arduino-ultrasonic-sensor-with-leds-and-buzzer/#comment-323559 Sun, 13 May 2018 10:04:46 +0000 http://randomnerdtutorials.wordpress.com/?p=41#comment-323559 In reply to Durgansh Taneja.

Hi.
That variable contains the possible patterns for the LEDs.
This means that with B00000000 all the LEDs are off. With B00000001, the rightmost LED is lit, and so on.
Later on the code, you use that variable to light up a specific number of leds accordingly to the distance to the sensor.
I hope this helps.
Regards,
Sara 🙂

]]>
By: Durgansh Taneja https://randomnerdtutorials.com/arduino-ultrasonic-sensor-with-leds-and-buzzer/#comment-323348 Mon, 07 May 2018 12:22:38 +0000 http://randomnerdtutorials.wordpress.com/?p=41#comment-323348 Can some explain to me what this part of the code does and what specifically does the byte keyword do?
byte possible_patterns[9] = {
B00000000,
B00000001,
B00000011,
B00000111,
B00001111,
B00011111,
B00111111,
B01111111,
B11111111,
};

]]>
By: Danielle https://randomnerdtutorials.com/arduino-ultrasonic-sensor-with-leds-and-buzzer/#comment-276982 Sat, 30 Jan 2016 01:50:04 +0000 http://randomnerdtutorials.wordpress.com/?p=41#comment-276982 In reply to Tigtog.

Do you have the code for this? I’m doing the same project and I cant seem make it on my own. Can you help?

]]>
By: guya https://randomnerdtutorials.com/arduino-ultrasonic-sensor-with-leds-and-buzzer/#comment-253871 Thu, 07 May 2015 01:44:54 +0000 http://randomnerdtutorials.wordpress.com/?p=41#comment-253871 In reply to Tigtog.

so, what the result??i want to see it to because i have a same project like this but using the led rgb strips

]]>