Arduino '22

Arduino 2022 Challenge


Bumblebee needs to get a signal to the Autobots telling them he has found the All Spark and needs their help. It's your job to program the lights using Morse code to tell the Autobots to come to Earth and help. They are watching for your light signals, so send quickly! You will be given the words at the competition. The message will not be longer than 4 words.

You must program the lights to blink in intervals that indicate long and short signals. Short intervals are 1/2 second and long intervals are 2 seconds. The space between parts of the same letter is 1 second and the space between letters is 4 seconds. The space between words is 6 seconds.

For instance, when programming the "A", you would have the lights turn on for 1/2 second, turn off for 1 second, turn on for 2 seconds, turn off for 4 seconds.

If you were to program the words "HELP ME", you would program the lights in the order below:

Blink on and off 4 times for 1/2 second each (H)
Wait/off 4seconds
Blink on for 1/2 second (E)
Wait/off 4 seconds
Blink on for 1/2 second, off for 1 second, on for 2 seconds, off for 1 second, on for 1/2 second, off for 1 second, on for 1/2 second (L)
Wait/off 4 seconds
Blink on for 1/2 second, off for 1 second, on for 2 seconds, off for 1 second, on for 2 seconds, off for 1 second, on for 1/2 second (P)
Wait/off 6 seconds
Blink on for 2 seconds, off for 1 second, on for 2 seconds (M)
Wait/off for 4 seconds
Blink on for 1/2 second (E)
Off for 20 seconds (to show the end)

Scoring

CodeFormers Arduino
IMG_0716.MOV

Check out this example. Can you figure out what the phrase is

Resources

Click on the links below for support learning how to program the Arduino.

Check out a few of the previous Arduino Challenges to learn more about the Coding in Action Arduino rotation.

Arduino 2019 Arduino 2020