SOS ARDUINO MIREIA!

This is a practical project using Arduino and a LED in order to give a message in Morse code.

Here's how Morse code works :

Here's how to create a code with Arduino to turn on and off a LED light with a SOS signal:

  1. Dowload the software at this link
  2. Understand+ the rules of Morse code
  3. Convert the rules of Morse in Arduino instructions
  4. Open the Arduino software
  5. Connect a LED in pin number 13 and GND of the Arduino board like this image
  6. width="350" height="310">
  7. to work with arduino you need to open the Device administrador (administrador de dispositivos)
  8. we select other devices and choose unknown device
  9. We go unknown device and then we give you to update driver software ...
  10. once selected we have two options, we have to give it to the second
  11. now we will find the driver software in this location
  12. once selected we give you to examine ...
  13. ahora le damos un Disco Extraible y seleccionamos drivers
  14. we give you to accept
  15. once done, we select to examine ...
  16. we go to tools we select Port and we give COM3 (Arduino / Genuino Uno)
  17. and we give it back to select it completely


    
{	
  pinMode(13, OUTPUT);
}

void loop()
{
//S...
  digitalWrite(13, HIGH);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, HIGH);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, HIGH);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 200 millisecond(s)
  //Space between letters 600ms
  delay(600); 
  //O---
  digitalWrite(13, HIGH);
  delay(600); // Wait for 600 millisecond(s)
  digitalWrite(13, LOW);
  delay(600); // Wait for 600 millisecond(s)
  digitalWrite(13, HIGH);
  delay(600); // Wait for 600 millisecond(s)
  digitalWrite(13, LOW);
  delay(600); // Wait for 600 millisecond(s)
  digitalWrite(13, HIGH);
  delay(600); // Wait for 600 millisecond(s)
  digitalWrite(13, LOW);
  delay(600); // Wait for 600 millisecond(s)
  //Space between letters 600ms
  delay(600);
  //S...
  digitalWrite(13, HIGH);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, HIGH);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, HIGH);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 200 millisecond(s)
  //Space between word 1400ms
  delay(1400);
  //M--
  digitalWrite(13, HIGH);
  delay(600); // Wait for 600 millisecond(s)
  digitalWrite(13, LOW);
  delay(600); // Wait for 600 millisecond(s)
  digitalWrite(13, HIGH);
  delay(600); // Wait for 600 millisecond(s)
  digitalWrite(13, LOW);
  delay(600); // Wait for 600 millisecond(s)
  digitalWrite(13, HIGH);
  delay(600); // Wait for 600 millisecond(s)
  digitalWrite(13, LOW);
  delay(600); // Wait for 600 millisecond(s)
  //Space between word 600ms
  delay(600);
  //I...
  digitalWrite(13, HIGH);
  delay(200); // Wait for 600 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 600 millisecond(s)
  digitalWrite(13, HIGH);
  delay(200); // Wait for 600 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 600 millisecond(s)
  digitalWrite(13, HIGH);
  delay(200); // Wait for 600 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 600 millisecond(s)
  //Space between word 600ms
  delay(200);
  //R.-.
  digitalWrite(13, HIGH);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, HIGH);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, HIGH);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 200 millisecond(s)
  //Space between word 600ms
  delay(600);
  //E.
  digitalWrite(13, HIGH);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 200 millisecond(s)
  digitalWrite(13, HIGH);
  //space between letters 600ms
  //I...
  digitalWrite(13, HIGH);
  delay(200); // Wait for 600 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 600 millisecond(s)
  digitalWrite(13, HIGH);
  delay(200); // Wait for 600 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 600 millisecond(s)
  digitalWrite(13, HIGH);
  delay(200); // Wait for 600 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 600 millisecond(s)
  //Space between word 600ms
  delay(200);
  //A.-
  digitalWrite(13, HIGH);
  delay(200); // Wait for 600 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 600 millisecond(s)
  digitalWrite(13, HIGH);
  delay(200); // Wait for 600 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 600 millisecond(s)
  digitalWrite(13, HIGH);
  delay(200); // Wait for 600 millisecond(s)
  digitalWrite(13, LOW);
  delay(200); // Wait for 600 millisecond(s)
  //Space between word 600ms
  delay(200);
  
  
  
  
 
}