EL Wire Light-Up Dog Harness

Norse Innovation
482 views

EL Wire Light-Up Dog Harness

Whether it’s to keep Fido (or in my case, Marley) visible on an adventure or as an awesome all-year-round costume, a light up dog harness is an excellent accessory for your favorite pup.

alt text

EL wire is a great option for wearable lights. It stays cool, is flexible, and comes in lots of different colors. This design uses the SparkFun EL Sequencer to automatically turn on EL wire when it is sufficiently dark outside, so you don’t have to worry about locating Mr. Dog to turn the on system.

Step #1: Components

Here is a list of all the parts and tools used in making this project.

Electronics

alt text

Harness Materials

alt text

  • Dog harness
    • A vest or backpack will also work
  • Waterproof jacket w/ pocket(s)
  • Optional: Tupperware or other sealable plastic container

Tools

alt text

  • Safety goggles
  • Soldering Iron
  • Wire Cutter/Stripper
  • Epoxy (waterproof)
  • Scissors
  • Needle + thread OR fabric adhesive
  • Optional: Velcro

Note: Purchase three (3) JST connectors for the EL wire, battery, and inverter if these components do not already have connectors.

Products:

Product Name SKU Price Qty
EL Wire - 3m SPF-COM-10200 NOK89.60 1
EL Sequencer SPF-COM-11323 NOK295.20 1
Polymer Lithium Ion Battery - 2000mAh SPF-PRT-08483 NOK116.80 1
FTDI Basic Breakout - 5V SPF-DEV-09716 NOK134.40 1
EL Inverter - 3V SPF-COM-10201 NOK89.60 1
Ambient Light Sensor - TEMT6000 SPF-COM-08348 NOK20.80 1
Break Away Male Headers - Right Angle SPF-PRT-00553 NOK24.00 1

Step #2: Assembly

CAUTION: Although it is low current, EL wire runs on high voltage AC (100 VAC). There are exposed connections on the EL Sequencer board so BE CAREFUL when handling the board. Always double (and triple) check that the power switch is OFF before touching any part of the board. For final projects, it is recommended to coat all exposed connections in epoxy, hot glue, electrical tape, or other insulating material.

  1. Test the EL Sequencer with EL wire. Connect EL Wire, inverter, and battery to EL sequencer. Turn on power switch and check that the EL wire turns on (should be blinking). You can connect, and control, up to 8 different strands of EL wire.

     

    alt text

     

  2. Solder header pins onto 5V FTDI pinholes on the EL Sequencer.

     

    alt text

     

  3. Solder header pins to the “GND,” “VCC,” and “A2” pinholes EL Sequencer (right side).

     

    alt text

     

  4. Solder male end of breadboard wires to ambient light sensor. Coat exposed metal on the sensor in epoxy (do not coat actual sensor).

    Note: Recommended to solder the pins on the bottom of the sensor so that the sensor can more easily be attached to the harness (found this out the hard way..).

     

    alt text

     

  5. Attach EL wire to harness.

    alt text

    Sew EL wire onto harness with dental floss for a strong, durable bond. Can also use an appropriate fabric adhesive.

    alt text

    For straps/buckles: leave about 1" of unadhered EL wire on either side of the strap/buckle.

    You can either wrap the ELwire for its entire length, or cut it and insulate the ends.

    alt text

  6. Make a durable pouch for the electronics.

    For a waterproof pouch, cut out a pocket in a waterproof jacket. I also included a small tuperware container to house the electronics in the pouch to further insulate and protect them from weather and dog conditions.

     

    alt text

     

  7. Attach electronics pouch to harness.

    Sew pouch onto top side of harness, or wherever is comfortable and practical for your pup. Recommended to put harness on dog to find a suitable location for the pouch.

    alt text

  8. Cut small holes on underside of pouch for the EL wire JST connector and the light sensor wires.

     

    alt text

     

  9. Attach and secure light sensor to harness. Recommended to put harness on pooch and mark location for light sensor so that it faces upward.

    There was an ideal flap in the rainjacket pocket for me to cut a hole, push the sensor through, and epoxy the other side. You can also use velcro or sew the light sensor onto the pocket or harness, just be sure that it stays stationary and won’t get covered when the dog is moving.

     

    alt text

     

  10. If using tuperware, cut or drill holes in tuperware for EL wire JST connector and light sensor wires.

    If you are not using tuperware, it is recommended to cushion the electronics and/or epoxy all connections (except the JST connectors) to protect them from your dog’s antics.

    alt text

  11. Connect EL wire and light sensor to EL Sequencer (through holes in the tuperware), then epoxy the holes to keep wires in place and maintain a waterproof seal.

    alt text

Step #3: Programming

Now it’s time to program the electronics.

Connect EL Sequencer to computer via 5V FTDI BOB or cable.

Program the EL Sequencer using the Arduino platform; the EL Sequencer runs an ATmega 328p at 8 MHz and 3.3V.

Write a program to read in the analog value of the ambient light sensor, turn on the appropriate EL wire channels at a value that corresponds to low light, and turn off once the light sensor value is above the low light threshold.

Check that the EL wire turns on when the ambient light is low and turns off in bright light.

EL_Wire
// EL Wire Dog Harness Program
// Turn EL wire on when ambient light is low.
// JenFoxBot
// Based on test sketch by Mike Grusin, SparkFun Electronics

void setup() {
  Serial.begin(9600);  
  // The EL channels are on pins 2 through 9
  // Initialize the pins as outputs
  pinMode(2, OUTPUT);  // channel A  
  pinMode(3, OUTPUT);  // channel B   
  pinMode(4, OUTPUT);  // channel C
  pinMode(5, OUTPUT);  // channel D    
  pinMode(6, OUTPUT);  // channel E
  pinMode(7, OUTPUT);  // channel F
  pinMode(8, OUTPUT);  // channel G
  pinMode(9, OUTPUT);  // channel H
  // We also have two status LEDs, pin 10 on the Escudo, 
  // and pin 13 on the Arduino itself
  pinMode(10, OUTPUT);     
  pinMode(13, OUTPUT); 
  pinMode(A2, INPUT);  
}

void loop() 
{
  int x,status;

  //If ambient lighting is too low, turn on EL wire
  if(analogRead(A2) < 50){
    digitalWrite(2, HIGH); //turn EL channel on
    delay(1000); //wait 1 second

    //Keep EL wire on until light sensor reading is greater than 50
    if(analogRead(A2) > 50){
      digitalWrite(2, LOW); //turn EL channel off
      delay(10);
    }

    Serial.println(analogRead(A2)); // Use this to check value of ambient light 

    digitalWrite(10, status);   // blink both status LEDs
    digitalWrite(13, status);
  }
}

Step #4: The Final Product

Place EL Sequencer, inverter, and battery inside the pouch (and tupperware). Connect all components to the EL Sequencer and turn it on using battery power. Test it in low and bright light to ensure that it functions properly.

If system works as expected, put on dog and go exploring! As an added bonus, you can use the electronics pouch to store other small, non-magnetic items. Enjoy!