Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Technology >> Manufacturing process

Build a Go Away Robot – Easy Arduino Starter Kit for Kids

Components and supplies

Build a Go Away Robot – Easy Arduino Starter Kit for Kids
Arduino UNO
×1
Build a Go Away Robot – Easy Arduino Starter Kit for Kids
Solderless Breadboard Half Size
×1
Build a Go Away Robot – Easy Arduino Starter Kit for Kids
Ultrasonic Sensor - HC-SR04 (Generic)
×1
Build a Go Away Robot – Easy Arduino Starter Kit for Kids
Buzzer, Piezo
×1
Build a Go Away Robot – Easy Arduino Starter Kit for Kids
5 mm LED: Green
×1

About this project

We wired up the board using the following sketch:

Build a Go Away Robot – Easy Arduino Starter Kit for Kids

We used a Styrofoam wig head, hollowed out the back and poked some holes through it for various connections:

This video shows how we put it all together:

Update: Someone in the comments asked about how to make the body of the robot so I made this video to show how you can make one yourself!

Code

  • Buzzer and LED Activated by Distance Sensor
Buzzer and LED Activated by Distance SensorArduino
Distance is in centimeters.
#define trigPin 13
#define echoPin 12
#define buzzer 9 //buzzer to arduino pin 9
#define led 11



void setup()
{ Serial.begin (9600);
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
  pinMode(buzzer, OUTPUT); // Set buzzer - pin 9 as an output
  pinMode(led, OUTPUT);
}

void loop()
{ long duration, distance;
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);

duration = pulseIn(echoPin, HIGH);
distance = (duration/2) / 29.1;

 if (distance < 100)

{ tone(buzzer, 98); // Send 1KHz sound signal...
digitalWrite(led,HIGH);
}

else {
noTone(buzzer);
digitalWrite(led,LOW);
}

Serial.print(distance);
Serial.println(" cm");
delay(500);
}

Schematics

A sketch, breadboard view of our set up for the Arduino and components.Build a Go Away Robot – Easy Arduino Starter Kit for Kids

Manufacturing process

  1. Smart Pen: Real‑Time Handwriting & Movement Tracking with Raspberry Pi and IMU
  2. Build Sauron: The Semi‑Humanoid Robot – A Complete Arduino Mega 2560 Guide
  3. Build a Simple Voice Recognition System with C# and Arduino UNO
  4. Create a Custom Android App to Control Arduino with MIT App Inventor
  5. RTC Module Essentials: Your Complete Guide to Accurate Timekeeping
  6. Build a Clap-Activated Switch – A Simple DIY Project for Beginners
  7. Unlock Powerful Embedded Robotics with RoboDK – Simple Programming for Modern Systems
  8. Effortless Robot Calibration for Peak Performance
  9. Master Robot Programming: Step‑by‑Step Guide for Your Next Project
  10. PACKEX Toronto: Embrace Seamless Automation Today