Arduino Forum

Community => Exhibition / Gallery => Topic started by: LeseLaster on Jan 30, 2011, 01:19 pm

Title: MorseTweeter v.0.7 running
Post by: LeseLaster on Jan 30, 2011, 01:19 pm
Hello,

it took some time but finally the Arduino Uno is doing what he was supposed to do:

1. Go to Twitter
2. Look if there is a new tweet with the word "morse"
3. Get the tweet
4. Translate the tweet to morsecode
5. Give the morsecode as an acoustic signal

Now there are cw-signals in my room and I don't have to look at the computer screen. You find details in my blog:
http://hajos-kontrapunkte.blogspot.com/2011/01/morsetweeter-v-07-is-running.html (http://hajos-kontrapunkte.blogspot.com/2011/01/morsetweeter-v-07-is-running.html)

Of course the project is not finished. The parser for the  HTML-Code has to be optimized, ... The LCD-shield has to be connected and later the Arduino will controll a real morse keyer. Then the code will be published. Stay tuned!

Title: Re: MorseTweeter v.0.7 running
Post by: cowjam on Jan 30, 2011, 03:58 pm
What a great idea! 

Post a video when it's all up and running :)
Title: Re: MorseTweeter v.0.7 running
Post by: LeseLaster on Jan 30, 2011, 06:14 pm

What a great idea! 

Post a video when it's all up and running :)


Of course I will do that, but have just a bit of patience. I still need some time  :smiley-roll-sweat:
Title: Re: MorseTweeter v.0.7 running
Post by: cowjam on Jan 30, 2011, 07:00 pm
Where's that *checking my watch* smiley?! ;)
Title: Re: MorseTweeter v.0.7 running
Post by: liuzengqiang on Jan 30, 2011, 08:44 pm
Great! Waiting for videos!

Just in case you want to see how I did my Morse code encoder and decoder, here is a link. You can simply call MorseOut(string) :)

http://liudr.wordpress.com/2010/12/02/morse-encoder-and-decoder/

raron has also created Morse code programs. Very nice, and high speed exchange between two computers. It's on the old forum.
Title: Re: MorseTweeter v.0.7 running
Post by: LeseLaster on Jan 30, 2011, 09:51 pm
That is really a good one. Will try it out. And as it is not only pure Arduino but also ham related, I posted it in a forum from the QRP-Club http://www.qrpforum.de/index.php?page=Thread&postID=48689#post48689 (http://www.qrpforum.de/index.php?page=Thread&postID=48689#post48689) (QRP = Low Power Communication < 5 Watts Output.)

One thing I really don't like is your morse keyer  :) You should have invested a little more http://www.dl0bn.de/schurr/museum.htm (http://www.dl0bn.de/schurr/museum.htm)

Have fun
LeseLaster aka DL1SDZ
Title: Re: MorseTweeter v.0.7 running
Post by: raron on Jan 31, 2011, 12:01 am
Nice morsetweet thing!

I just thought (since someone said A... btw thanks for mentioning me liudr :) ) I would add my blog post link for that one as well, just in case.
http://raronoff.wordpress.com/2010/12/16/morse-endecoder/ (http://raronoff.wordpress.com/2010/12/16/morse-endecoder/)
And its google code page: http://code.google.com/p/morse-endecoder/ (http://code.google.com/p/morse-endecoder/)

Title: Re: MorseTweeter v.0.7 running
Post by: liuzengqiang on Jan 31, 2011, 02:28 am

That is really a good one. Will try it out. And as it is not only pure Arduino but also ham related, I posted it in a forum from the QRP-Club http://www.qrpforum.de/index.php?page=Thread&postID=48689#post48689 (http://www.qrpforum.de/index.php?page=Thread&postID=48689#post48689) (QRP = Low Power Communication < 5 Watts Output.)

One thing I really don't like is your morse keyer  :) You should have invested a little more http://www.dl0bn.de/schurr/museum.htm (http://www.dl0bn.de/schurr/museum.htm)

Have fun
LeseLaster aka DL1SDZ


LeseLaster, thanks for posting my blog to a ham forum. I am completely open to suggestions for improvement. I agree with you. My keyer was not the best. Originally I made it as an impact switch so if a steel ball dropped on top of it, it will trigger the switch. With an electromagnet, it will record the fall time of a ball in air and calculate gravitational acceleration. The thing as a keyer completely sucks, having a spring that is too weak and slides sideways if you press it.

Anywhere we can buy a real but cheap keyer?

raron, are you a physicist too (somehow I have a hunch)? We should both buy some real keyers. :)
Title: Re: MorseTweeter v.0.7 running
Post by: LeseLaster on Jan 31, 2011, 01:19 pm
Slightly OT, but anyway.

I would propose a morse paddle. One paddle is for dots, the other for dahs. So it is easy to connect to the Arduino and you don't have to measure time ratios between dits/dahs. If you really want to learn morse code and use it you have to invest a little bit more for at higher speeds good mechanic is crucial.

Have a look at http://www.eham.net/reviews/products/16 (http://www.eham.net/reviews/products/16) A reasonable priced paddle is from MFJ http://www.mfjenterprises.com/Product.php?productid=MFJ-564 (http://www.mfjenterprises.com/Product.php?productid=MFJ-564) or try some homebrew http://www.qth.at/dm3da/collection/ (http://www.qth.at/dm3da/collection/).

Hope this helps

Have fun DL1SDZ aka LeseLaster
Title: Re: MorseTweeter v.0.7 running
Post by: raron on Feb 02, 2011, 01:30 am
(Also slightly, well, rather OT, hope its okay)
Quote
raron, are you a physicist too (somehow I have a hunch)? We should both buy some real keyers.

Alas no, I'm not (yet?) But I would say it is in my field of interests :)
Title: Re: MorseTweeter v.0.7 running
Post by: LeseLaster on Feb 02, 2011, 07:49 pm
MorseTweeter is impoving to version v.0.8. I received the LCD-shield and had to struggle with the output. But now it is solved (see discussion http://arduino.cc/forum/index.php/topic,50596.0.html).

Now I have to improve the html-parser, so that only the twitter-strings are send to the Arduino. I have to get rid of things like that:

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
<head>


But it is manageable ... hope so  :~
Title: Re: MorseTweeter v.0.7 running
Post by: liuzengqiang on Feb 02, 2011, 08:44 pm
hey, pictures and videos please! Don't keep your sweet success to yourself, at least not on this exhibition board  XD XD XD

Congrats!
Title: Re: MorseTweeter v.0.7 running
Post by: LeseLaster on Feb 02, 2011, 11:05 pm
OK,ok.

Have a look in my blog http://hajos-kontrapunkte.blogspot.com/2011/02/morsetweeter-v-08.html (http://hajos-kontrapunkte.blogspot.com/2011/02/morsetweeter-v-08.html). But please bare in mind that this is my first video ever and it is only a demonstration of the rolling LCD-shield - Ethernet is temporarily unavailable Error 401  8)
Title: Re: MorseTweeter v.0.7 running
Post by: liuzengqiang on Feb 02, 2011, 11:46 pm
Nice, just saw it from a different post where you were asking LCD questions. I'll be updating my Phi-1 shield design soon and this time I'll take specific care that it is compatible with Arduino ethernet shield.
Title: Re: MorseTweeter v.0.9 running
Post by: LeseLaster on Feb 16, 2011, 11:09 pm
MorseTweeter v 0.9 is running, but I think that this is the end of the project. The software is running, but the parser to strip away all this code from the search.twitter answer is for me too hard to write.

Have a look at http://hajos-kontrapunkte.blogspot.com/2011/02/morsetweeter-v-09-and-perhaps-end.html (http://hajos-kontrapunkte.blogspot.com/2011/02/morsetweeter-v-09-and-perhaps-end.html)

You will also find the "useless" code there. Have fun and thanks for the great help form the forum.

Now it's time for the next project, which will be a bigger success  :smiley-roll-sweat:
Title: Re: MorseTweeter V. 1.0 is finally running
Post by: LeseLaster on Feb 21, 2011, 07:19 pm
At Last, the MorseTweeter is running. I followed now my original design and it works like a charm. Have a look at my blog:

http://hajos-kontrapunkte.blogspot.com/2011/02/morsetweeter-v-10-finally-running.html (http://hajos-kontrapunkte.blogspot.com/2011/02/morsetweeter-v-10-finally-running.html)

A little video and soucecode is available.

Thinks for encouragement and help.

Hajo
Title: Re: MorseTweeter v.0.7 running
Post by: smeezekitty on Feb 21, 2011, 09:13 pm
Unfortunately I do not know how to read morse code.
Title: Re: MorseTweeter v.0.7 running
Post by: LeseLaster on Feb 21, 2011, 09:24 pm
No problem: Help is on its way http://www.learnmorsecode.com/ (http://www.learnmorsecode.com/) I takes some time,  XD but it is fun and faster then writing sms:

http://hajos-kontrapunkte.blogspot.com/2011/02/morsetweeter-v-091-ongoing-story.html (http://hajos-kontrapunkte.blogspot.com/2011/02/morsetweeter-v-091-ongoing-story.html)

At the end of the article is the proof.

And on the site learnmorsecode is also demonstrated how the morse-interpreter is coded.

Have fun

Hajo
Title: Re: MorseTweeter v.0.7 running
Post by: smeezekitty on Feb 21, 2011, 09:25 pm

No problem: Help is on its way http://www.learnmorsecode.com/ (http://www.learnmorsecode.com/) I takes some time,  XD but it is fun and faster then writing sms:

http://hajos-kontrapunkte.blogspot.com/2011/02/morsetweeter-v-091-ongoing-story.html (http://hajos-kontrapunkte.blogspot.com/2011/02/morsetweeter-v-091-ongoing-story.html)

At the end of the article is the proof.

And on the site learnmorsecode is also demonstrated how the morse-interpreter is coded.

Have fun

Hajo

Oh and I pressed the download link and it does not work.
Title: Re: MorseTweeter v.0.7 running
Post by: LeseLaster on Feb 21, 2011, 09:43 pm
Sorry for the inconvenience. Now it works.

Hajo
Title: Re: MorseTweeter v.0.7 running
Post by: smeezekitty on Feb 21, 2011, 10:50 pm

Sorry for the inconvenience. Now it works.

Hajo

Still no  go.
Title: Re: MorseTweeter v.0.7 running
Post by: LeseLaster on Feb 21, 2011, 11:34 pm
Sometimes I do not understand software. Go now  8)

Hajo
Title: Re: MorseTweeter v.0.7 running
Post by: janeik on Feb 22, 2011, 03:29 am
Thumbs up from a former radio-officer and ham (ex LA5RT).

73's

regards
Title: Re: MorseTweeter v.0.7 running
Post by: smeezekitty on Feb 22, 2011, 06:51 am
Is it ok if I use the core of your morse generator code with http://arduino.cc/forum/index.php/topic,52990.0/topicseen.html to send it over AM radio? It is low power so it should be legal.
Title: Re: MorseTweeter v.0.7 running
Post by: LeseLaster on Feb 22, 2011, 12:47 pm
Hello,


Is it ok if I use the core of your morse generator code with http://arduino.cc/forum/index.php/topic,52990.0/topicseen.html to send it over AM radio? It is low power so it should be legal.


Two answers:
- You can use the code wherever you want - WAIT: But not if you are programming some atomic bombs  8)
- I am a ham-operator and don't know where you live, but anyway: Even an OM (Old Man) is not allowed to transmit in this frequency range, so ...

If you have no licence to use shortwaves, why not trying it with modulated light or infrared LEDs http://www.extremecircuits.net/2010/05/ir-music-transmitter-and-reciever.html (http://www.extremecircuits.net/2010/05/ir-music-transmitter-and-reciever.html). 

But you told in the other thread that you dont know how to read sheetmusic. As always help is on the way: For a starter use BWV 988 the Goldberg-Variations
http://hajos-kontrapunkte.blogspot.com/2011/01/goldberg-variationen-von-johann.html (http://hajos-kontrapunkte.blogspot.com/2011/01/goldberg-variationen-von-johann.html)

It may take some time  8), but you will be rewarded.

Hajo
Title: Re: MorseTweeter v.0.7 running
Post by: smeezekitty on Feb 22, 2011, 08:53 pm

- I am a ham-operator and don't know where you live, but anyway: Even an OM (Old Man) is not allowed to transmit in this frequency range, so ...

The transmission is literally so weak it does not leave the house.