1 / 69

2-in-1 Obstacle Avoiding Robot with Remote Control

Build an Arduino-based robot that can avoid obstacles using 2 geared motors, an ultrasonic distance sensor, and a universal ball bearing module. When an obstacle is detected, the robot moves back and rotates randomly before continuing forward.

Download Presentation

2-in-1 Obstacle Avoiding Robot with Remote Control

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Creative Innovation Series NGT-503 : 2-in-1 Remote Bot Obstacle Avoiding Bot

  2. NGT-503 : 2-in-1 Remote Bot • Objective: • Using Arduino, Geared Motor, Ultrasonic Distance Sensor, and Universal Ball Bearing to create a obstacle avoiding robot. • Description: • An Arduino based obstacle avoiding bot is created with 2 Geared Motor, an Ultrasonic Distance Sensor, and an Universal Ball Bearing module. When the bot detects any object 20 cm in front of the Ultrasonic Distance Sensor, the bot moves back and rotates random side to avoid the obstacle before moving forward. • Module List: • 1. fayabrickNano x 1 • 2. Geared Motor x 2 • 3.Ultrasonic Distance Sensor x 1 • 4. Universal Ball Bearing Module x 1

  3. Hardware List faya brickNano Universal Ball Bearing Geared Motor Ultrasonic Distance Sensor Bluetooth Module (not using here) micriUSB Cable Brick Set Brick Post Extra bricks Power Wire Set Signal Wire Set

  4. 1. faya brickNano • Compatible to Arduino Nano • Includes 4 brick holes to connect to bricks. • Includes 2 power heads to supply power to other faya modules • Use microUSB interface

  5. 2. Universal BallBearing Face up side Face down side Use Universal Ball Bearing Module to support other wheels and reduce moving friction.

  6. 3. Geared Motor Side A Side B • Input analog signal (DC voltage) at SIG port to control motor speed. • Input digital signal (HIGH) at DIR port to rotate motor counter-clockwisely. • Input digital signal (LOW) at DIR port to rotate motor clockwisely. • You can input signal at either side (A or B) of the module.

  7. 4. Ultrasonic Distance Sensor Trig Pin Echo Pin distancetoleave distancetoreturn wall • 3 steps to calculate distance • (1) Sending 10us HIGH at Trig Pin • (2) Detect HIGH TIME at ECHO pin • (3) Distance (meater) • =HIGH time × velocity of sound / 2 • =HIGH time x (340M/S) / 2

  8. 6. micro USB cable • Use micro USB cable to connect between faya brickNano and computer.

  9. 7. Brick Set • Normal Type • 1x1 : 12 pcs • 1x2 : 12 pcs • 1x3 : 12 pcs • 1x4 : 12 pcs • 2x2 : 8 pcs • 2x3 : 12 pcs • 2x4 : 24 pcs • (at least) Plate Type 2x6 : 6 pcs 2x10 : 2 pcs 6x8 : 1 pcs 90 degree Type 1x1 : 10 pcs • LEGO brick compatible • Random color for each type • Abigger normal type brick maybe replaced by smaller brick • for example, a 2x4 brick maybe replaced by 2pcs of 2x2

  10. 8. Brick Post • Use brick post to interface faya modules with bricks. • Brick post is stackable, as shown in above pictures.

  11. 9. Extra Bricks 6x8 : 1 pcs 2x6 : 2 pcs • Use extra bricks to create a stronger bot • LEGO brick compatible • Random color

  12. 10. Power Wire Type A : Connector-to-Pins Type B : Connector-to-Connector Type B Type B Type A • Power Wire is used to supply the power from one to another faya modules. Red Wire connects to Vcc and Black Wire connects to Gnd. • Above example shows that the power from Arduino is delivered to DC motor via Type A wire and delivered to other two modules via Type B wires.

  13. 11. Signal Wires • Signal Wire is used to connect signals between Arduino and faya module pins. • The size of the signal wire is AWG22

  14. Assembling This section introduce the assemble of bricks and faya modules

  15. Assemble Brick Post (1) Assemble Brick Post at board corners of each module.

  16. Assemble Brick Post (2) For Universal Ball Bearing Module, stack the brick post at another side.

  17. Assemble Bot Body (1) Create a structure as shown above. Note that you need to use a 2x10 plate and four 90-degree bricks.

  18. Assemble Bot Body (2) Put two 2x3 bricks on the top of body

  19. Assemble Bot Body (3) Put another two 2x4 bricks on the top of the body.

  20. Assemble Bot Body (4) Cover the body with a 2x10 plate and use four 90-degree, one 2x2, and one 2x4 bricks on the top of this plate.

  21. Test Bot Body (5) With this Bot Body, you may connect two Geared Motor Modules to each side through 90-degree bricks. Please use a Geared Motor Module to make sure that it fits the Bot Body. When pass, remove the Geared Motor Module.

  22. Assemble Bot Body (6) Use 1 2x3 plate at the front of the Bot Body, as shown above.

  23. Assemble Bot Body (7) Put two 2x4 bricks on the top of the 2x3 plate.

  24. Assemble Bot Body (8) Cover the two 2x4 bricks with another 2x3 plate.

  25. Assemble Bot Body (9) Put two 2x6 plate on the brick post of Universal Ball Bearing Module.

  26. Assemble Bot Body (10) = + Refer to the location in above picture, connect the Universal Ball Bearing Module to the Bot Body.

  27. Assemble Wheels Connect two Geared Motor Modules to each side of the Bot Body.

  28. Assemble Bot Body (11) Place a 6x8 brick plate on the top of the Bot Body. Please refer to the position shown above.

  29. Assemble Bot Body (12) Put a 2x6 brick plate at the end of the Bot Body. Please refer to the position shown above.

  30. Assemble Bot Body (13) Put a 2x3 brick next to two 90-degree bricks.

  31. Assemble Bot Body (14) Cover the end of the body with a 2x6 brick plate.

  32. Assemble Bot Body (15) Put a 2x6 and a 6x8 brick plate on the top of the Bot Body. See above for exact location.

  33. Assemble Bot Body (16) Cover another 2x6 brick plate as shown in above location.

  34. Assemble brickNano Assemble the brickNano at the top center of Bot Body.

  35. Create a Room for Mobile Power (1) Next few steps will show an example to create a room at the end of the Bot for Mobile Power. You may adjust the structure of the room based on the shape / size of your Mobile Power.

  36. Create a Room for Mobile Power (2) 1st Floor

  37. Create a Room for Mobile Power (3) 2nd Floor

  38. Create a Room for Mobile Power (4) 3rd Floor

  39. Create a Room for Mobile Power (5) 4th Floor

  40. Create a Room for Mobile Power (6) Complete

  41. Assemble Ultrasonic Distance Sensor Assemble the Ultrasonic Distance Sensor at the front of the Bot. Note that only two brick posts are required.

  42. Bot Body Complete Photo after completing Bot Body

  43. Wire Connection This section introduce the connections of power and signal wires

  44. Power Wire Connection Type B Power Wire Use one type B Power Wire to connect the power jack between brickNano and Ultrasonic Distance Sensor, as shown in above picture.

  45. Power Wire Connection Use another type B Power Wire to connect the power jack between Ultrasonic Distance Sensor and LEFT Geared Motor Module, as shown in above picture.

  46. Power Wire Connection Use another type B Power Wire to connect the power jack between brickNano and Right Geared Motor Module, as shown in above picture.

  47. Power Wire Connection Arrange power wires to make it more neatly. You may hide power wires under modules as shown above.

  48. Signal Wire Connection (Right Wheel) brickNano_D11  Geared Motor_SIG brickNano_D12  Geared Motor_DIR

  49. Signal Wire Connection (Left Wheel) brickNano_D6  Geared Motor_SIG brickNano_D7  Geared Motor_DIR

  50. Signal Wire Connection (Ultrasonic) brickNano_D2  Ultrasonic Distance_Trig brickNano_D3  Ultrasonic Distance_Echo

More Related