# 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.


## Featured Products

### Adafruit Bluefruit LE Micro - Bluetooth Low Energy + ATmega32u4

[Adafruit Bluefruit LE Micro - Bluetooth Low Energy + ATmega32u4](https://www.adafruit.com/product/2661)
Would you like to add powerful and easy-to-use Bluetooth Low Energy to your robot, art or other electronics project? Heck yeah! With BLE now included in modern smart phones and tablets, its fun to add wireless connectivity. So what you really need is the new Adafruit Bluefruit LE Micro -...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/2661)
[Related Guides to the Product](https://learn.adafruit.com/products/2661/guides)
### Adafruit Feather 32u4 Bluefruit LE

[Adafruit Feather 32u4 Bluefruit LE](https://www.adafruit.com/product/2829)
Feather is the new development board from Adafruit, and like its namesake it is thin, light, and lets you fly! We designed Feather to be a new standard for portable microcontroller cores.

This is the&nbsp; **Adafruit Feather 32u4 Bluefruit** &nbsp;- our take on an...

In Stock
[Buy Now](https://www.adafruit.com/product/2829)
[Related Guides to the Product](https://learn.adafruit.com/products/2829/guides)
### Adafruit Audio FX Mini Sound Board - WAV/OGG Trigger - 2MB Flash

[Adafruit Audio FX Mini Sound Board - WAV/OGG Trigger - 2MB Flash](https://www.adafruit.com/product/2342)
Would you like to add audio/sound effects to your next project, without an Arduino+Shield? Or maybe you don't even know how to use microcontrollers, you just want to make a sound play whenever you press a button. What about something that has to be very small and portable? You are...

In Stock
[Buy Now](https://www.adafruit.com/product/2342)
[Related Guides to the Product](https://learn.adafruit.com/products/2342/guides)
### Adafruit Mono 2.5W Class D Audio Amplifier - PAM8302

[Adafruit Mono 2.5W Class D Audio Amplifier - PAM8302](https://www.adafruit.com/product/2130)
This super small mono amplifier is surprisingly powerful - able to deliver up to 2.5 Watts into 4-8 ohm impedance speakers. Inside the miniature chip is a class D controller, able to run from 2.0V-5.5VDC. Since the amp is a class D, its very efficient (over 90% efficient when driving an...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2130)
[Related Guides to the Product](https://learn.adafruit.com/products/2130/guides)
### Adafruit Audio FX Mini Sound Board - WAV/OGG Trigger 16MB Flash

[Adafruit Audio FX Mini Sound Board - WAV/OGG Trigger 16MB Flash](https://www.adafruit.com/product/2341)
Would you like to add audio/sound effects to your next project, without an Arduino+Shield? Or maybe you don't even know how to use microcontrollers, you just want to make a sound play whenever you press a button. What about something that has to be very small and portable? You are...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2341)
[Related Guides to the Product](https://learn.adafruit.com/products/2341/guides)
### Mini Metal Speaker w/ Wires - 8 ohm 0.5W

[Mini Metal Speaker w/ Wires - 8 ohm 0.5W](https://www.adafruit.com/product/1890)
Listen up! This tiny 1" diameter speaker cone is the perfect addition to any small audio project where you need an 8 Ω impedance and will be using 0.5W or less of power. We particularly like this cone as it's very simple and its metal body is extremely lightweight. <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/1890)
[Related Guides to the Product](https://learn.adafruit.com/products/1890/guides)
### 3 x AAA Battery Holder with On/Off Switch and 2-Pin JST

[3 x AAA Battery Holder with On/Off Switch and 2-Pin JST](https://www.adafruit.com/product/727)
This battery holder connects 3 AAA batteries together in series for powering all kinds of projects. We spec'd these out because the box is slim, and 3 AAA's add up to about 3.3-4.5V, a very similar range to Lithium Ion/polymer (Li-Ion) batteries and have an on-off switch. That makes...

In Stock
[Buy Now](https://www.adafruit.com/product/727)
[Related Guides to the Product](https://learn.adafruit.com/products/727/guides)
### Alkaline AAA batteries - 2 pack

[Alkaline AAA batteries - 2 pack](https://www.adafruit.com/product/617)
Battery power for your portable project! These batteries are good quality at a good price, and work fantastic with any of the kits or projects in the shop that use AAA's.&nbsp;This is a pack of **2&nbsp;AAA batteries**.  
  
These batteries are Alkaline (MnO2) chemistry,...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/617)
[Related Guides to the Product](https://learn.adafruit.com/products/617/guides)

## 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)
- [MP3 Playback on RP2040 with CircuitPython](https://learn.adafruit.com/mp3-playback-rp2040.md)
- [Bluefruit Controlled Macetech RGB LED Shades](https://learn.adafruit.com/ledshades.md)
- [Adafruit Audio FX Sound Board](https://learn.adafruit.com/adafruit-audio-fx-sound-board.md)
- [PiGRRL 2](https://learn.adafruit.com/pigrrl-2.md)
- [CircuitPython Sound Box](https://learn.adafruit.com/circuitpython-sound-box.md)
- [Cup o' Sound](https://learn.adafruit.com/cup-o-sound.md)
- [Magic Wand](https://learn.adafruit.com/magic-wand.md)
- [Audio Prank Gift Box](https://learn.adafruit.com/shake-up-a-gift-box.md)
- [Screaming Cauldron](https://learn.adafruit.com/screaming-cauldron.md)
- [Zipper Switch](https://learn.adafruit.com/zipper-switch.md)
- [Jack-o'-LED·trix](https://learn.adafruit.com/jack-o-led-trix.md)
- [Raspberry Pi Wearable Time Lapse Camera](https://learn.adafruit.com/raspberry-pi-wearable-time-lapse-camera.md)
- [Interior Purse Light](https://learn.adafruit.com/interior-purse-light.md)
- [LED Glasses Custom Animated Graphics with Sprites](https://learn.adafruit.com/led-glasses-custom-animated-graphics-with-sprites.md)
- [Qualia 3D Printed Cases](https://learn.adafruit.com/qualia-3d-printed-cases.md)
