SOS ARDUINO ROHIATOU

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 switch off and on a LED light with an SOS signal :

  1. Download the software at this link
  2. Understand the rules of Morse code
  3. Converter 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. to work with arduino you need to open the Device administrator (adminisitrador dispositivos)
  7. Actualize the software to control
  8. Find the software to control your PC
  9. Open a new window and enter in the Arduino website
  10. Browse the website
  11. Select the folder that contains the drivers for your software
  12. click the folder and accept it
  13. Examine the website to see if it is correct
  14. select tools and then select port to enter in Arduino
  15. Click on the port enter in COM3(Arduino/Genuino uno)
  16. Firmata is a good form for comunicating with microcontrollers from a software to a computer etc

    void setup()
{
  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)
  //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)//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 SOS and Rohiatou
  delay(1400);//wait seven times to seperate words 
  
  //SdigitalWrite(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)
  
}  
  >/pre>