Hands-on Activity LilyTiny Plush Monsters Are Alive!

Quick Look

Grade Level: 4 (4-5)

Time Required: 4 hours 15 minutes

(can be split into different days)

Expendable Cost/Group: US $23.00

This activity also uses some non-expendable (reusable) supplies such as a hot glue gun and needles; see the Materials List for details.

Group Size: 1

Activity Dependency: None

Subject Areas: Physics, Science and Technology

Summary

Students learn how to set up pre-programmed microcontroller units like the Arduino LilyPad and use them to enhance a product’s functionality and personality. They do this by making plush toys in monster shapes (template provided) with microcontrollers and LEDs sewn into the felt fabric with conductive thread to make circuits. At activity end, each student will have created his or her own plush toy, complete with LEDs that illuminate in a specified sequence: random twinkle, blink, heartbeat and/or breathing.
This engineering curriculum aligns to Next Generation Science Standards (NGSS).

A photograph shows three plump “plush” toys made of felt, each embedded with a LilyPad microcontroller and two LEDs as glowing eyes. The monster blob shapes loosely indicate arms and legs, with faux fur and felt feather shapes sewn into the top seams as hair.
Light-up plush toys made using a LilyPad microcontroller.
copyright
Copyright © 2014 SparkFun Education CC BY SA-4.0 https://learn.sparkfun.com/tutorials/lilytiny-plush-monster?_ga=1.66649262.1473012636.1478227346

Engineering Connection

Engineers often use control units like microcontrollers to govern individual system components. These units contain embedded applications, which are relatively simple programs pre-loaded onto the control unit. In this way, they are different from microprocessor units, which are made to accept frequent user inputs.

Microcontrollers are used in many products, including automobiles, medical devices and home appliances. They typically enable limited control over a system, but consume less power and space than other control devices.

The LilyPad microcontroller used in this activity is specifically designed to be sewn into fabrics like clothing and toys by using conductive thread rather than conventional metallic wires. In this activity, LilyPad’s pre-programmed sequences are exploited to generate lighting patterns for LEDs incorporated into the plush toys students make.

Learning Objectives

After this activity, students should be able to:

  • Assemble a system based on the LilyPad microcontroller.
  • Describe what microcontrollers do.
  • Explain why control units are important in engineering applications.
  • Identify microcontroller applications.

Educational Standards

Each TeachEngineering lesson or activity is correlated to one or more K-12 science, technology, engineering or math (STEM) educational standards.

All 100,000+ K-12 STEM standards covered in TeachEngineering are collected, maintained and packaged by the Achievement Standards Network (ASN), a project of D2L (www.achievementstandards.org).

In the ASN, standards are hierarchically structured: first by source; e.g., by state; within source by type; e.g., science or mathematics; within type by subtype, then by grade, etc.

  • CCC.4.3-5.2. A system can be described in terms of its components and their interactions. (Grades 3 - 5) More Details

    View aligned curriculum

    Do you agree with this alignment?

  • DCI.PS3.B.3-5.3. Energy can also be transferred from place to place by electric currents, which can then be used locally to produce motion, sound, heat, or light. The currents may have been produced to begin with by transforming the energy of motion into electrical energy. (Grade 4) More Details

    View aligned curriculum

    Do you agree with this alignment?

  • Show that electricity in circuits requires a complete loop through which current can pass (Grade 4) More Details

    View aligned curriculum

    Do you agree with this alignment?

Suggest an alignment not listed above

Materials List

Each student needs:

To share with the entire class:

  • conductive thread, 2 feet per toy/student; such as from the 30-ft stainless steel thread bobbin for $3 from SparkFun at https://www.sparkfun.com/products/10867
  • stuffing for monster toy, such as fiber fill, cotton batting, cotton balls, fabric scraps, etc.
  • hot glue gun(s) and hot glue sticks, for placement of components
  • scissors
  • sewing thread (non-conductive), such as nylon, cotton or embroidery
  • (optional) assorted craft supplies for decoration, such as faux fur, feathers, sequins, fabric paint, glitter glue, paint pens, beads and buttons

Note: SparkFun provides a shopping cart list of the necessary SparkFun materials.

Introduction/Motivation

How do we control systems? Often, we can control systems directly with a computer or microprocessor that is guided by user inputs and data. This enables us to direct a system with a wide range of instructions. However, for more simple systems that require less user input, engineers often elect to employ control devices known as “microcontrollers.”

Think of a microcontroller as a simpler version of a microprocessor, one that relies on embedded applications rather than being controlled by a user. Microcontrollers are great assets to engineers in the design process. For what purposes and products do you think engineers have used microcontrollers? (Discuss ideas as a class.) You’ll find them designed into everything from automobiles to home appliances. They can greatly simplify the design of a system, enabling end users to easily control an otherwise complex system. They also can provide great savings when it comes to space and energy consumption.

Electronic components are increasingly used in textiles, fashion and toys. Can you think of any that you have seen? (Listen to student responses.) Some examples are light-up shoes, shirts that play music, and stuffed animals that talk and sing. What powers and controls these engaging objects? From simple electrical components like batteries and relays, the technology has evolved to include microcontrollers, LEDs and flexible electronics that can even go through the washing machine!

Today, you get to experiment with a simple microcontroller called the LilyTiny. It’s a smaller variant of the LilyPad board that has less functionality. This microcontroller is specially designed for use with fabrics and textiles. It is intended to be sewn into materials using special conductive thread that creates circuits, rather than stiff, conventional metallic wire. Let’s get started!

A photograph shows three plump “plush” toys made of felt, each embedded with a LilyPad microcontroller and two LEDs as glowing eyes. The monster blob shapes loosely indicate arms and legs, with faux fur and felt feather shapes sewn into the top seams as hair.
Light-up plush toys made using a LilyPad microcontroller.
copyright
Copyright © 2014 SparkFun Education CC BY SA-4.0 https://learn.sparkfun.com/tutorials/lilytiny-plush-monster?_ga=1.66649262.1473012636.1478227346

Procedure

Background

If unfamiliar with e-textiles, take a look at the following SparkFun tutorials:

Before the Activity

  • Gather materials and make copies of the Monster Template.
  • Pre-heat the hot glue guns.

With the Students

  1. Present to the class the Introduction/Motivation content to introduce the project. Incorporate the pre-activity assessment—a discussion of microcontrollers—into the session.
  2. Hand out to students the felt, scissors and template sheets.
  3. Direct the students to begin the project by cutting out the template shape from the felt sheet. This can be done by overlaying the template on the felt and cutting along the lines. The template is all one piece that folds for easy assembly. Alert students to make sure they do not cut the template into two separate pieces! Cutting it in half complicates the assembly.
  4. Hand out to each student a LilyTiny microcontroller and battery holder. Have students arrange the LilyTiny and battery holder on the felt cutout as shown in Figure 1. Tell students to be sure that the negative and positive pins on both components are facing each other when placed on the felt.

A diagram shows the LilyTiny board and battery holder placed in the center of one side of the monster template felt cutout.
Figure 1. Placement of the LilyTiny and battery holder.
copyright
Copyright © 2014 SparkFun Education CC BY SA-4.0 https://learn.sparkfun.com/tutorials/lilytiny-plush-monster?_ga=1.66649262.1473012636.1478227346

  1. Then use a very small amount of hot glue to tack the components in place on the felt. This is not the primary fastening method, so advise students not to use too much hot glue.
  2. Then have students use needle and conductive thread to connect the power supply to the LilyTiny board (create a circuit). Begin by threading a needle with about 12 inches of conductive thread and knotting it at the end. Then make two or three loops around the positive pin of the battery holder nearest the LilyTiny, sewing it to the felt as shown in Figure 2.

A close-up photograph shows fingers poking a threaded needle into a grommet hole (positive pin) of a battery holder, making a few loops of conductive thread to sew it to the felt backing.
Figure 2. Use multiple loops of conductive thread to attach the battery holder to the felt.
copyright
Copyright © 2014 SparkFun Education CC BY SA-4.0 https://learn.sparkfun.com/tutorials/lilytiny-plush-monster?_ga=1.66649262.1473012636.1478227346

  1. Then continue to stitch across the felt towards the positive pin on the LilyTiny. When reached, make two or three thread loops to connect it to the felt in the same manner as was done for the battery holder. Then knot off the thread at the pin and cut off any excess thread. Refer to Figure 3.
  2. Repeat this step for the negative pins, so that their circuits looks like the black dashed line shown in Figure 3.

A diagram shows the LilyTiny board and battery holder in the center of one side of the monster template felt cutout (same as Figure 1) plus dashed lines showing the sewn circuit made with conductive thread stitches. Dashed red lines indicate the stitches that connect the positive pins; dashed black lines indicate the stitches that connect the positive pins.
Figure 3. The completed sewn circuit. Red marks the positive sewing line and black marks a negative sewing line.
copyright
Copyright © 2014 SparkFun Education CC BY SA-4.0 https://learn.sparkfun.com/tutorials/lilytiny-plush-monster?_ga=1.66649262.1473012636.1478227346

  1. Next, students test and then choose the light pattern(s) they want for their monsters. Each numbered pin of the LilyTiny is pre-programmed with a different light effect; the options are: random twinkle, blink, heartbeat and breathing (see Figure 4).

A diagram shows the six pins of a LilyTiny microprocessor, marked as 0 (breathing), 1 (heartbeat), 2 (blink) and 3 (random twinkle).
Figure 4. The lighting sequence options at each LilyTiny pin.
copyright
Copyright © 2014 SparkFun Education CC BY SA-4.0 https://learn.sparkfun.com/tutorials/lilytiny-plush-monster?_ga=1.66649262.1473012636.1478227346

  1. To test, use two alligator clips to temporarily connect an LED to the LilyTiny, trying each numbered hole to observe the available lighting patterns. A battery must be inserted into the battery holder for the test to work. Refer to Figure 5 for how to use an LED and two alligator clips to make a testing circuit. See Figure 6 for the correct way to attach alligator clips to the LED pins. Follow these steps:
    • Use an alligator clip (the black one in Figure 5) to attach the negative side of the LED to one of the negative pins on the battery holder. If the sewn one is too hard to grab with the clip, try the battery holder’s other negative pin.
    • Use another alligator clip (the red one in Figure 5) to connect the positive end of the LED to one of the numbered pins on the TinyLily.
    • Once everything is hooked up, insert a battery into the battery holder and turn the slide switch to ON. Expect to see a light pattern begin on the LED.
    • To explore the other patterns, carefully detach the end of the clip attached to a LilyTiny numbered hole and move it to another one, until you have seen all the patterns.

A diagram like Figure 3 with the addition of two alligator clips and an LED to show a test circuit. A black alligator clip runs from the negative pin on the battery holder to the negative pin of the LED. A red alligator clip attaches the positive pin of the LED to one of the numbered LilytTiny sequence pins.
Figure 5. The test circuit used to explore the available lighting sequences.
copyright
Copyright © 2014 SparkFun Education CC BY SA-4.0 https://learn.sparkfun.com/tutorials/lilytiny-plush-monster?_ga=1.66649262.1473012636.1478227346
A photograph shows two hands each holding an alligator clip to opposite sides of one LED. The black alligator clip is attached to the LED’s negative pin. The red alligator clip is attached to the LED’s positive pin.
Figure 6. The correct method to attach alligator clips to the LED pins.
copyright
Copyright © 2014 SparkFun Education CC BY SA-4.0 https://learn.sparkfun.com/tutorials/lilytiny-plush-monster?_ga=1.66649262.1473012636.1478227346

  1. Let students individually determine where on their monster templates they want to place the LEDs. For example, it works well to use two LED for eyes, however permit students to place the LEDs anywhere they want as long as they are all on the opposite piece of the felt template as the battery/board, as shown in Figure 7. Orient the LEDs so the negative sides are pointing downwards (to the monster’s feet) and the positive sides point upwards (to the monster’s head). Once students have determined the LED locations, have them use very small amounts of hot glue to tack the LEDs in place. Again, the glue is not the primary fastening method. Be sure students do not get hot glue inside the LED pin holes.

A similar diagram to Figure 3, but now also showing the other half of the felt monster template with two LEDs placed in the eye locations.
Figure 7. Example placement of two LEDs on the felt to serve as eyes for the monster toy.
copyright
Copyright © 2014 SparkFun Education CC BY SA-4.0 https://learn.sparkfun.com/tutorials/lilytiny-plush-monster?_ga=1.66649262.1473012636.1478227346

  1. Next, direct students to use conductive thread to connect the LEDs to the LilyTiny circuit. IMPORTANT: Remove the battery from its holder before beginning this step.
    • Refer to Figure 8 for examples of completed circuits. The one on the left has two LEDs hooked up to the random twinkle pattern; the one on the right hooks up each LED to a different light pattern on the LilyTiny. Have students think through their LED lighting plans before sewing.
    • Starting at the student-chosen LilyTiny sequence pin, sew two or three loops of thread around the pin and into the felt, then make neat stitches across the felt to the positive LED pin. Then loop the thread two or three times through that pin before knotting and cutting the thread OR continue stitching to the next LED if wanting it to be controlled by the same light sequence.
    • Repeat this step for the negative pin on the battery holder and the LED negative pins. Keep the stitching away from other stitching so they don’t accidently touch.

Two similar diagrams both show the positive (red) and negative (black) conductive thread stitching lines on the second half of the felt template that connect two monster eyeball LEDs to the LilyTiny circuit on the first half of the felt template. Details are provided in the accompanying text.
Figure 8. Two example circuits that use conductive thread to connect the LEDs into a circuit with the desired LED lighting patterns. Red is a positive sewing line, black is a negative sewing line.
copyright
Copyright © 2014 SparkFun Education CC BY SA-4.0 https://learn.sparkfun.com/tutorials/lilytiny-plush-monster?_ga=1.66649262.1473012636.1478227346

  1. Once the circuit is sewn, place a battery in the battery holder and test the circuit.
  2. Before the next sewing step, turn OFF the battery switch and remove the battery. Direct students to sew up and stuff their toys, as well as add any desired embellishments to give their monsters some personality.
    • To sew the outer seam, fold the felt template so that the LEDs and LilyTiny are on the outside of the doll (so they remain accessible). Then use non-conductive thread to sew around the outer seam, as shown in Figure 9. Make sure to leave a one to two-inch opening in the outer seam in order to stuff the toy.
    • Embellishments might include sewing designs and added bits and pieces onto the felt, like white felt circles over LED eyes, eye lashes, eye brows, mouths, noses, hearts and hair. Let students decide whether it makes more sense to add certain embellishments before or after sewing up the outer seam and stuffing the toy.
    • After stuffing is complete, stitch up the remainder of the outer seam. Then knot and clip the thread. Mention that the fill also provides some insulation so the conductive thread on the two sides do not touch each other and cause a short circuit.
    • When done, slip in a battery and switch to ON.

A photograph shows a hand holding a felt monster cutout with its sewn circuitry visible and another hand using a needle with colored embroidery thread to stitch up the outer seam, which joins the two sides together in order to close it up for stuffing.
Figure 9. Sew together the two sides of the felt template at the outer edges.
copyright
Copyright © 2014 SparkFun Education CC BY SA-4.0 https://learn.sparkfun.com/tutorials/lilytiny-plush-monster?_ga=1.66649262.1473012636.1478227346

  1. Conclude by giving student a chance to show off their completed light-up monster toys to the rest of the class, as described in the Assessment section.

Vocabulary/Definitions

conductive thread: Thread spun of stainless steel (or silver-coated nylon) that carries current like wires so that it can be used to create circuits that are flexible and require no soldering and thus are suitable for textile-based projects that use embedded electronics. Conductive thread tends to be more “twisty,” and so more difficult to sew with than non-conductive (regular) thread.

e-textiles: Clothing or accessories that includes electrical components such as LEDs.

LED: Abbreviation for light-emitting diode, which is a type of semiconductor called a diode that converts electrical energy into light.

microcontroller: A small computer on a single chip, used for running embedded applications that control system components. Source: Wikipedia

microprocessor: A processor that incorporates the function of a central processing unit (CPU) on a single integrated circuit (IC). Source: Wikipedia

Assessment

Pre-Activity Assessment

Discussion: Discuss the topic of microcontrollers with the class. Have students think of and consider engineering applications in which microcontrollers might be used or could be useful. Students reveal their depth of understanding of microcontrollers through their discussion contributions.

Activity Embedded Assessment

Experimenting: Have students try different combinations of lighting sequences for each LED; doing this requires students to create individual circuits for each LED rather than one circuit with two parallel LEDs. Ask students to experiment with and explain what happens when they connect LEDs in series versus parallel configurations.

Post-Activity Assessment

Show-n-Tell: Give students a chance show off their completed plush toys and compare what they did with other student designs. How different are the designs? What are some advantages and disadvantages to the way other students designed their toys?

Take It Further: Have students think of additional textile-based projects in which they could employ TinyLily components to enhance the overall end products. Besides LEDs, what else could be attached to the TinyLily? Students’ answers reveal their comprehension of the activity concepts and technology.

Safety Issues

  • Sharp sewing needles can cause injury if used carelessly. Advise students to use them with intention and be especially careful around their faces and eyes.
  • Hot glue can cause minor burns so advise students to be deliberate and careful when using hot glue guns.

Troubleshooting Tips

Watch that the conductive thread is not shorted out by metallic surfaces or sloppy stitches during testing and operation.

Activity Scaling

  • For lower grades, use fewer LDCs and minimize the amount of sewing require, perhaps by using hot glue to close up seams rather than needle and thread. Also consider partially assembling the LilyTiny system for students in advance of the activity.
  • For higher grades, require students to use more LEDs and multiple lighting patterns. Also consider using a full-scale LilyPad board and having students upload their own sketches, rather than using the default sequences programmed into the LilyTiny.

Additional Multimedia Support

Sewing guides:

  • See clear steps with photographs at the Hand Sewing: Thread the Needle & Tie the Knot website at http://www.sew4home.com/tips-resources/sewing-tips-tricks/hand-sewing-thread-needle-tie-knot
  • Instructions on how to make seven different stitches at the Hand Stitching Basics website—basting stitch, running stitch, backstitch, overcast stitch, slipstitch/ladder stitch, blind hem stitch and securing stitch—at http://www.sew4home.com/tips-resources/sewing-tips-tricks/hand-stitching-basics

Subscribe

Get the inside scoop on all things TeachEngineering such as new site features, curriculum updates, video releases, and more by signing up for our newsletter!
PS: We do not share personal information or emails with anyone.

More Curriculum Like This

Upper Elementary Activity
Light-Up Plush Pals

Students make design decisions about controlling LEDs in a light-up, e-textile circuit, plush toy project made using LilyPad ProtoSnap components and conductive thread. They follow instructions to assemble a product while applying their own creativity to customize it. In this sewable electronics pro...

Upper Elementary Activity
Night-Light Pennant

Students learn the functions of pre-programmed microcontroller units such as the LilyMini ProtoSnap as they use them to create light-up pennants with LED components. Students design their own felt pennants and sew on circuit components using conductive thread.

References

Activity adapted from SparkFun’s LilyTiny Plush Monster activity at https://learn.sparkfun.com/tutorials/lilytiny-plush-monster?_ga=1.66649262.1473012636.1478227346

Osborne, Adam. An Introduction to Microcomputers. Volume 1: Basic Concepts (Second edition). Berkeley, CA: Osborne-McGraw Hill, 1980.

Copyright

© 2017 by Regents of the University of Colorado; original © 2014 SparkFun Education

Contributors

Angela Sheehan; Aaron Lamplugh

Supporting Program

SparkFun Education

Last modified: December 23, 2021

Free K-12 standards-aligned STEM curriculum for educators everywhere.
Find more at TeachEngineering.org