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

Similar documents
Datalogging Hat with FLORA BLE

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

Phone-Activated Talking Dog Collar

NeoPixel Ring Bangle Bracelet

Sino:bit with Arduino

Light-Up Angler Fish Embroidery

3D Printed Camera LED Ring

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

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

Using Zapier with Adafruit IO

Infinity Mirror Valentine's Candy Box

Desktop MQTT Client for Adafruit.io

Clockwork Goggles. Created by John Park. Last updated on :03:10 PM UTC

Bluetooth Controlled NeoPixel Headphones

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

GPS Logging Dog Harness

Portable Apple Watch Charger

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

7 Portable Multitouch Raspberry Pi Tablet

Bunny Ears with MakeCode

Adafruit IO Basics: Digital Output

Adafruit IO Basics: Digital Input

Android GBoard Morse Code Control with Circuit Playground Express

Make a Google Glass remote with Bluefruit

Mystical LED Halloween Hood

NeoMatrix 8x8 Word Clock

Adafruit IO Basics: Analog Input

Reindeer Mask with Animated Eyes

Celebration Spectacles

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

Adabot Operation Game

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

Using IFTTT with Adafruit IO to Make an IoT Door Detector

Adafruit ATWINC1500 WiFi Breakout

Adafruit IO Basics: Color

Con Badge with Circuit Playground Express

Wind Blowing Emoji Prop

LED Eyes. Created by Ruiz Brothers. Last updated on :50:55 AM UTC

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

Trinket NeoPixel LED Longboard

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

Adafruit IO Basics: Temperature & Humidity

Ping Pong Ball Launcher

Guardian Shield+ Zelda Breath of the Wild

Bike Wheel POV Display

3D Printed LED Knuckle Jewelry

3D Printed Bone Conduction Transducer Box

Simple LED Unicorn Horn

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

Adafruit Capacitive Touch Sensor Breakouts

Adafruit PowerBoost 500 Shield

NeoPixie Dust Bag with Circuit Playground Express

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

Crawling Animatronic Hand

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

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

DIY Bluetooth Gamepad

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

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

NeoPixel Fairy Crown. Created by Erin St Blaine. Last updated on :22:47 AM UTC

Crawling Baby Sea Turtle Robot

DIY Wireless DDR Dance Pad with Bluefruit EZ-Key

Easy Sparkle Pocket T-Shirt

Toy Car Speed Timer. Created by Kirby Griese. Last updated on :13:49 PM UTC

Trellis 3D Printed Enclosure

Interactive Gift Box. Created by codingpro. Last updated on :47:40 AM UTC

Circuit Playground Express Laser Tag

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

BLE Light Switch with Feather nrf52840 and Crickit

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

Hammer Time Mini Golf Hazard with Crickit

Sword & Wand Prop Effects with Circuit Playground

Adafruit HUZZAH32 - ESP32 Feather

ISS Pin. Created by Leslie Birch. Last updated on :27:30 PM UTC

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

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

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

3D Printed LED Buckle

7" Portable HDMI Monitor

FeatherWing Proto, Doubler and Tripler

3D Printed Case for Adafruit Feather

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

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

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

PyPortal View Master Created by Ruiz Brothers. Last updated on :51:28 AM UTC

FeatherWing Proto and Doubler

Paper Airplane Launcher

Adafruit APDS9960 breakout

Adafruit IO Basics: Feeds

MCP Bit DAC Tutorial

Coffee Detonator: The TNT Plunger Grinder

Adafruit IO Basics: Servo

Adafruit ATWINC1500 WiFi Breakout

Trinket-Powered Conference Room Occupancy Display

NeoPixel LED Cortana Costume

Rx Snapchat Spectacles for DIY and STEM

Chirping Plush Owl Toy

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

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

LED Breath Stats Mask

Transcription:

'Sup Brows Created by Kate Hartman Last updated on 2018-08-22 03:52:04 PM UTC

Guide Contents Guide Contents Overview Circuit Bluetooth Test Upload the Code Place the Sensor View Sensor Values Via Bluetooth IFTTT Test Adjust the Code Create a Feed on Adafruit IO Adjust MQTT Settings Create a Recipe on IFTTT Making It Wearable 'Sup 'Sup and Away 2 3 5 9 9 9 9 13 13 13 13 16 18 21 Adafruit Industries https://learn.adafruit.com/heybrows Page 2 of 22

Overview We spend a lot of time trying to send messages to each through talking, texting, emailing, and more. What if you could send a message to your friend by simply raising your eyebrows? In this wearable electronics project we'll learn to make muscles send text messages! This learning guide will show you how to use a MyoWare muscle sensor and a Bluefruit Feather microcontroller to transmit a signal through the phone to Adafruit IO and If This Then That to trigger an SMS. Let's get started! For this project you will need: MyoWare Muscle Sensor (http://adafru.it/2699) EMG Electrodes (http://adafru.it/2773) Adafruit Feather 43u4 Bluefruit LE (http://adafru.it/2829) Lithium Ion Polymer Battery 3.7v (we used 500 mah) (http://adafru.it/1578) Silicone Cover wire (http://adafru.it/1970) USB micro cable (http://adafru.it/2185) Before you begin, please review and understand the following prerequisite guides: Getting Started with the MyoWare Muscle Sensor (https://adafru.it/ldl) Adafruit Feather 32u4 Bluefruit LE (https://adafru.it/kcc) Adafruit IO (https://adafru.it/cgk) MQTT, Adafruit.IO & you! (https://adafru.it/cgk) Adafruit guide to excellent soldering (https://adafru.it/dri) Adafruit Industries https://learn.adafruit.com/heybrows Page 3 of 22

Adafruit Industries https://learn.adafruit.com/heybrows Page 4 of 22

Circuit The first thing we need to do is assemble our circuit. Because we want this circuit to be wearable, we will just connect the sensor directly to the feather board. We'll be working with silicone cover stranded wire because it is very flexible and also strong. Follow the steps below to complete your circuit. Cut 3 lengths of the silicone cover wire and strip both ends of each piece. Tin the tips with solder to prevent the ends from splaying. Solder one end of the wires to the "+", "-", and "SIG" connections on the MyoWare Muscle Sensor. If you are using all of the same-colored wire like in the photo, label the other end of the wires so that you know which connection is which. Adafruit Industries https://learn.adafruit.com/heybrows Page 5 of 22

Adafruit Industries https://learn.adafruit.com/heybrows Page 6 of 22

Use some tape to secure the board to the table. Braid the wires. This will prevent them from getting snagged on things when you are wearing the sensor and will create a lovely flexible cord. Use a zip tie to finish off the end of the braid. Snip off the tail once it is in place. Adafruit Industries https://learn.adafruit.com/heybrows Page 7 of 22

Position the end of the braid over the top of the Feather board and bring the wires around the edges and up from underneath. This will ensure that you don't have any scratching solder connections on the back that will rub against your clothing or skin. Solder the connections in place. The connections that are being made are as follows: MyoWare "+" to Feather BAT MyoWare "-" to Feather GND MyoWare "SIG" to Feather A0 Trim the wire ends once your soldering is done. Your circuit is now complete! Adafruit Industries https://learn.adafruit.com/heybrows Page 8 of 22

Bluetooth Test Upload the Code Download the code and open it in Arduino. Connect the Feather to your computer and upload the code. Place the Sensor https://adafru.it/ldp https://adafru.it/ldp Disconnect the Feather from the computer. Connect the battery. Clean your forehead with some rubbing alcohol to make sure it is free from dirt, oil, makeup, and lotion. Attach 3 electrodes to the connectors on the sensor. Remove the paper backing from the two on the circuit board. Position the sensor on the forehead according to the image below. The wires should point up towards the hairline and the sensor should sit at a diagonal, with the lower end above the inside edge of the eyebrow and the higher end shifted away from the center. Remove the paper backing from the third electrode and position it on your temple. View Sensor Values Via Bluetooth Open the Adafruit Bluefruit LE Connect App on your phone or tablet. Hit "Scan For Peripherals" and wait for the Adafruit Bluetooth LE to appear in the list. When it does, hit the "Connect" button next to it. Adafruit Industries https://learn.adafruit.com/heybrows Page 9 of 22

On the next screen select "UART". Adafruit Industries https://learn.adafruit.com/heybrows Page 10 of 22

Now you will see your sensor values on screen! Raise and lower your eyebrows to see the sensor values change. If sensor values don't change try repositioning the sensor so that it sits more precisely on top of the muscle. Adafruit Industries https://learn.adafruit.com/heybrows Page 11 of 22

Adafruit Industries https://learn.adafruit.com/heybrows Page 12 of 22

IFTTT Test Adjust the Code To get ready for connecting to If This Then That we are going to make a slight adjustment to our code. Disconnect the sensor from your face and use a USB cable to connect the Feather to your computer. Go back to the loop in your code. Comment out the following line so it looks like this: // ble.println(sensorvalue); Then uncomment the block of code that follows so it looks like this: if (sensorvalue > threshold && oldsensorvalue < threshold) { ble.println(sensorvalue); } oldsensorvalue = sensorvalue; Once you've made these changes go ahead and upload the code to the Feather. Unplug the Feather from your computer, connect the battery, and reattach the sensor to your face. Create a Feed on Adafruit IO Log in to Adafruit IO and create a feed for your brow activities. Adjust MQTT Settings Open up the Adafruit Bluetooth LE Connect app on your mobile device. Reconnect with the Feather board and open the UART window. This time the sensor values will only appear when the sensor values pass a certain threshold - aka when you raise your eyebrows! Select the MQTT icon in the upper right. Configure your first two boxes as follows: Server Address: io.adafruit.com Adafruit Industries https://learn.adafruit.com/heybrows Page 13 of 22

Port: 1833 Publish UART RX: username/feeds/feedname Adafruit Industries https://learn.adafruit.com/heybrows Page 14 of 22

Under "Advanced," enter your username and AIO key, which can be found by clicking the key button in the upper right of any of your Dashboards. Copy your AIO key into an email, file on dropbox, or other easy way to paste it into your device-- copying it from the screen is no fun (unless you love memorizing)! Adafruit Industries https://learn.adafruit.com/heybrows Page 15 of 22

After you've configured your settings, go ahead and click CONNECT at the top of the page. You can then check your feed on Adafruit IO to make sure the data is uploading properly. Create a Recipe on IFTTT Open your IFTTT account and create a recipe using the Adafruit channel. Use the "Any New Data" trigger and select the appropriate feed. From there you can select your action. We used Android SMS to send a text message. Now whenever you raise your eyebrows it will send a 'Sup message to your friend! Adafruit Industries https://learn.adafruit.com/heybrows Page 16 of 22

Adafruit Industries https://learn.adafruit.com/heybrows Page 17 of 22

Making It Wearable There are lots of ways to make this wearable. The sensor it self already sticks directly to your face. The remaining question is where to put the rest of the circuit. You could attach it to a hair clip or to your shirt. For ours we used a nifty 3D printed battery holder (https://adafru.it/ksa) and a magnetic pin back. The battery holder is attached to the Feather with some thread and the pin back is stuck to the back of the board. We then connect the battery and tuck the wire into the pin back to keep it from snagging on anything. Adafruit Industries https://learn.adafruit.com/heybrows Page 18 of 22

Once it's assembled it can be clipped to any piece of clothing! If you want to get fancy you can create a pocket or a pouch to disguise the electronics and keep your circuit enclosed. The last bit to be dealt with is what to do with the sensor on your face. If you're into a cyborg look you may just want to leave the sensor exposed, maybe even accenting it with some fancy makeup. Adafruit Industries https://learn.adafruit.com/heybrows Page 19 of 22

For ours we used some paint and sparkles to create some Bowie bolts to bling up our brows. Trust us - it makes the message sending process feel extra zingy! Adafruit Industries https://learn.adafruit.com/heybrows Page 20 of 22

'Sup 'Sup and Away 'Sup Brows are just the beginning. Because it s connected to If This Then That, the possibilities of what you can accomplish by just raising your eyebrows are endless! Similarly you can also connect to a variety of other muscles in order to have activities triggered by other facial expressions, gestures, and actions. What kinds of networked muscle sensing projects could you imagine? Adafruit Industries https://learn.adafruit.com/heybrows Page 21 of 22

Adafruit Industries Last Updated: 2018-08-22 03:51:59 PM UTC Page 22 of 22