Chapter 27 – Experiment 19 – HELLO! HELLO! HELLO!

From Wikipedia (http://en.wikipedia.org/wiki/Morse_code):

“Morse code is a method of transmitting text information as a series of on-off tones, lights, or clicks that can be directly understood by a skilled listener or observer without special equipment. The International Morse Code encodes the ISO basic Latin alphabet, some extra Latin letters, the Arabic numerals and a small set of punctuation and procedural signals as standardized sequences of short and long signals called dots and dashes”

This experiment introduce to you to Morse code, that is used from long time in the communication field. The code will be in updated with some interactivity and in future experiments, in the advanced kit, you will be able to exchange data with other microcontrollers/kits using different communication channels.

The circuit is the same as Experiment 01.

/*
WE MAKE IT – Morse code, Experiment 19

Original version from:
Morse Code Flasher
Written for bit-tech.net / Custom PC
*/

int ledPin = 12; /* Pin 12 is the external circuit used in the experiment 01, Pin 13 is the pin on the board */

void setup() /* Where the defaults are set */
{
pinMode(ledPin, OUTPUT);
}

void loop() /* Where the meat of the program goes */
{
HELLO();
}

void HELLO() {

dot(); dot(); dot(); dot(); letterpause();   // H
dot(); letterpause();   // E
dot(); dot(); dot(); dot(); letterpause();   // L
dot(); dot(); dot(); dot(); letterpause();   // L
dot(); dash(); dot(); dot(); letterpause();   // O

wordpause();
}

void dot() /* Define a ‘dot */
{
digitalWrite(ledPin, HIGH);
delay(250);
digitalWrite(ledPin, LOW);
delay(250);
}

void dash() /* Define a ‘dash’ */
{
digitalWrite(ledPin, HIGH);
delay(750);
digitalWrite(ledPin, LOW);
delay(250);
}

void letterpause() /* Insert a pause between letters */
{
delay(500);
}

void wordpause() /* Insert a pause between words */
{
delay(1500);
}

23 comments

  1. [...] Experiment 17 – DATALOG TEMPERATURE Chapter 26 – Experiment 18 – SMOOTHING WHEN READING DATA Chapter 27 – Experiment 19 – HELLO! HELLO! HELLO! Chapter 28 – Experiment 20 – POTENTIOMETER Chapter 29 – Experiment 21 – SURPRISE 1 Chapter [...]

  2. The morse code is not quite right. For hello in international morse code it should be

    dot(); dot(); dot(); dot(); letterpause(); // H
    dot(); letterpause(); // E
    dot(); dash(); dot(); dot(); letterpause(); // L
    dot(); dash(); dot(); dot(); letterpause(); // L
    dash(); dash(); dash(); letterpause(); // O

    based on http://en.wikipedia.org/wiki/Morse_code

  3. This is the right web site for anyone who would like to find out about this
    topic. You understand a whole lot its almost tough to argue with you (not that I personally would want to…HaHa).
    You certainly put a new spin on a subject which has been written about for ages.

    Great stuff, just excellent!

  4. Their recognition further iterates the fact that we are usually in lookup of methods to unfold mysteries.
    Start by forgiving your self, then move on to other people,
    then back to you.

    Here is my page – California Psychics Reviews

  5. Envision a tiny sphere of pale blue mild originating from
    the region exactly where your coronary heart is. Cinco de Mayo
    es una celebracin de la herencia mexicana en los Estados Unidos.
    Grounding is as previous as the earth, and as deep.

    Feel free to surf to my web site psychics source (Archer)

  6. This is my first time pay a quick visit at here and i am genuinely happy to read everthing at
    single place.

  7. Brings you the best hack and cheat tools for your favored games or apps!

  8. What’s up friends, fastidious paragraph and fastidious arguments commented here, I
    am really enjoying by these.

  9. However, the fast-paced changes on the online world can be turned
    around to your advantage. This will help you both to invest in your company and not overspend, two important skills.

    Maintaining sustainable and lasting rapports with customers, clients,
    prospects and business partners is also imperative for success
    in the network marketing business.

  10. boden

    Chapter 27 – Experiment 19 – HELLO! HELLO! HELLO! | WMKIT

  11. useful alternative to hotukdeals

    Chapter 27 – Experiment 19 – HELLO! HELLO! HELLO! | WMKIT

  12. homebase

    Chapter 27 – Experiment 19 – HELLO! HELLO! HELLO! | WMKIT

  13. You share interesting articles here. I think that your website
    can go viral easily and i know how to do it, just search in google – omgerido traffic
    tips

  14. It’s nearly impossible to find knowledgeable people about this subject, but
    you sound like you know what you’re talking about! Thanks

  15. Hi admin, i see your blog needs fresh articles. Daily updates will rank your site in google
    higher, content is king nowadays. If you are to lazy to write unique content everyday you should search in google for:

    Ightsero’s Essential Tool

  16. obviously like your web-site however you need to take a look at the spelling on several of your posts.
    Many of them are rife with spelling issues and I find it very troublesome to inform the reality on the other hand
    I’ll surely come back again.

  17. Attractive component to content. I simply stumbled
    upon your site and in accession capital to assert that I acquire in fact enjoyed account your blog posts.
    Any way I will be subscribing on your augment or even I success you get right of entry
    to persistently quickly.

  18. hi!,I love your writing very much! proportion we be
    in contact more about your article on AOL? I require a specialist in this space to resolve my problem.
    May be that’s you! Looking forward to look you.

  19. These games below are some points need to go through a variety of game players.

    You’re ready to take away your heart desires from
    the background. For the time for enjoyment world of tanks blitz hack with games or games
    for every mobile. There are six worlds you have called it a more serious note,
    too bad because I would never quit doing it for free.
    As the mobile marketer to promote a brand new Microsoft Xbox
    360 repairs, etc.

  20. You could possibly not be intending to deposit funds immediately, but
    even in the event you tend not to deposit, your bonus is going to be waiting for yourself.

    A tournament is no different from any other poker
    environment, but like any competition your ability to. Double checking the web portal’s market repute by visiting forums, joining communities,
    etc. This would make your game more fun filled and interesting.

  21. Hi, after reading this remarkable piece of writing i am too happy to share
    my familiarity here with mates.

  22. It’s not my first time to pay a visit this web page, i am visiting this website dailly and take nice facts from here daily.

  23. This paragraph provides clear idea in favor of the new users of blogging, that really how to do blogging.

Leave a Reply to California Psychics Reviews Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


istanbul evden eve nakliyat istanbul evden eve nakliyat istanbul evden eve nakliyat sarıyer evden eve nakliyat beylikdüzü evden eve nakliyat şişli evden eve nakliyat