GPS Logging Dog Harness

Similar documents
Adafruit LED Sequins. Created by Becky Stern. Last updated on :00:06 PM EST

Interior Purse Light. Created by Becky Stern. Last updated on :41:08 PM UTC

Adafruit LED Sequins. Created by Becky Stern. Last updated on :02:00 AM UTC

Flora Wearable GPS. Created by Becky Stern. Last updated on :32:36 PM UTC

Light-Up Angler Fish Embroidery

Sewable NeoPixels. Created by Becky Stern. Last updated on :50:14 PM EDT

NeoPixel Ring Bangle Bracelet

FLORA Pixel Brooch. Created by Becky Stern. Last updated on :19:07 PM EST

FLORA TV-B-Gone. Created by Becky Stern. Last updated on :32:57 PM UTC

Mystical LED Halloween Hood

FLORA and GEMMA ICSP. Created by Becky Stern. Last updated on :30:55 PM EST

'Sup Brows. Created by Kate Hartman. Last updated on :52:04 PM UTC

Glowing Star Chuck Taylor Sneakers

Bunny Ears with MakeCode

NeoPixel LED Cortana Costume

Punk LED Collar. Created by Becky Stern. Last updated on :02:45 PM EST

Adabot Operation Game

NeoPixel Manicure. Created by Sophy Wong. Last updated on :50:38 PM UTC

Bike Wheel POV Display

FLORA and GEMMA ICSP. Created by Becky Stern. Last updated on :42:16 PM UTC

Phone-Activated Talking Dog Collar

Infinity Mirror Valentine's Candy Box

Circuit Playground Digital Input

Celebration Spectacles

i2c/spi LCD Backpack Created by lady ada Last updated on :11:04 PM UTC

Ping Pong Ball Launcher

Getting Started with FLORA

Getting Started with FLORA

Getting Started with FLORA

Snake Charmer Box. Created by Dano Wall. Last updated on :07:25 PM UTC

Audio Prank Gift Box. Created by Becky Stern. Last updated on :46:15 PM UTC

Chirping Plush Owl Toy

Con Badge with Circuit Playground Express

Solar Boost Bag. Created by Becky Stern. Last updated on :44:55 PM UTC

Trellis 3D Printed Enclosure

Adafruit Capacitive Touch Sensor Breakouts

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout

Reindeer Mask with Animated Eyes

Simple LED Unicorn Horn

Crawling Animatronic Hand

Sparkle Skirt. Created by Becky Stern. Last updated on :48:58 PM UTC

Neon LED Signs. Created by John Park. Last updated on :11:09 PM UTC

NeoMatrix 8x8 Word Clock

3D Printed Camera LED Ring

Circuit Playground Express Laser Tag

Pushrod Garage. Created by John Park. Last updated on :07:30 PM UTC

Crickit Carnival Bumper Bot

TRON Bag. Created by Becky Stern

Adafruit Color Sensors

GPS Dog Collar. Created by Becky Stern. Last updated on :30:40 PM UTC

Flora Brake Light Backpack

Trinket-Powered Conference Room Occupancy Display

Sword & Wand Prop Effects with Circuit Playground

Cup o' Sound. Created by Becky Stern. Last updated on :30:06 PM EST

Tent Lantern. Created by Timothy Reese. Last updated on :17:25 AM UTC

Mad Science Test Tube Rack

Magical Mistletoe. Created by Leslie Birch. Last updated on :45:29 PM UTC

Stumble-Bot. Created by Dano Wall. Last updated on :04:06 AM UTC

Adafruit APDS9960 breakout

PyPortal NeoPixel Color Picker Created by Kattni Rembor. Last updated on :42:41 PM UTC

Adafruit DRV2605 Haptic Controller Breakout

MiniPOV4 - DIY Full-Color Persistence of Vision & Light-Painting Kit

Wind Blowing Emoji Prop

Adafruit GPS Hat in Windows IoT Core

LED Stego Flex Spike Hoodie

Portable Apple Watch Charger

Adafruit PowerBoost 500 Shield

MCP Bit DAC Tutorial

Guardian Shield+ Zelda Breath of the Wild

Hammer Time Mini Golf Hazard with Crickit

Datalogging Hat with FLORA BLE

Luminous LED Flowers. Created by Becky Stern. Last updated on :47:44 PM UTC

Slider Crank Mechanism -- from Cardboard and Craft Sticks

Crickit Dancing Marionette Kit Created by Dano Wall. Last updated on :03:11 PM UTC

Jewel Hair Stick. Created by Leslie Birch. Last updated on :47:17 PM UTC

Easy Sparkle Pocket T-Shirt

Android GBoard Morse Code Control with Circuit Playground Express

Coffee Detonator: The TNT Plunger Grinder

No-Sew LED Wristband. Created by Kathy Ceceri. Last updated on :23:40 PM UTC

Bandolier of Light. Created by Becky Stern. Last updated on :16:17 PM EST

Introducing Adafruit Trellis

Adafruit Si7021 Temperature + Humidity Sensor

Naughty or Nice Machine

Bluetooth Controlled NeoPixel Headphones

Adafruit Si5351 Clock Generator Breakout

Crawling Baby Sea Turtle Robot

Adafruit 8x16 LED Matrix FeatherWing

Trinket NeoPixel LED Longboard

Feather Weather Lamp. Created by Ruiz Brothers. Last updated on :54:26 PM UTC

Crickit Powered Holiday Diorama

Adafruit Prototyping Pi Plate. Created by Ladyada

Adafruit PCF8523 Real Time Clock

Joy Featherwing. Created by Dean Miller. Last updated on :03:07 PM UTC

Alohamora Bottle. Created by Erin St Blaine. Last updated on :58:53 PM UTC

Adafruit AM2320 Sensor

NeoPixie Dust Bag with Circuit Playground Express

Adafruit AS channel Visible Light Sensor

Using IFTTT with Adafruit IO to Make an IoT Door Detector

Paper Airplane Launcher

Transcription:

GPS Logging Dog Harness Created by Becky Stern Last updated on 2015-01-15 10:15:19 PM EST

Guide Contents Guide Contents Overview Circuit Diagram Sew Circuit Use It! 2 3 5 6 15 Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 2 of 30

Overview Make a GPS logger to map your dog's playtime at the park or hike in the woods! This intermediate FLORA microcontroller circuit is a great first GPS project! Use conductive thread to stitch up the sewable GPS and FLORA so there's no soldering required. Before you begin, check out these guides: Getting Started with FLORA (http://adafru.it/elq) FLORA GPS (http://adafru.it/elr) You'll have installed the Adafruit Arduino software by now, OR you can program your FLORA directly from your browser using Codebender (http://adafru.it/els). Fancy! For this project you'll need: FLORA main board (http://adafru.it/dgx) (Gemma/Trinket is not good for this project, so stick with Flora!) FLORA sewable GPS (http://adafru.it/dw8) conductive thread (http://adafru.it/dw9) sewable coincell battery holder (http://adafru.it/dwa) with battery (http://adafru.it/dwb) 3xAAA battery holder (http://adafru.it/dcg) and batteries (http://adafru.it/dwc) scrap of tablecloth vinyl sewing needle (http://adafru.it/dgc) and thread scissors sturdy tape like gaff or packing clear nail polish We're building the circuit on the Ruffwear Single Track dog backpack. (http://adafru.it/dwd) Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 3 of 30

Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 4 of 30

Circuit Diagram Use this diagram as a reference as you follow the construction guide (click to enlarge). The connections are as follows: FLORA 3.3V -> GPS 3.3V FLORA RX -> GPS TX FLORA TX -> GPS RX FLORA GND -> GPS GND GPS BAT -> positive coincell battery terminal GPS GND -> negative coincell battery terminal Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 5 of 30

Sew Circuit Find a spot on the harness/backpack for your circuit. The GPS needs to face the sky (through some fabric is ok). Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 6 of 30

Stitch FLORA to the fabric around one of the GPS pins used in the circuit diagram (we chose RX to stitch first). Leave about a 6-inch tail of thread (we'll tie it later). Make several stitches around to create a secure mechanical and electrical connection. Don't cut any thread yet, and position the GPS module next to FLORA. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 7 of 30

Continue stitching with the same thread to connect to the GPS' TX pad. Loop several times around and then tie the working thread to the tail you left earlier. Make a tight double knot! Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 8 of 30

Dab a tiny amount of clear nail polish to the knot you just made. Try to get it only on the knot! Hold the threads taut at different angles for better access with your brush, and try not to get any polish on the pads of FLORA or the GPS. Tug on the knot while the polish dries to tame that springy stainless steel! Leave long enough tails that you can tug on them again later-- don't cut them super short yet. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 9 of 30

Repeat this stitching process to connect FLORA's TX to the FLORA GPS' RX, and likewise with 3.3V and GND according to the circuit diagram. Double check your knots again, adding a tiny bit more nail polish if any of them aren't staying tight. Once the nail polish is completely dry, you can cut your thread tails very short. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 10 of 30

Check your connections using a multimeter on continuity mode. Touch the probes to the pads on the circuit boards, not the thread, and check to make sure there is continuity between all four connections, and that there aren't any shorts. For more info on using your multimeter, check out our guide (http://adafru.it/dn4). While the GPS doesn't have to be as close to FLORA as pictured to work well, it also shouldn't be too far away or the communication signal will degrade as the thread length increases. We recommend keeping them within six inches of each other. At this point you can test the GPS the same way you did in the FLORA GPS guide (http://adafru.it/dwe), and verify your GPS is communicating with FLORA over the conductive thread! Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 11 of 30

Next add the coincell battery holder. Sew the + side to the FLORA GPS' BAT pad, and the - side to GND. This battery helps the GPS acquire a fix more quickly upon starting up, since it helps the GPS remember which satellites it connected to last time it was on. Knot, seal, and snip the thread tails as in previous steps. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 12 of 30

The 3xAAA battery pack will live in one of the pockets, and we've taped it up to provide extra strain relief on the wires and prevent the switch from getting toggled off inside. The wire passes through a small hole we snipped, then under the sewable battery holder and over to FLORA's JST connector. You can even use a safety pin to affix the gaff tape to the inside of the pocket, so it doesn't shake around when the dog runs. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 13 of 30

Lastly, add a piece of vinyl if your circuit is exposed. This will prevent the circuit from catching on branches, and provide a dampness guard against wet grass and slobbery dog friends. We built the circuit right up top so you could see it better, but it would work just as well sewn entirely into one of the side pockets. The conductive stitching doesn't go all the way through the padded harness; it just pierces the top layer, so no threads are touching the dog's fur. This circuit is not waterproof and should be removed from your dog before swimming or if it rains. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 14 of 30

Use It! Once you've tested your GPS circuit using the FLORA GPS guide, it's time to load the logging program. Plug in your FLORA over USB. In the Adafruit Arduino IDE or on Codebender (http://adafru.it/dwf), choose the Adafruit_GPS library sample program leo_lo cus_status. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 15 of 30

Find the line of code #define GPSECHO false and change to true. This isn't necessary for logging but helps you verify over serial that it's running properly. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 16 of 30

Choose Adafruit Flora from the Boards menu. Choose your board's serial port, it will look like tty.usbmodemxxx on Mac, and one of the Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 17 of 30

COM ports on a PC. Click uplo ad to load the program onto FLORA. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 18 of 30

Once uploaded, click the serial monitor button in the upper right, and check to make sure the "Starting logging..." message appears. You're good to go! Go outside and take your dog for a walk. =] Come back inside and complete the following steps to get the log information onto the computer. Next we'll load the program that will transmit the log stored on the GPS module to the computer over serial. Connect FLORA over USB and load up the leo_lo cus_dumpbasic example (also on Codebender (http://adafru.it/dwg)). Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 19 of 30

Upload this sketch to your FLORA and open serial monitor. The GPS log data will flow into the window. Wait until it finishes. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 20 of 30

Highlight and copy the log data from the line below --------------- and ending with $PMTK001,622,3*36. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 21 of 30

Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 22 of 30

Paste your log into our LOCUS Parser (http://adafru.it/dwh), which will nicely format the GPS sentences into XML that Google Maps can understand. Click Parse Data. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 23 of 30

Copy the KML output into a text file (TextEdit or Notepad) and save it somewhere on your computer. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 24 of 30

Open up Google Maps in your browser and click My places then Or create with classic My Maps. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 25 of 30

Click Impo rt. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 26 of 30

Click Choose File and find your saved log, then click Upload from File. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 27 of 30

Voila! Your log will be displayed as a map overlay. You can select the path to change its color, adjust any errant waypoints, and zoom around your fun dog log. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 28 of 30

Here's where we did the majority of the filming for this project's video, you can see where we hung out the most and how we moved through Prospect Park. Adafruit Industries https://learn.adafruit.com/gps-logging-dog-harness Page 29 of 30

We also made a brooch version of this circuit, and I wore it on a bike trip to Governor's Island. You can see the path the ferry took as well as my bike path around the island. The battery died just as I was getting back on the ferry, and so the path shoots over to my next logged location back in Brooklyn. You are now fully equipped to log the great outdoors, so wire up a circuit and go have some fun outside! Adafruit Industries Last Updated: 2015-01-15 10:15:22 PM EST Page 30 of 30