# Phone-Activated Talking Dog Collar

## Overview

https://www.youtube.com/watch?v=5QCrw_-hAuE

![](https://cdn-learn.adafruit.com/assets/assets/000/028/166/medium800thumb/projects_adafruit-talking-dog-collar-21.jpg?1448323540)

Make a bluetooth-activated talking dog collar for Halloween or just to show off at the park! This intermediate electronics project was inspired by Dug from the movie Up-- his talking collar translates his thoughts for communicating with humans. Using the Audio FX board and Bluefruit Micro, this project enables you to trigger sound samples through the Bluefruit LE Connect app for iOS and Android. The sounds are played through a mono amp connected to a mini metal speaker.

The collar itself is made from a leather belt, with 3D printed "greebles" to make it look like the collar from the movie.

It's easy to adapt this circuit for any phone-triggered audio project by swapping out the sound samples!

![](https://cdn-learn.adafruit.com/assets/assets/000/028/141/medium800thumb/projects_adafruit-talking-dog-collar-03.jpg?1448323018)

Before you begin, familiarize yourself with the following prerequisite guides:

- [Introducing Bluefruit LE Micro](../../../bluefruit-le-micro-atmega32u4-microcontroller-usb-bluetooth-le-in-one)
- [Adafruit Audio FX Sound Board](../../../adafruit-audio-fx-sound-board)
- [Adafruit LED Sequins](../../../adafruit-led-sequins)
- [Adafruit Guide to Excellent Soldering](../../../adafruit-guide-excellent-soldering)

For this project you will need:

- [Bluefruit LE Micro board](http://www.adafruit.com/product/2661)
- [Audio FX Mini sound board](http://www.adafruit.com/product/2342)
- [Mono 2.5W Class D audio amplifier](http://www.adafruit.com/product/2130)
- [Mini metal speaker](http://www.adafruit.com/product/1890)
- [3xAAA battery pack and batteries](http://www.adafruit.com/product/727)
- [Two red Adafruit LED Sequins](http://www.adafruit.com/product/1755)
- [30awg silicone coated wire](https://www.adafruit.com/product/2051)&nbsp;(in colors of your choice, having a few different colors is handy for remembering what's what)
- leather collar
- [soldering tools and supplies](../../../adafruit-guide-excellent-soldering)
- [tweezers](https://www.adafruit.com/product/2051)
- E6000 craft adhesive and toothpicks
- [solderless breadboard](https://www.adafruit.com/products/239)

![](https://cdn-learn.adafruit.com/assets/assets/000/028/157/medium800thumb/projects_adafruit-talking-dog-collar-19.jpg?1448323446)

video for gifs by [Mike Farino](http://mikefarino.com/).

# Phone-Activated Talking Dog Collar

## Circuit Diagram

![](https://cdn-learn.adafruit.com/assets/assets/000/027/965/medium800/projects_schematic-v2.png?1444070306)

Warning: 

 **This is a _schematic_ diagram to clearly show the connections between components with minimal wire crossings — it does _not_ represent the actual placement around the collar.**

One of the sequins is always on, sliced from the battery pack. The other is connected to an analog out on the Bluefruit Micro, so we can trigger it to light up when the sound is triggered to create a "talking" light.

![](https://cdn-learn.adafruit.com/assets/assets/000/028/148/medium800thumb/projects_adafruit-talking-dog-collar-02.jpg?1448323171)

We strongly recommend prototyping this project on a solderless breadboard first, if you can spare the second set of parts (the collar is assembled without header pins). When assembling things into the collar, things can get a bit confusing, so it's always nice to have a working version of the circuit to reference!

![](https://cdn-learn.adafruit.com/assets/assets/000/028/154/medium800thumb/projects_adafruit-talking-dog-collar-09.jpg?1448323391)

# Phone-Activated Talking Dog Collar

## Code

You will want to program the project before assembly.

The GitHub repository with all the code and audio samples is [located here](https://github.com/adafruit/Adafruit_Learning_System_Guides/tree/master/Bluetooth_Talking_Dog_Collar). Contents:

- **Audio** directory: 8 .OGG format sound files for the project - [direct link](https://github.com/adafruit/Adafruit_Learning_System_Guides/tree/master/Bluetooth_Talking_Dog_Collar/Audio)
- **BLEdogCollar** directory: contains **BLEdogCollar.ino** , listed below.

To download the code, select **Download: Project Zip**.

https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/Bluetooth_Talking_Dog_Collar/BLEdogCollar/BLEdogCollar.ino

# Phone-Activated Talking Dog Collar

## Leather Collar & Greebles

![](https://cdn-learn.adafruit.com/assets/assets/000/028/114/medium800/projects_adafruit-talking-dog-collar-greebles2.jpg?1445367241)

![](https://cdn-learn.adafruit.com/assets/assets/000/028/115/medium800/projects_adafruit-talking-dog-collar-greebles1.jpg?1445367265)

To make this movie prop replica, we designed some 3D files for the harder-to--find bits. Download the 3D greebles via Thingiverse by clicking the green button below:

[3D Parts for Talking Dog Collar](http://www.thingiverse.com/thing:1068220)
And assemble as shown (the stitching is purely ornamental). The selector knob is glued in place and does not turn or activate any part of the circuit.

# Phone-Activated Talking Dog Collar

## Assemble Circuit

![](https://cdn-learn.adafruit.com/assets/assets/000/028/147/medium800thumb/projects_adafruit-talking-dog-collar-04.jpg?1448323135)

Start by desoldering the wires on the speaker, then solder on longer, more flexible wires facing "in" instead of "out," so it will fit inside the dome.

The speaker press fits into the dome, then thread the wires through a hole on the collar. Don't glue anything in place just yet.

![projects_adafruit-talking-dog-collar-greebles3.jpg](https://cdn-learn.adafruit.com/assets/assets/000/028/116/medium640/projects_adafruit-talking-dog-collar-greebles3.jpg?1445367317)

![projects_adafruit-talking-dog-collar-greebles4.jpg](https://cdn-learn.adafruit.com/assets/assets/000/028/117/medium640/projects_adafruit-talking-dog-collar-greebles4.jpg?1445367340)

![](https://cdn-learn.adafruit.com/assets/assets/000/028/151/medium800thumb/projects_adafruit-talking-dog-collar-05.jpg?1448323277)

Solder long wires onto one of your LED sequins (different colors for positive and negative is helpful), and thread the wires through another hole adjacent to the speaker dome.

Before you begin assembling the main "brain" chunk of circuitry, strategize a bit. The boards will go together in a stack inside the "battery" pouch, and there isn't much room from side to side for extra wire. Use the mounting holes to route wires through to different layers.

If you're using a metal snap closure for any of your collar's pouches, insulate any metal that could come into contact with the board with tape or glue.

![projects_adafruit-talking-dog-collar-pouch3.jpg](https://cdn-learn.adafruit.com/assets/assets/000/028/142/medium640/projects_adafruit-talking-dog-collar-pouch3.jpg?1445376286)

![projects_adafruit-talking-dog-collar-pouch2.jpg](https://cdn-learn.adafruit.com/assets/assets/000/028/143/medium640/projects_adafruit-talking-dog-collar-pouch2.jpg?1445376308)

![projects_adafruit-talking-dog-collar-pouch1.jpg](https://cdn-learn.adafruit.com/assets/assets/000/028/144/medium640/projects_adafruit-talking-dog-collar-pouch1.jpg?1445376322)

![](https://cdn-learn.adafruit.com/assets/assets/000/028/152/medium800thumb/projects_adafruit-talking-dog-collar-06.jpg?1448323299)

The Bluefruit Micro and Audio FX boards share power via the connectors on the backs of the board (usually used for attaching a JST port). First tin the pads and the wire ends, then use tweezers to hold the tinned wire in place while you reheat the solder to make a solid connection.

![](https://cdn-learn.adafruit.com/assets/assets/000/028/158/medium800thumb/projects_adafruit-talking-dog-collar-08.jpg?1448323471)

Assemble the rest of the circuit according to the diagram, soldering small bits of wire to connect the boards' pins. Try to use short wires, but don't make them _too_ short or that you can't see between the boards to double check your connections or troubleshoot.

![](https://cdn-learn.adafruit.com/assets/assets/000/028/167/medium800/projects_Parts_for_Talking_Dog_Collar-25.png?1445397152)

![](https://cdn-learn.adafruit.com/assets/assets/000/028/174/medium800/projects_adafruit-talking-dog-collar-28.jpg?1445399572)

Once your circuit sandwich is complete, you can wire up the components that are elsewhere on the collar.

Thread the speaker and sequin wires into the main circuit compartment, and strip, tin, and solder the wires in place according to the circuit diagram.

![](https://cdn-learn.adafruit.com/assets/assets/000/028/173/medium800/projects_Parts_for_Talking_Dog_Collar-26.png?1445399373)

![](https://cdn-learn.adafruit.com/assets/assets/000/028/175/medium800/projects_adafruit-talking-dog-collar-27.jpg?1445399670)

To attach the map light sequin, cut off the JST connector from your battery pack (it should be off and/or empty), then solder two wires onto each the positive side and the negative side. One set of those wires goes to the sequin, and the other set will travel through the collar to the main circuit compartment.

Tape&nbsp;the map light sequin to the battery pack near the center, and place the battery pack in the leather "tracking" pouch. Adjust the position of the sequin to your liking.

![projects_adafruit-talking-dog-collar-snap2.jpg](https://cdn-learn.adafruit.com/assets/assets/000/028/118/medium640/projects_adafruit-talking-dog-collar-snap2.jpg?1445367370)

![projects_adafruit-talking-dog-collar-24.png](https://cdn-learn.adafruit.com/assets/assets/000/028/161/medium640/projects_adafruit-talking-dog-collar-24.png?1445396287)

![](https://cdn-learn.adafruit.com/assets/assets/000/028/176/medium800/projects_adafruit-talking-dog-collar-29.jpg?1445399756)

Phew, almost there! You haven't glued anything yet, have you? Ok good. Clean up your workstation and double check there aren't any bits of wire or metal hanging out in your circuit compartment, and position the boards so they're not touching each other.

Test the circuit and be sure it is working before proceeding to the more permanent steps below!

![](https://cdn-learn.adafruit.com/assets/assets/000/028/177/medium800/projects_adafruit-talking-dog-collar-30.jpg?1445400108)

Only after checking that the circuit is complete and in working order, you can stick the layers of the circuit sandwich together with foam tape and close up the pouch.

![](https://cdn-learn.adafruit.com/assets/assets/000/028/163/medium800/projects_adafruit-talking-dog-collar-22.png?1445396832)

It's also time to glue down the "talking" sequin and its dome, as well as the speaker dome.

![](https://cdn-learn.adafruit.com/assets/assets/000/028/165/medium800thumb/projects_adafruit-talking-dog-collar-15.jpg?1448323532)

E6000, shoe goo, and other permanent adhsesives are suitable for this project, but hot glue is not durable enough and so not recommended! Use a toothpick for precision application and wipe up any excess with a damp cloth.

To secure the wires on the inside of the collar, you can glue a piece of fabric to cover them, or stitch them down with a needle and thread-- your method will vary depending on the material of your collar.

# Phone-Activated Talking Dog Collar

## Wear it!

![](https://cdn-learn.adafruit.com/assets/assets/000/028/156/medium800thumb/projects_adafruit-talking-dog-collar-21.jpg?1448323428)

Go get that doggie costume contest trophy!

The collar is not water-resistant, so power it down and remove the batteries if you get stuck in the rain, and bring an analog backup collar just in case.


## Related Guides

- [Adafruit PAM8302 - Mono 2.5W Class D Audio Amplifier](https://learn.adafruit.com/adafruit-pam8302-mono-2-5w-class-d-audio-amplifier.md)
- [Mini Raspberry Pi Handheld Notebook](https://learn.adafruit.com/mini-raspberry-pi-handheld-notebook-palmtop.md)
- [NeoPixel Fairy Crown](https://learn.adafruit.com/neopixel-fairy-crown.md)
- [MP3 Playback on RP2040 with CircuitPython](https://learn.adafruit.com/mp3-playback-rp2040.md)
- [Clue Coffee Scale](https://learn.adafruit.com/clue-coffee-scale.md)
- [Spy Theme Playback Device](https://learn.adafruit.com/spy-theme-playback-device.md)
- [Thanksgiving Robotic Turkey Hand with Circuit Playground Express and Crickit](https://learn.adafruit.com/talking-turkey-hand.md)
- [Digi-Key IoT Studio Mini Smart Home](https://learn.adafruit.com/digikey-iot-studio-smart-home.md)
- [Cardboard Circuit Playground Express Inchworm Robot](https://learn.adafruit.com/cardboard-robot-inchworm.md)
- [LED Bubble Hair Extensions with Motion Controlled Effects](https://learn.adafruit.com/led-bubble-hair-extensions-with-motion-controlled-effects.md)
- [Make It Sound](https://learn.adafruit.com/make-it-sound.md)
- [Introducing Adafruit Crickit #MakeRobotFriend](https://learn.adafruit.com/adafruit-crickit-creative-robotic-interactive-construction-kit.md)
- [LED Matrix Necklace Pendant](https://learn.adafruit.com/led-matrix-necklace-pendant.md)
- [Yoga Pose Chime](https://learn.adafruit.com/yoga-pose-chime.md)
- [Adafruit ESP32-S3 TFT Feather](https://learn.adafruit.com/adafruit-esp32-s3-tft-feather.md)
- [Circuit Playground Express Treasure Hunt](https://learn.adafruit.com/circuit-playground-treasure-hunt.md)
