Task 1 from Spain - Traffic lights day and night

  • Traffic lights day and night.

     

    Try to plan your work with any mate in class or from eTwinning by chatroom and forums, you can work in pairs.  The App must be related with the eTwinning project "Scratch and Arduino from east to west", contents, media, intercurtural information between countries, etc.

     

    Modify the arduino program of the semaphore of 3 leds, to adapt it to the modes of behavior, day and night. This with a light sensor on one of the inputs, detecting the day mode or night mode. We will use 3 outputs for LEDs, red, yellow and green. In the mode of the times of the colored LEDs would be 20,2,20 and in the night mode 10,2,30. You have to use a conditional instruction for the clock, detect the input to change the operating mode of the LEDs. Physically implement the project with the Arduino board, the protoboard, Leds, cables, etc. And make it works.

     

    1. Perform the program in the Arduino IDE. Discuss each line of code you use. Deliver the Arduino program to its native extension.
    2. Make a video with iMovie with the specifications below. Delivery URL of the video. In the video description delivers the text of the complete program code.

    Video specifications:

     

    1. Duration of less than 1 minute.
    2. Start with title and description.
    3. Divided screen, left video of hardware in operation, and simultaneously to right monitor quicktime recording of arduino series with outputs programmed with order Serial.println.
    4. Final with credits (author, date, course and school).
    5. Music with copyleft or in default indicating author and "disclaimer".

    Publish your work in the forum.  You can try downloading your classmates ones if you have previously uploaded it to the forum on Twinspace.  Use the Forums to show your work using the URL of your video in youtube.

     

    Example from class:

    https://youtu.be/YGPyPzN0eXQ

     

    The results: