Home > Projects > Robotics – Automation Projects > Robotic Talking Turret using Arduino

Robotic Talking Turret using Arduino

Summary of Robotic Talking Turret using Arduino


This article guides users through building a robotic talking turret inspired by the game Portal, focusing on animatronics rather than combat functionality. It outlines the necessary electronics, including a Roboduino microcontroller for control, an Adafruit Wave Shield for mono WAV sound playback, and RGB LEDs for visual effects. The project requires basic skills in tool usage, circuit assembly, and programming, utilizing components like transistors to manage LED power and specific audio libraries.

Parts used in the Robotic Talking Turret:

  • Roboduino microcontroller
  • Arduino software
  • Breakaway headers
  • Hook-up wire
  • Adafruit Wave Shield
  • Speaker
  • DAC.h file (modified)
  • LED assortment (7 colors, 15 each)
  • Transistor
  • Sintra expanded PVC plastic

Here I will show you an overview on how to make a robotic talking turret, loosely based off of the turrets from the popular game, Portal. This instructable should help anyone wanting to do an animatronics project.

For more detailed pictures, go to:
http://razorconcepts.net/turret.html

This project require some experience with tools, electronic circuits, and maybe a little programming.
Arduino Robotic Talking Turret
Here is a sample video of the turret:
http://vimeo.com/3914462
Here is the completed turret:
http://vimeo.com/4070435

Let’s get started!

Note: This turret was NOT designed to be very good at tracking and shooting – it’s more for show than functionality. If you are one of those people who have nothing better to do than criticize other people’s Instructables, just close the screen.

Step 1: Electronics Pt 1: Overview

A “smart” animatronics project needs a brain – in this case, a programmable microcontroller. I will be using a Roboduino, a modification of the popular Arduino microcontroller. The Arduino microcontroller uses easy to use Arduino software that is simple to understand for novice programmers. The Roboduino can be bought from Curious Inventor for around $40, and the various Arduinos can be bought from around $30.

There are plenty of Arduino Instructables here, I would reccomend reading through them if you are unfamiliar with them.

I used a lot of breakaway headers and hook-up wire to make all the connections to the Roboduino.

Step 2: Electronics Pt 2: Sound

Sound is a very important factor of an animatronics project – however, it is usually very difficult to implement with microcontrollers.

So far I have only found one easy to use and cheap sound player for the Arduinos – the wave shield from Adafruit industries. It only costs about $25, much cheaper than other sound playing development boards. Also the coding is fairly simple with the libraries provided by Adafruit.

The disadavanges do pile up, though. It can only play uncompressed WAV files – in mono. It needs 8 connections do the Arduino. It takes a minimum of 10kb of flash on the Arduino – leaving only about 4 or 5kb left on the Arduino for the rest of your code. However other MP3 player boards usually run for around $100, so I just stuck with the wave shield.

I changed the dac.h file in the wave shield library to use analog pins 2-5 instead of the digital pins. I wired up a speaker to the base of the turret.

Step 3: Electronics Pt. 3: LED lighting

LED lights are cheap and easy to use – and if used in the right way, can add to the asthetics of a project tremendously.
Arduino Robotic Talking Turret connection
I would reccomend going to eBay and buying an LED assortment. Whenever you need a color, you’ll have it on hand. I purchased 7 colors of LEDs, 15 LEDs for each color, for about 6 dollars shipped.

If you want to drive more than one LED on the Arduino, you will need to use a transistor (basic schematic shown in pictures).

The LEDs are connected to the digital ports on the Roboduino, and used the digitalWrite command to turn the LEDs on and off.

Major Components in Project
Servo
Sintra expanded PVC plastic

 

For more detail: Robotic Talking Turret using Arduino

Quick Solutions to Questions related to Robotic Talking Turret:

  • What is the main brain used in this project?
    The project uses a Roboduino, which is a modification of the popular Arduino microcontroller.
  • How much does the Roboduino cost approximately?
    The Roboduino can be bought from Curious Inventor for around $40.
  • Which sound player board was chosen for this project?
    The author chose the wave shield from Adafruit industries because it is cheap and easy to use.
  • What type of audio files can the wave shield play?
    The wave shield can only play uncompressed WAV files in mono.
  • Why did the author select the wave shield over MP3 player boards?
    MP3 player boards usually run for around $100, making the wave shield a cheaper alternative at about $25.
  • How many kilobytes of flash memory does the wave shield consume?
    It takes a minimum of 10kb of flash on the Arduino, leaving only about 4 or 5kb left for other code.
  • What is the best way to drive more than one LED on the Arduino?
    You will need to use a transistor to drive more than one LED.
  • Where can you buy an LED assortment for this project?
    The author recommends going to eBay to buy an LED assortment.
  • What material was used for the physical structure of the turret?
    Sintra expanded PVC plastic was used as a major component in the project.
  • Does this turret function effectively for tracking and shooting?
    No, the turret was designed more for show than functionality regarding tracking and shooting.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top