Slither: Visual Pedometer

by skhackett in Circuits > Arduino

10017 Views, 50 Favorites, 0 Comments

Slither: Visual Pedometer

Screen Shot 2021-12-15 at 3.19.44 AM.png
Screen Shot 2021-12-15 at 3.20.01 AM.png
F07VM6SKXBU155D.gif

SLITHER is a desk accessory that acts as a visual pedometer, tracking your daily steps. Instead of relying on an apple watch or another wearable device SLITHER uses the Fitbit app on your smartphone to track your steps. As your steps increase SLITHER will light up from front to back until your weekly 50,000 step goal is achieved and the reset. SLITHER has a magnetic on/off switch. A magnet are hidden in SLITHER's cylindrical tail shape. When SLITHER is not in use, the cylinder can be placed elsewhere on your desk and slither will remain off.


Supplies

Materials

  1. Passion fruit Acrylic
  2. Hall effect sensor + Magnet 
  3. Adafruit HUZZAH ESP8266 wifi Breakout
  4. Wires
  5. Soldering Kit + solder
  6. 2 x Adafruit NeoPixel LED Side Light Strip - Black 90 LED 
  7. Hot Glue gun (with glue) + Gorilla glue
  8. IFTTT + Adafruit IO accounts
  9. Plywood (or MDF boards)
  10. Birch edge tape
  11. ¾ in PVC tube
  12. 5V 2A switching power
  13. Chisel and hammer
  14. 1/8 or 1/4 inch wooden dowels

Machines

  1. CNC (for wood)
  2. Laser Cutter (for acrylic)
  3. Sander
  4. Bandsaw (Chisel and hammer can be used instead)

Electronics & Coding

Screen Shot 2021-12-15 at 3.15.31 AM.png
Screen Shot 2021-12-15 at 2.29.25 AM.png
Screen Shot 2021-12-15 at 2.30.05 AM.png
Screen Shot 2021-12-15 at 2.29.32 AM.png
  • Connect your 2 strips of LED’s by soldering wires between the two
  • Solder together your Feather Huzzah USB, GND, and Pin 15 to the LED inputs
  • Next, solder USB, GND, and Pin 2 to hour Hall effect sensor 
  • Set up your accounts on IFTTT and Adafruit IO. You will also need an active account on FitBit and have your iphone/android set to
  1. Create a feed on Adafruit IO called ‘Slither”
  2. Next on IFTTT create a new Applet with the If/Then set up: “IF Daily activity summary THEN Send data to Adafruit (Feedname: Slither, Data to save: TotalSteps)
  3. Upload 'Slither Instructable' code (download below) to your Feather Huzzah board
  4. You will need to add in your own Adafruit IO username and key and Wifi info into the code

Set Up Files for CNC & Laser Cutting

Screen Shot 2021-12-18 at 3.58.51 PM.png
Screen Shot 2021-12-18 at 3.59.44 PM.png
  • Create a illustrator file with the cut lines you will use for the CNC and laser cutter 
  • For CNC: Be sure to include a ¼ inch interior channel on your CNC files where you will place the LEDs. Make a hole large enough in the head to fit the feather Huzzah board. Add dowel holes into either end of the body shape for alignment. Add tabs for the CNC machine exterior edges of the slither body to prevent it from slipping during cuts.

*A note about the included files: I would suggest making slither's body larger to accommodate a larger gap for the Feather Huzzah board. I had to expand the hole in order to make the board fit. If you don't care about everything being contained inside Slithers main body you can build a small case for your board that can attach to Slithers back frame.

I would also suggest using MDF boards instead of wood. I experienced a lot of wood chipping using plywood.


You should have:

  1. 4 wooden frames with channels
  2. 1 acrylic body shape with no interior channel + circles for PVC
  3. 1 wooden frame have no interior cuts and will act as the back of the object

Cut Your Shapes

Screen Shot 2021-12-15 at 2.27.27 AM.png
Screen Shot 2021-12-15 at 2.27.48 AM.png
Screen Shot 2021-12-15 at 3.03.56 AM.png
Screen Shot 2021-12-15 at 2.55.00 AM.png
Screen Shot 2021-12-15 at 2.28.44 AM.png
  • Use CNC machine to cut 5 body shapes into your wooden boards and holes
  1. After the shapes are cut you will need to use a chisel and/or a bandsaw to cut out the shapes 
  • Use illustrator file to cut 1 body shape into your acrylic 
  • Cut your PVC pipe to the same depth of your stacked wood frames 

Start Assembly

g1.gif
g2.gif
g3.gif
Screen Shot 2021-12-15 at 2.28.10 AM.png
Screen Shot 2021-12-15 at 2.30.35 AM.png
Screen Shot 2021-12-15 at 2.51.00 AM.png
Screen Shot 2021-12-15 at 2.31.16 AM.png
Screen Shot 2021-12-15 at 2.31.24 AM.png
  • After the shapes are cut you will need to use a chisel and/or a bandsaw to cut out the shapes 
  • Sand your wooden and acrylic shapes
  • For the body:
  1. Insert wooden dowels into the wood frame holes
  2. Next, spread a layer of wood glue on the 4 body frames with the interior channels. Do this one at a time. Align and and stack the frames using the wooden dowels.
  3. Clamp this stack of wooden frames and let it dry for an hour
  4. When they are done drying, put on rubber gloves and add Gorilla Glue to the interior edges of the wood body and PVC cylinder. Add the acrylic pieces to their associated frames. 
  • For the magnet holder:
  1. Cut several pieces of bridge edge tape to the length of your PVC pipe. Wet the edge tape and start to mold it to the pipe, this will prevent it from splintering. Once dry glue it on with gorilla glue
  2. Place the magnet into the pvc pipe
  3. Glue the circular pieces of acrylic onto either end

Insert the Electronics

Screen Shot 2021-12-18 at 4.48.05 PM.png
ezgif-5-594ecb7aa7.gif
  • Place LEDs in the interior cuts of the main body. Cut off extra LEDs if needed.
  • Plug in 5V power into feather Huzzah and place Feather Huzzah into the space in the head. Run the wires up Hall effect sensor behind the LED’s towards the back end of the main body
  1. You may want to tape or glue the hall effect sensor in place to make sure it doesn’t move. You also need to get the sensor as close as possible to where the magnet sits. You may need to drill a hole in Slither's tail for the sensor to sit closer to the magnet.
  • Drill a hole in the back frame for the plug to go through. Screw the back frame in place on the main body
  • Plug 5V adaptor into outlet
  • Place your magnet under the hall effect sensor
  • You will need to enter step data into your Adafruit IO Slither feed in order for the LEDs to light up. Once all the LEDs have lit up it will reset and your steps will start to begin to count as normal when the Fitbit data is sent to the IO feed.

Enjoy

slither trimmed loop.gif
TRIMTRIM.gif
trimtrim22.gif

You now have an awesome new desk accessory that will remind you to stay active and take breaks from your desk life. Don’t forget the magnet turns on your SLITHER!

If you made your own SLITHER what would you change?