Programmable Fairy Lights

Version 3

    fairy lights.png

    Creating a vivid style light show is something that captures everyones imagination. This simple project will show students and teachers how to expand and tinker with basic code and provide them with the confidence to push further!

     

    Please note this is a level 2 activity and you and your students should have already completed 'Setting up your Genuino 101 to STEAM up the classroom' available at bit.ly/genuinosetup

     

    Step 1

    To complete this project you will need

    1. Genuino 101 or similar
    2. Breadboard
    3. 12 LED lights (various colours)
    4. 330ohm Resistor
    5. 1 Male to Male jumper lead (Pointy ends  on  both ends)
    6. 24 Male to Female jumper leads
    7. Code from bit.ly/ArduinoSC

     

    Step 2

    Engineer the Arduino circuit

    In this example we will hook up an LED to Pins 2 to 13.

    1. Connect the red rail on your breadboard to GND (Ground) on your 101 using a Male to Male jumper lead
    2. Connect a resistor to relay the GND from the Red to the Blue rail on your breadboard

     

    Step 3

    Connecting your LEDs

    Now using your Male to Female jumper leads we will connect the LEDs to both ground and Pins 2 to 13

    1. Connect the Male end of 12 of your jumper leads in to Pins 2 to 13
    2. Connect the Female end of these leads to the long (positive) leg of all your LEDS
    3. Connect the Male end of 12 of your jumper leads in to the Blue rail of your breadboard
    4. Connect the Female end of these leads to the short (negative) leg of your LEDs

     

    Make sure to check with your Science teacher to verify your circuit

     

    Step 4

    Upload your code

    1. Open the Arduino IDE
    2. Visit http://bit.ly/ArduinoSC and Locate the code at step  5
    3. Copy this code and paste it in to Arduino
    4. Connect your Genuino 101 to your computer using the USB lead
    5. Click the upload button to send the code to the 101

     

    Step 5

    Adjust and go further

    Now take a long hard look at the code as well as all the extra information in the block of code!

    1. Notice that everything after '//' is not real code but extra information to assist understanding
    2. Try making changes to the code, see what happens and then draw conclusions about what the code actually does

     

    Curriculum Links

    • Design the user experience of a digital system, evaluating alternative designs against criteria including functionality, accessibility, usability, and aesthetics (ACTDIP039)
    • Plan and manage projects using an iterative and collaborative approach, identifying risks and considering safety and sustainability (ACTDIP044)
    • Design algorithms represented diagrammatically and in structured English and validate algorithms and programs through tracing and test cases (ACTDIP040)

     

    This simple project will show students and teachers how to expand and tinker with basic code and provide them with the confidence to push further!