Galaxy Dog Jacket

by 8BitsAndAByte in Circuits > Wearables

1809 Views, 9 Favorites, 0 Comments

Galaxy Dog Jacket

DogJacket.00_03_18_19.Still034.jpg

A galaxy themed jacket made for an earthbound dog!

Supplies

Supplies:

  • Dog jacket pattern (Simplicity Sewing Pattern S9035 Quilted Dog Coats)
  • Fabrics for the dog jacket as required by the pattern, depending on the size of the dog
  • Hook-and-loop fastener
  • Adafruit Feather (nRF52 Bluefruit LE - nRF52832)
  • Adafruit NeoPixel Ring
  • Lipo battery 3.7V
  • Smartphone with Bluetooth and the Adafruit Bluefruit LE Connect app (optional)

Tools:

  • Sewing machine
  • 3D printer
  • Needle & thread
  • Scissors

Project Video

Galaxy Dog Jacket

Dog Jacket

DogJacket.00_00_40_21.Still005.jpg
DogJacket.00_00_55_17.Still008.jpg
DogJacket.00_01_05_00.Still009Square.jpg
DogJacket.00_01_19_09.Still019Square.jpg

The first step is either buying or making a jacket for your dog to wear, to add the electronics to. In this case we opted to sew our own jacket because we wanted to challenge ourselves a bit, improve our sewing skills and pick an awesome galaxy themed fabric!

We chose the Simplicity Sewing Pattern S9035 Quilted Dog Coats, as the pattern looked nice yet easy enough for someone with intermediate sewing skills (it has a difficulty rating of 2/5).

Measure your dog to determine the size of the coat and the amount of fabric needed. Prewash all of your fabrics the way you intend to wash the final project before you cut and start sewing to avoid shrinkage of your dog coat!

Follow the directions of the pattern to sew the dog coat. This is easier said than done, as we’ve experienced, so good luck!

Hardware

DogJacket.00_02_08_03.Still020.jpg
DogJacketSketch_bb.png

The dog coat is looking good, but we still can’t find our dog in the dark. The perfect thing to add would be some lights, so let’s do just that!

For the hardware, we opted for the Adafruit Feather (nRF52 Bluefruit LE - nRF52832) because it’s small and lightweight. At 5.7 grams they advertise it as being as light as a (large?) feather. For the lights, we chose a NeoPixel Ring with 12 lights, compact yet very bright. A 500mAh 3.7V LiPo battery provides the power.

We wired all the components as shown in the Fritzing diagram above.

Feather Setup and Bluetooth App

On to the next part, getting the hardware to do stuff! The idea is to connect the Adafruit Feather to the Adafruit Bluefruit LE Connect app on a smartphone and pick the colour of the NeoPixels via the app.

But first things first, we need to set up the Adafruit Feather to work with the Arduino IDE by following this guide provided by Adafruit.

Next up is uploading the controller sketch to the Feather. This example sketch can be found in the Arduino IDE by going to File > Examples > Adafruit Bluefruit nRF52 Libraries > Peripheral > controller

With this sketch uploaded to the Feather, you can now connect it to the smartphone Bluefruit app by following the steps outlined in this guide.

Controlling the NeoPixels

DogJacket.00_03_16_00.Still032.jpg

Once the Feather and app are connected, the Feather can already receive a number of Bluetooth messages from the app, including a colour! To send a colour to the Feather, open the Bluefruit app and connect to your feather. In the menu, go to Controller > Color Picker. The moment you pick a colour via the colour wheel and press the select button, the message containing the colour is sent to your feather, pretty neat right?

All we have to do is add some code to control the NeoPixels and change their colour when the Bluetooth message arrives. The full code to do this is added in attachment!

Detachable Patch

DogJacket.00_02_32_00.Still023.jpg
DogJacket.00_01_48_00.Still014.jpg

To keep the dog jacket washable, because, you know, dogs... we’re going to add the electronics to a seperate patch of fabric. A strip of hook-and-loop on both the back of the dog jacket and on the patch ensures that the lights can stick on the coat and can be taken off when it’s inevitably in need of a wash.

We chose to make a quilted patch of fabric in the shape of an octagon in the same fabrics as the dog jacket, with blue galaxy fabric at the top and black fleece on the bottom. With the batting on the inside of the patch, it’s quite stable and sturdy enough to add the electronics.

3D Print

DogJacket.00_02_13_23.Still021.jpg
DogJacket.00_02_41_07.Still024.jpg
DogJacket.00_02_23_19.Still015.jpg
DogJacket.00_02_24_04.Still022.jpg

There are a million ways to add the electronics to the patch of fabric, including stuff like sewable electronics. We 3D printed a planet to hold all the components and diffuse the lights at the same time.

The bottom part of the holder fits all the hardware and has holes in the bottom so it can be manually sewn onto the patch of fabric in four places. The top of the holder is attached with some self adhesive hook-and-loop tape, so it can easily be opened to turn on the Feather and charge the LiPo battery.

The 3D files are added in attachment. We printed the planet holders in a transparent filament with a light infill of 5%.

Result!

DogJacket.00_04_28_07.Still041.jpg
DogJacket.00_04_56_24.Still048.jpg

Last but not least, assemble all the parts, place the planet on the dog jacket and get your dog to wear it! Doesn’t that look amazing?

Two things we’ve noticed since using it:

  1. An on/off switch on the Feather would be really practical, it would be great to add one.
  2. When the dog shakes itself, the electronics can and will fly off… We didn’t think of this until it actually happened, you’ve been warned!