Task 4 from Spain - Distance metter with ultrasound

  • Distance metter with ultrasound

     

    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.

     

    Modifies the arduino program of the sensor LDR of 3 leds, to adapt it to the program of sensor of ultrasounds. To do this, define 3 ranges of measurable distance with the ultrasonic sensor and have 1, 2 or 3 leds on, taking that distance from far to near in the 3 ranges. We will use 3 outputs for LEDs, red, yellow and green. The distance ranges could be 3, 2 and 1 meter away from the sensor, but you can adapt it to the needs of the room or classroom. You have to use a conditional instruction similar to the LDR sensor program 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".
    6. Video or letters in English, and logos of eTwinning and the project "Scratch and Arduino from east to west" must be in the video.

    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/Gam2bL9ZOu8

     

    The results: