This instructable was created in fulfillment of the project requirement of the Make course at the University of South Florida (www.makecourse.com).
The Social Distancing Robot is a robot concerned with its health in the midst of the current pandemic. It has an RGB LED to indicate how close you are to it. If you are far from it, the green LED will be on, if you get close, the purple LED will be on and if you get too close, the red LED will be on, the robot will make a loud noise, and spin the flag with the “stay away” message.
The robot is able to measure your distance from it thanks to an ultrasonic sensor at the front. So remember, keep your 6 feet distance and avoid making the Social Distancing Robot mad!
Step 1: Parts Needed
Here is all you are going to need to do this project.
- Arduino Uno R3
- Jumper wires
- Ultrasonic sensor (distance sensor)
- Passive or active buzzer (I used a passive buzzer)
- Stepper motor
- Stepper motor driver
- RGB LED
- 3×110-ohm resistors
- CAD software (I used Autodesk Fusion 360)
- Slicer software (I used Flashprint)
- 3D printer
Step 2: CAD Model
For the Social Distancing Robot, you will only need 4 components. The main box, the stay-away flag, the back wall, and the shaft base that will connect the stepper motor and the flag. I have added an STL file with my CAD design. You can use it and modify it to your preference.
After you have your CAD design ready, export it as an STL file and use a slicer (I used FLashprint) to 3D print your design.
Step 3: Circuit Design
To power the Arduino, I connected it to my computer with a USB cable, but you can also use a battery.
Step 4: Arduino Code
The Arduino will control all the electronic components and the ultrasonic sensor will serve as an input for the Arduino, which will trigger several functions on the Social Distancing Robot.
Step 5: Assembly
Read more: Social Distancing Robot