Showing posts with label Ultrasonic Sensor Holder. Show all posts
Showing posts with label Ultrasonic Sensor Holder. Show all posts

Wednesday, August 24, 2016

Entry Level Door Monitoring Alarm System

Alright! So the idea struck out of blue one day when I was shocked to see someone sitting outside my office enjoying reading a newspaper!

I had no idea who this person was, when did he come and since how long was he enjoying his unsolicited stay just outside my cabin? You must be thinking what a fool I am but you gotta trust me on this, my office is one of the creepiest that one can get anywhere. Seriously!

I had an Arduino UNO clone ready at my disposal. So, all that I needed was an ultrasound sensor, and a Buzzer. Rest of the steps, circuit assemblies, software code are ensued in this tutorial. I hope this would excite few electronics newbies out there.





Male-to-Male Jumper Wires
1 x Computer with Arduino IDE installed


Optional


Don't have components? Don't worry. Just click the component's name. 


Step 2: Build Your Circuit.




Step 3: Upload The Code.



Download:



Source: here
 
Arduino Arduino UNO R3 buzzer easy project SR04 Ultrasonic Range Finder Ultrasonic Sensor Holder

Thursday, July 14, 2016

3D Room Visualizer


This project was made for fun. I came across an idea for just a 2D radar. I wanted to expand upon this. So I created a program that enables you to scan an entire room without needing to use a laser. It works by scanning 100 degrees along the x plane, then going up by 1 degree at a time along the y plane. It then send data via serial to a processing computer.

With only an Arduino board, two servos, and an HC-SR04, you can create a room scanner that is capable of showing depth!


Step 1: What You Need?

1 x Arduino Nano R3
2 x Servo Motor (generic)
1 x HC-SR04 Ultrasonic Distance Sensor
Female-to-Male Jumper Wires 
Female-to-Female Jumper Wires 

Optional
Mini Breadboard
Male-to-Male Jumper Wires
3D Printer (generic) 
HC-SR04 Ultrasonic Distance Sensor Holder 

Don't have components? Don't worry. Just click the component's name. 


Step 2: Build Your Circuit.

Attach as seen: Servo ground wires to GND, power cables to 5V, and data wires to D9 & D10.

Arduino Arduino UNO R3 easy project sensor servo motor SR04 Ultrasonic Range Finder Ultrasonic Sensor Holder

Thursday, July 07, 2016

Arduino Based Obstacle Avoiding Robot


The concept of this project is same as the Detecting Ostacles and HC-SR04 Ultrasonic Sensor.


If the robot detects an object in front of it, with the help of a small servo motor, it scans the area left and right in order to find the best way to turn. It has a notification LED, an buzzer to play a tone when an object is detected and an button for changing the function of the robot (stopped / moving forward). 





Step 1: What You Need?

1 x Micro Servo Motor
1 x Button
1 x Red LED
1 x 220 Ohm Resistor
1 x 9V Battery Holder
1 x Buzzer
8 x Nuts 
8 x Screws 
1 x Smart Robot Car Stainless Steel Metal Robot Chassis Kit 
8 x Spacers (Male-Female)
1 x USB Arduino Cable
1 x 9V Battery 
1 x Computer with Arduino Software installed 
Super Glue
Screw Drive

Optional 
HC-SR04 Ultrasonic Sensor Holder
Hot Gun Glue

Don't have components? Don't worry. Just click the component's name. 

Step 2:Put Hardware Parts On Robot Car


Use the spacers, screws and nuts to attach the Arduino UNO board and the L298 module on robot car. The mini breadboard can be easily attached on the robot car with the adhesive tape that already have at the bottom of it. 

Step 3: The 'Eyes' Of Your Robot


Use super glue to attach the servo motor in the front side of your robot. Watch the first image to understand how to put the ultrasonic sensor in the servo motor by using a small gear piece. The second image shows the completed part that will be the 'eyes' of your robot. 













Step 4: Connect The Circuit


The connections are pretty easy, watch the image above with the breadboard circuit schematic. 

(Tips: Use the breadboard only for the LED, button and buzzer, this will keep it simple and you can use the remain area to add more stuff on the future.)


Step 6: Upload Code To Robot


Plug an battery on it and press the function button once, your robot will start moving forward after upload the code to robot. To stop it, just press the button for one more time. 


You can press the 'Edit' button and start making your modification in the sketch. 
For example, try to change the '10'cm value that is the distance that will make the robot to stop and 'look' for a clear path. 

[Note: If your robot doesn't move forward, try to change the pins of the motors (motorA1 and motorA2 or motorB1 and motorB2)].

Download: 




Sources:[http://www.instructables.com/id/Arduino-Obstacle-Avoiding-Robot-2/?ALLSTEPS]
Arduino Arduino UNO R3 Basic button buzzer easy HC LED project Robot Car sensor servo motor simple SR04 Ultrasonic Range Finder Ultrasonic Sensor Holder

 

  • Copyright © Arduino Tutorial ™ is a registered trademark.
    Designed by Templateism. Hosted on Blogger Templates.