Detecting obstacles and warning - Arduino, ultrasonic and buzzer
This is tutorial to help you understand ultrasonic and buzzer and go deeper into learning Arduino, follow these steps and give me feedback please. 1. Prepare your material and tools 1. Test Board 2. Ultrasonic sensor 3. Arduino cable 4. +5V buzzer 5. Male to male pins 6. Arduino uno board Tools and materials are shown in the pics 2. Connect your circuit Connect the Buzzer positive terminal to the Arduino pin 2 and the negative terminal to the Gnd. Connect the VCC pin of ultrasonic to +5v pin and the Gnd to the ground. Connect trig pin to pin 10 and echo pin to pin 9. The pictures shows you the connection. 3. Load the code to your Arduino You can find code in codebender.cc here , it is well described a...