Xtreme STEM
DashX

RoboBloX

BlinkBlock

BlinkBlock

 

Theory

  • L.E.D. stand for Light Emmiting Diode.
    A Diode is a one-way gate in electronics; current flows in the direction of the arrow (from + to -)
    If a diode is hooked up backward it doesn't allow any electricity to flow.
    So an LED will only light up if it is connected the right way around.
    LED

 

 

Assembly Part I - LED

  1. Materials Required

    LED
    • 1 LED
    • 1 Resistor (100 ohm)
    • 1 Brick (2x2)
    • 1 Cable (2 Wire)
    • 1 Connector (3 Pin)
  2. Wire
    Cut Wire
    Cut both connectors off ONLY ONE end of the cable
  3. Wire
    Strip about 5 - 10mm of plastic off the end of the wires
    Be careful not to damage the little strands of copper inside.
    Always use the correct hole size,
    and always pull straight (never at an angle)

  4. Wire
    Your wire should be even and look like this.
  5. LEDLED
    Bend the legs of the LED apart
  6. LED
    Place the resistor next to the LED
    It doesn't matter which leg
  7. LED
    Wrap the resistor's leg around the LED's leg
  8. LED
    Bend the resistor out so it is pointing away from the LED
  9. LED
    Twist one wire on the resistor leg
    Twist the other wire on the LED's leg
    The color of the wires doesn't matter (they can go either way)
  10. LED
    Solder all 3 joints

 

Assembly Part II - BlinkBlock

  1. bb
  2. bb
    Trim the extra length off the legs
    (Cut where the red marks are)
    LED
  3. Drill
    Drill a 5mm hole through the middle
    (Drill with the block upside-down, like the picture)
  4. Optional Step


    Drill
    Check to see if your block already has a hole in the side
    If your block doesn't have a hole in the side then:


    Drill a 3mm hole in the side of the block
    (Any side)
  5. WireWire
    Use a pin to bend the little black plastic "tongue" up

    Wire
    Gently slide the plastic housing off the end of the wire

    Wire
    Remove both of the black plastic housings from the ends of the wires

  6. Wire
    Insert the ends of the wire into the block
    (From the inside of the block)

    Wire
    Push the wires through the hole in the side of the block
  7. LED
    Pull the wires until the LED is almost inside the block
  8. LED
    Use your fingers or some pliers to gently press the LED into the hole
  9. LEDLED
    Press the resistor and legs gently down into the block
    You can double check that eventhing is pressed down enough by placing the BlinkBlock onto another piece of Lego and making sure they snap together all the way
  10. WiresWire
    Slide the wires into the new 3 pin plastic housing
    One wire on each side (no wire in the middle)

    Make sure you push the wires in until you hear and feel them click
    Gently tug on each wire to make sure it has clicked into the housing.

 

Assembly Part III - Test and Glue

  1. Brain
    Test your BlinkBlock BEFORE gluing it
    Connect your BlinkBlock to Pin 13 (on the Digital Side)
  2. Blink
    Make both of these Blocks in mBlock
    (you will find them in the Robot section)

    Make sure you don't click them together
  3. Connected
    Make sure you are connected.
    See the mBlock instructions for more details
  4. LED
    Click on the HIGH block
    Your BlinkBlock should turn on
    If it doesn't then try turning your connector around.
  5. Silver
    Silver
    Once you know which way is the correct way for your connector
    Mark the 'G' edge with a silver pen
    We use silver to show Ground (the black pins)
  6. Stop
    Check with Mr. Dash before continuing
  7. Glue
    Make sure you have all the materials in the picture before gluing
    (Extra Brick & Wax Paper)

    Glue
    Fill your block with hot glue
    Only use enough glue to cover the wires, resistor, and LED
    (too much and it will squish out the sides)
  8. Paper
    Cover the block with wax paper (baking paper)
  9. Glue
    Place another block onto your BlinkBlock
    This makes sure the glue is squished down enough
  10. Glue Glue
    Place a little glue around the wires to protect them
  11. clock
    Wait at least 5 minutes before removing the spare block
    You don't need to hold it during this time
  12. BlinkBlock
    You're done!
    Your BlinkBlock should look like this.

 

 

Connection Diagram

  • If it is connected backwards no damage is done, but it does not work.
    The sliver stripe shows you which way is the right way.
  • bb
    The BlinkBlock can be connected to any Digital Pin
    (D0 & D1 should not be used as they reserved for mBlock)
  • There is also built-in LED on the BrainBlock that is always connected to D13 (it is good for testing).
    You should see it turn on and off with your BlinkBlock.

 

 

mBlock

  • bb
  • Example Programs

    bb

  • Advanced

    You can control how bright the LED is using PWM (Pulse Width Modulation),
    but PWM only works on Pins 3, 5, 6, 9, 10, or 11
    0 = 0%
    255 = 100%

    bb

  • Project Ideas

    1. Lighthouse
    2. Dragon
    3. Lego Pet
    4. Traffic Light
  • Mini Challenges

    • Use 2 sprites: one to turn it on when you click on it, the other to turn it off
    • Create a sprite that makes it blink 10 times when you click on it
    • Make a Police Car (use 2 BlinkBlocks), and have its lights flash back and forth
    • Add a sprite that turns it on but only at 50% brightness

 

Scroll to Top