Demon Car
Assignment 4 in IN5590 By Joakim Solberg and Eirik Walle Skraastad Printer: Albert. Topic C, Animatronics
Assignment text can be found here.
Topic and motivation
We chose the topic animatronichs, with halloween being around the corner we thought it would be fun to make a "demon" that follows people around and hopefully scares them a little. Animatronics let's us combine a creature with personality and real challanges like person detection, motion control and timing effects.
Goals
The goal of this project is to build a mobile demon robot that uses a camera to detect and follow a person, keeps a safe distance, and scares the person with sound and glowing eyes when it gets close. The project is considered successsful if the following mesurable criteria are met by the final demo:
- Detection: The robot detect a person standing 1-3 m infrontof the camera in at least 8 out of 10 trials.
- Following: The robot follows a person walking slowly approximately 0.5 m/s in a straight line for 5 m without losing track of them in at least 7 out of 10 trials.
- Stopping distance: The robot stops at 1.0 m +/- 0.2 m from the person, measured with the distance sensor and verified with a measuring tape.
- Scare effect: The airhorn and the red led eyes are triggered within 1 second after the person i closer than 1.5 m.
In the optimization part, we will tune the following controller, using goals 2 and 3 as metrics.
Inspiration:
Our inspiration behind this project is a 2023 hackaton project, Creepsy^1. Creepsy is a robot who detectes a person then "glides" towards them, instead our car will follow the person. And to detect the person, we will use Ultralytics YOLO26 ^2, which detects a person without any training of our own.
Sketch

How we intend to do this, is making a sort of car platform where the head stands on top with a camera inside. To build the car-platform, two motors are needed, one for each back wheel. We will then change the speed of each motor to steer (unicylce model). Once the robot is close enough to a person, it should make a sound through the electric horn, as well as the LEDs placed in its eyes should start glowing. To not lose track of the person it is following, it should stop at a set distance, where it hopefully should remain sight of the person.
Bill of materials (BOM)
| Item | Description | Quantity | Source |
|---|---|---|---|
| 1 | Dynamixel AX12 | 2 | Course equipment |
| 2 | Raspberry Pi 5 4GB | 1 | Course equipment |
| 3 | Raspberry camera | 1 | Course equipment |
| 4 | 12V electric horn (motorcycle horn) | 1 | We found one at Amazon^3 and Biltema^4 |
| 5 | 12V 5A power adapter for Dynamixels, horn and buck converter (RS PRO 139-2355) | 1 | RS Components |
| 6 | Distance sensor HC-SR04 (SparkFun SEN-15569) | 1 | Digikey |
| 7 | Red LED-lights | 2 | Lab |
| 8 | ROBOTIS U2D2 (USB to Dynamixel interface) | 1 | We didn't find on RS, Farnell or Digikey |
| 9 | ROBOTIS U2D2 Power Hub Board | 1 | We didn't fint on RS, Farnell or Digikey |
| 10 | Caster wheel, 40 mm swivel (RS PRO 750-783, pack of 4) | 1 | RS Components |
| 11 | 5V buck converter, min 5A, 12V -> 5V (Pololu D36V50F5) | 1 | Digikey Marketplace |
| 12 | MOSFET driver board with flyback diode (Adafruit 5648) | 1 | Digikey |
Plan
These are the following steps we found to be reasonable:
- Making a base capable of driving forward, backward and turning. By Nov. 1. (Joakim)
- Adding a camera to the base, making it follow a person. By Nov. 8. (Eirik)
- Adding a airhorn with set boundaries, where the airhorn should go off and where it should stop to maintain sight of the person. By Nov. 15. (Joakim)
- Adding the "demon" face to the car, moving the camera into this. By Nov 22. (Eirik)
All points should be done weekly, with a week buffer to fix any problems we might turn into.