This instructable teaches how to make our Bear With Me system, a prototype that allows two users to tangibly send and receive hugs (as well as motion) in near real-time.
The bears will be able to send tweets when physically hugged. Their hearts will glow when they receive the other bear's hug. The bears can also send and receive physical touch (pat) signals. The bears can also send and receive tweets when they are in motion. For a more detailed explanation of the interactions and our project, check out our presentation.
You can also contact us at (email@example.com and firstname.lastname@example.org) with any questions and comments.
You will need to make two bear systems, using the instructions provided, so the bears will have another bear to talk to. Below is a list of stuff you will need to get started:
-2 stuffed animals (we chose bears but you can use the animal of your choice)
-Teddy bear stuffing (to make the bear more huggable)
-8 Lilypad LEDs
-Tri-Color LED Breakout Kit or LilyPad Tri-Color LED board
-Force Sensitive Resistor
-Fabric/Cloth (most any type will do)
-Wifi shield for the Arduino
-(Optional) Additional accessories such as hat, bow, backpack, etc.
-(Optional) Conductive fabric
-(Optional) Conductive tape
Step 1: Take apart and unstuff the bear
Take apart the teddy bear. Most of the time, it is easiest to take the bear apart from one of its seams. You can use a scissor and or a blade to help. After you cut into the bear, take out its stuffing and turn it inside out.
Step 2: Sew in lights for feet
Show All 8 Items
Sew in two LilyPad LED lights into each the bear's feet. These will glow to show motion of the other bear. You can use any color LEDs. For our project we used yellow lights for the gold bear and blue lights for the blue bear.
For each feet, make two small loops with conductive wires. These will be sewn onto the positive and negative leads of the LilyPad LED lights so we can more easily attach wires onto them. Sew the lights in parallel with conductive thread onto the bear. Make sure you sew one small loops on the positive lead and another small loop on the negative lead.
Connect a wire to the positive lead and a wire to the negative lead by hooking it through the respective loops and solder in place. Tape up the connections with electrical tape to prevent pieces from shifting or becoming loose.
Make sure to test the lights after you are done.
Step 3: Sew capacitive sensor
Use conductive thread and sew a 1/4 inch section on the bear's head for capacitive sensing. The thread will act as the capacitive sensor so you can start sewing where you see fit. For the gold bear, we placed the stitches behind the bear's ear. Similar to before, connect a wire to the sensor. Before you finish, check that the resistance of your stitches is sufficiently low (less than 2 ohms should be okay) with a multimeter. If it is too high, it will heat up and possibly melt the fabric on the bear. If the resistance is high, reenforce the connection with more thread and more loops.
Step 4: Making the bear's heart
Show All 7 Items
For the gold bear's heart, we used one of Sparkfun's Tri color LED Breakout Kits because they were really bright and gave a nice warm glow. The directions on how to put the Breakout Kit together can be found on this site. You don't have to use the Breakout kit. Any tri color LED will work. For example, we used the LilyPad's Tri-color LED on our blue bear. We sewed the light in the bear to prevent it from shifting.
Step 5: Making the bear squeeze sensor
We made a simple squeeze sensor with a force sensitive resistor, some fabric, and stuffing. We first soldered the wires onto the leads of the sensors. We wrapped the connection with electrical tape to make it more secure. We placed the force resistance sensor inside a fabric casing and stuffed it with cotton. Although this may seem crude, it actually worked well for our pursues. After sewing up the fabric casing we placed the squeeze sensor inside the bear.
Step 6: Adding the accelerometer
We simply connected a Triple Axis Accelerometer to wire leads. The accelerometer is used to detect the bear's motion. We secured the connection with electrical tape and placed it inside the bear's head. Placing it inside the bear's head will reduce the likelihood of it getting squeezed and damaged.
Step 7: Sewing up the back
Now that all the sensors and lights have been placed in the bear, it is time to sew up the bear. Simply use a needle and non-conductive thread to sew up the bear's back.
Step 8: Connecting it all together
Because of the number of wire leads, you will need to first connect the wires to another board, you can use a perf board or a mini bread board before connecting to the Arduino. We used a mini breadboard. We wired the grounds together and +5Vcc leads together. We also connected the capacitive sensor in parallel with a 1M ohm resistor and the +5V voltage source. We followed this very helpful tutorial on creating our capacitive sensor.
Step 9: (Optional) Adding status lights
Next, we add two status lights to the board; these can be simple LEDs of any colors. We choose a red LED for the tweet confirmation light and a green LED for the pat confirmation light. We connected these to the Arduino via a ~1k ohm pull-up resistor. This step is optional because you don't really need the status lights. However, the status lights are good to have because they give the users better feedback.
Step 10: (Optional) Accessorizing
Show All 7 Items
Now you can accessorize the bears (if you choose) with bows, hats, and backpacks. We used conductive fabric to make a conductive bow to detect a pat for the girl bear. We used conductive tape to make a hat responsive to a pat for the boy bear. We also used a backpack to help with the packaging and presentation of the bear.
Step 11: Repeat steps with second bear
After you finish one of the bears, repeat this process with the second bear.
Step 12: The Code
We posted our code on GitHub. This code allows for the multiple interactions and communications previously discussed. Make sure you download and install the twitter library for the Arduino. Feel free to modify the code to create new interactions or improve on ours. We would love to hear your comments and feedback! We hope you enjoy!
This instructable was made as part of the final project requirement in the CS graduate course "Tangible Interactive Computing" at the University of Maryland, College Park taught by Professor Jon Froehlich. The course focused on exploring the materiality of interactive computing and, in the words of Hiroshii Ishii, sought to "seamlessly couple the dual worlds of bits and atoms." Please see http://cmsc838f-f12.wikispaces.com/ for more details.