{"id":420,"date":"2014-04-11T00:53:39","date_gmt":"2014-04-11T00:53:39","guid":{"rendered":"http:\/\/richardalbritton.wordpress.com\/?p=420"},"modified":"2015-02-06T05:06:04","modified_gmt":"2015-02-06T05:06:04","slug":"the-sparkling-chameleon-fur-wrap","status":"publish","type":"post","link":"https:\/\/www.richa1.com\/RichardAlbritton\/the-sparkling-chameleon-fur-wrap\/","title":{"rendered":"The Sparkling Chameleon Fur Wrap"},"content":{"rendered":"<p>This is a variant of the <a href=\"https:\/\/learn.adafruit.com\/chameleon-scarf\" target=\"_blank\">Adafruit Chameleon Scarf<\/a> that I recently made. I made the color fade and randomly twinkle rather than stay on all the time. I also added a button to restart the color sample sequence as well. To include some motion feedback, I used a Fast Vibration Sensor Switch to increase the number of pixels that go bright when it is triggered.<\/p>\n<p><!--more--><\/p>\n<p><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"660\" height=\"372\" src=\"https:\/\/www.youtube.com\/embed\/-X00jNBiss8?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation\"><\/iframe><\/span><\/p>\n<p><a href=\"http:\/\/www.richa1.com\/RichardAlbritton\/wp-content\/uploads\/2014\/04\/twinkle_color_change-layout.png\"><img loading=\"lazy\" class=\"aligncenter wp-image-418 size-medium\" src=\"http:\/\/www.richa1.com\/RichardAlbritton\/wp-content\/uploads\/2014\/04\/twinkle_color_change-layout.png?w=300\" alt=\"twinkle_color_change-layout\" width=\"300\" height=\"253\" srcset=\"https:\/\/www.richa1.com\/RichardAlbritton\/wp-content\/uploads\/2014\/04\/twinkle_color_change-layout.png 2466w, https:\/\/www.richa1.com\/RichardAlbritton\/wp-content\/uploads\/2014\/04\/twinkle_color_change-layout-300x254.png 300w, https:\/\/www.richa1.com\/RichardAlbritton\/wp-content\/uploads\/2014\/04\/twinkle_color_change-layout-1024x866.png 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>This is using 20 NeoPixles and the wires between them are rather long so that they can be spread out over a larger aria. The color sensor and button are also at the end of a long wire so that they could be placed inside of a fabric sheathe for easy color sampling. This is the same with the last NeoPixle in the chain so you can see the other puffball blink before the color is sampled.<\/p>\n<p>Code:<br \/>\nhttps:\/\/github.com\/RichardA1\/Wearables\/blob\/master\/twinkle_color_change\/twinkle_color_change.ino<\/p>\n<p>Parts list:<\/p>\n<table style=\"height: 177px;\" width=\"458\">\n<thead>\n<tr>\n<th>Amount<\/th>\n<th>Part Type<\/th>\n<th>Part Number<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">1<\/td>\n<td>LiPoly Battery (1200mAh)<\/td>\n<td align=\"center\">\u00a0<a href=\"https:\/\/www.adafruit.com\/products\/258\" target=\"Adafruit\">258<\/a><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">1<\/td>\n<td>FLORA Color Sensor<\/td>\n<td align=\"center\">\u00a0<a href=\"https:\/\/www.adafruit.com\/product\/1356\" target=\"Adafruit\">1356<\/a><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">1<\/td>\n<td>Adafruit Flora<\/td>\n<td align=\"center\">\u00a0<a href=\"https:\/\/www.adafruit.com\/products\/659\" target=\"Adafruit\">659<\/a><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">20<\/td>\n<td>Flora RGB Smart NeoPixel version 2 &#8211; Sheet of 20<\/td>\n<td align=\"center\">\u00a0<a href=\"https:\/\/www.adafruit.com\/products\/1559\" target=\"Adafruit\">1559<\/a><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">1<\/td>\n<td>Fast Vibration Sensor Switch (Easy to trigger)<\/td>\n<td align=\"center\"><a href=\"https:\/\/www.adafruit.com\/products\/1766\" target=\"Adafruit\">1766<\/a><\/td>\n<\/tr>\n<tr>\n<td align=\"center\">1<\/td>\n<td>Colorful Round Tactile Button Switch Assortment &#8211; 15 pack<\/td>\n<td align=\"center\"><a href=\"https:\/\/www.adafruit.com\/products\/1009\" target=\"Adafruit\">1009<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-print\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-print sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/the-sparkling-chameleon-fur-wrap\/\" target=\"_blank\" title=\"Click to print\"><span>Print<\/span><\/a><\/li><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/the-sparkling-chameleon-fur-wrap\/?share=email\" target=\"_blank\" title=\"Click to email this to a friend\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-420\" class=\"share-facebook sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/the-sparkling-chameleon-fur-wrap\/?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\"><span>Facebook<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-420\" class=\"share-twitter sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/the-sparkling-chameleon-fur-wrap\/?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\"><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>This is a variant of the Adafruit Chameleon Scarf that I recently made. I made the color fade and randomly twinkle rather than stay on all the time. I also added a button to restart the color sample sequence as well. To include some motion feedback, I used a Fast Vibration Sensor Switch to increase &hellip; <a href=\"https:\/\/www.richa1.com\/RichardAlbritton\/the-sparkling-chameleon-fur-wrap\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">The Sparkling Chameleon Fur Wrap<\/span><\/a><\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-print\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-print sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/the-sparkling-chameleon-fur-wrap\/\" target=\"_blank\" title=\"Click to print\"><span>Print<\/span><\/a><\/li><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/the-sparkling-chameleon-fur-wrap\/?share=email\" target=\"_blank\" title=\"Click to email this to a friend\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-420\" class=\"share-facebook sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/the-sparkling-chameleon-fur-wrap\/?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\"><span>Facebook<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-420\" class=\"share-twitter sd-button share-icon\" href=\"https:\/\/www.richa1.com\/RichardAlbritton\/the-sparkling-chameleon-fur-wrap\/?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\"><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":418,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"video","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[56,61],"tags":[26,35,37,54,41],"jetpack_featured_media_url":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-content\/uploads\/2014\/04\/twinkle_color_change-layout.png","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5AhH6-6M","_links":{"self":[{"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/posts\/420"}],"collection":[{"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/comments?post=420"}],"version-history":[{"count":3,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/posts\/420\/revisions"}],"predecessor-version":[{"id":871,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/posts\/420\/revisions\/871"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/media\/418"}],"wp:attachment":[{"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/media?parent=420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/categories?post=420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.richa1.com\/RichardAlbritton\/wp-json\/wp\/v2\/tags?post=420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}