Robotic Paper Octopus (with Micro:bit)

by jrflorentine in Teachers > Electronics

24747 Views, 160 Favorites, 0 Comments

Robotic Paper Octopus (with Micro:bit)

P3160709_copy.jpg
octobot2.gif

Make a grumpy paper octopus that retracts its tentacles in reaction to loud noises!

Supplies

Electronics:

micro:bit v2

Crazy Circuits Bit Board

LEGO Compatible 360 Degree Servo

2 AAA Battery Holder

Other:

Cardstock (3 sheets)

Sewing Thread (preferably a thicker one that's more durable)

Cardboard (you only need a small amount; a 5" x 5" piece will work)

Printable Template (in the PDF link below)

Tools:

Glue

Scissors

Sewing Needle

Making the Tentacles

P3150476.JPG
P3150477.JPG
P3160519.JPG
  • Cut out a tentacle
  • Fold it in half with the template markings on the outside
  • Tip: You can save some time by folding the tentacle in half, then cutting the rounded top part

Poke the Holes

P3150481.JPG
P3150483.JPG
P3150485.JPG

  • Use a sewing needle to make the holes in the marked locations
  • Make sure to go through both layers of paper

Invert the Tentacle

P3150488.JPG
P3150493.JPG
P3150497.JPG

  • Fold the tentacle in a zig-zag
  • Unfold the tentacle, then refold it inside out so the template markings are on the inside
    • You can also leave the template markings on the outside if that's your style!
  • Optional: add glue when you fold it in half to hold the two layers together (it's not necessary since it holds its shape pretty well without glue)

Cut and Knot the Thread

P3160502.JPG
P3160522.JPG

  • Cut a piece of thread around 12" long
  • Double or triple knot the end of the thread
  • Thread the needle

Sew the Tentacle

P3160504.JPG
P3160509.JPG
P3160510.JPG

  • Use the holes you made in step 2 to sew the thread through the tentacle
  • Make sure to start from the rounded end of the tentacle, and on the outside of the zig-zag fold
  • Add a drop of glue (or tape) on the knot to make sure it doesn't pull through the paper
  • Double check that the knotted end is on the rounded side of the tentacle, and the extra thread is on the opposite side

Make More Tentacles!

P3160526.JPG

  • Repeat 7 more times until all 8 tentacles are finished
  • Set the legs aside for now to let the glue dry
  • Are you regretting making a robot with 8 legs? Just be glad it's not a centipede!

Making the Body

P3160551.JPG
P3160544.JPG
P3160561.JPG

  • Cut out the template for the body and top
  • Fold the body following the markings on the template

Assemble the Top and Body

P3160567.JPG
P3160578.JPG
P3160581.JPG

  • Glue the body into an octagon shape (the two sections on either end should overlap on top of each other to form 8 sides)
  • Glue the top on to the tabs
  • Tip: I found it easiest to flip the body upside down while I was gluing the tabs in place

Alternative Body

P3160728.JPG

  • If you're feeling up to a challenge, you can also make the body using the origami method, which results in the twisty-top on this Octobot
  • I used the instructions here to create an Origami Octagonal Box: Origami Octagonal Box

Cut the Base

P3160740.JPG
P3160743.JPG
P3160746.JPG

  • Use the base stencil octagon to trace an octagon onto a piece of cardboard
  • Cut the base octagon out of cardboard
  • The base should be just small enough to fit inside the body (but not so small that there's loads of empty space around it)

Attach the Tentacles

P3160599.JPG
P3160597.JPG

  • Glue a tentacle to the bottom of the cardboard base
  • Only glue the last folded section of the tentacle (the one without a hole)
  • Make sure the thread doesn't accidentally get glued to the cardboard

Add the Other Tentacles

P3160600.JPG
P3160603.JPG
P3160608.JPG

  • Repeat for the other 7 tentacles
  • Try to keep the threads from getting tangled

Make the Servo Holder

P3160610.JPG
P3160615.JPG

  • Cut the servo holder template
  • Fold the servo holder
  • Glue it around the servo
  • You don't need to glue the paper to the servo—just wrap the servo holder around the servo, and glue it where the two parts overlap

Attach the Servo

P3160617.JPG
P3160623.JPG
  • Glue the servo holder to the cardboard base of the Octobot
  • Note that the servo itself isn't centered on the body—the servo's shaft is what should be approximately centered

Making the Axle

P3160624.JPG
P3160629.JPG
P3160634.JPG

  • Cut a piece of straw about 3/4" long
  • Use the needle to poke a hole through the straw at about halfway between the top and bottom
  • Poke another hole (this one only needs to go through one wall) close to the top of the piece of straw

Check the Straw Size

P3160626.JPG
P3160686.JPG

  • Put the straw onto the servo shaft
  • Since straws come in all different sizes, it may be too big. If that's the case, put a very small piece of tape around the servo shaft to increase its diameter
  • The straw should fit snugly on the shaft

Attach the Thread

P3160642.JPG
P3160646.JPG
P3160648.JPG

  • Sew one of the pieces of thread onto the straw
  • First go through the middle holes, then up out the top

Do It Again

P3160653.JPG
P3160661.JPG

  • Repeat this 7 more times until all 8 pieces of thread are sewn into the straw
    • It's best to do this one piece of thread at a time to avoid them getting tangled or twisted
  • Check that the length of the thread between the straw and the tentacles is roughly the same
    • You can check this by pulling the piece of straw up to check that the threads are all roughly the same tensions

Attach the Axle

P3160666.JPG
P3160672.JPG
P3160684.JPG

  • Push the straw to the servo shaft, making sure it's snug (if it's loose, the shaft will just spin inside the straw without turning the straw itself)
  • Make sure the tentacle are all fully extended, then tie a big knot where the threads exit from the straw
  • Trim the extra thread

Connect the Circuit

P3160690.JPG
Circuit_Diagram_Octobot.jpg
  • Connect the servo to the Bit Board at Servo Pin 1

Upload the Code

octobot_code.png
  • Upload the code from here: Octobot Code
  • You'll note that the sound activation requires touching the logo at the same time. That's to avoid accidentally triggering it if you're in a noisy environment. You can change that by getting rid of the "logo is pressed" block
  • The sound trigger requires using the micro:bit v2. If you don't have the v2, there's loads of other ways you can trigger the Octobot, such as using the accelerometer to shake the micro:bit, or making it light-sensitive

Test It

robot_inside.gif
  • It's easiest to test the mechanism while the servo is still exposed
  • Use the A and B buttons to try retracting and extending the tentacles
  • Tip: For the TentacleAction function, try playing around with the timing and speed to get different effects
  • Depending on how loose the threads are, you may need to pre-wind the threads around the axle by using the A button before triggering the TentacleAction function

Put the Body On

P3160699.JPG
P3160730.JPG

  • Put the body on
    • The thread should slide into the thin cutouts in the body
    • The servo wire should go through the larger cutout
  • Optional: You can add a bit of glue to secure the body to the cardboard base (I didn't in case I wanted to access the inside)

Give It a Face

P3160714.JPG
octobot3.gif

  • Give your Octobot a face!
  • Touch the logo and shout "BOO!" to make Octobot retract its tentacles!