# Obstacle Avoidance Robot with Fail Safe

# Introduction

What if the obstacle is not detected by the ultrasonic sensor? Let us add a fail-safe to the Obstacle Avoidance Robot by incorporating a limit switch. This way, the Limit switch will be activated when it comes into contact with the obstacle.

# Key skills/Learnings

  1. Assembly of Components
  2. Problem Solving
  3. Logical Thinking
  4. Mechanics & Motion

# List of Items

OAR_with_Failsafe_list_of_items

# Assemble the Robot

Step 1: Assemble two C-Brackets using short bolts and nuts.
rc_car_step_1
Step 2: Connect the Caster wheel to the C-bracket assembly from step 1 usingshort bolts and nuts.
rc_car_step_2
Step 3: Assemble speed motors to new C bracket using long bolts and nuts.
rc_car_step_3
Step 4: Connect the C-bracket assemblies from step 2 and 3 using short boltsand nuts. rc_car_step_4
Step 5: Connect the two wheels to the two-speed motors. rc_car_step_5
Step 6: Connect the limit switch to the assembly from step 5 using short bolts and nuts. OAR_with_Failsafe_step_6 Step 7: Assemble the distance sensor and the short arm using short bolts and nuts. OAR_with_Failsafe_step_7 Step 8: Connect the assemblies from steps 6 and 7 using short bolts and nuts. OAR_with_Failsafe_step_8 Step 9: Use Double side tape to stick the controller, power bank and the above assembly together. OAR_with_Failsafe_step_9 Step 10: For the connections of Speed motors, Distance sensor, Limit switch,and power refer to below image. control_unit_connections

# Programming with Automate App

# Configuring the app - Remote controls setup

oarfailsafe_RemotePage

STEP 1 - Start - Move forward
[STEP 3 - Move backward]
[STEP 2 & 4 - Turn right]


TO "STOP" THE OAR CLICK ON ANY BUTTON OTHER THAN THE ABOVE CONFIGURED BUTTONS.


Note: Automate can be controlled using a cable by selecting the cable option instead of Wi-Fi under the remote option.

oarfailsafe_motion_1 oarfailsafe_motion_2 oarfailsafe_motion_3 oarfailsafe_motion_4

To upload the program, see How to upload the program to the Control Unit with Automate App?


OAR with FAIL SAFE is ready to dodge obstacles even in ground level after uploading this program

# More Information

For more details, see FAQs on Automate Kit.