Help with morse code - Jeep Wrangler Forum
Jeep Wrangler Forum

Go Back   Jeep Wrangler Forum > Military Jeep Forum > Military Jeep General Discussion Forum

Join Wrangler Forum Today


Reply
 
Thread Tools

Please support our sponsors and let them know you heard about them on WranglerForum.com
Old 03-14-2014, 02:29 PM   #1
Jeeper
 
dangle's Avatar
 
Join Date: Feb 2013
Location: Mt. Dora, Florida
Posts: 157
Help with morse code

Iím working on a project for my Jeep where I can broadcast morse code via lights. The goal is to be able to type in a message on my phone, which gets sent to a micro computer in my Jeep. The computer will translate the text into morse code and will flash my off road lights or LEDs (I havenít decided).

Iíve just started this project and have completed writing the code to translate text to morse code. Having never used morse code before, Iím concerned with the pauses between dits and dahs, between letters, and between words.

Iíve recorded a short video with 3 messages. Iím far from hooking this up to my jeep, but for now, I can flash lights on the computer board.

Can you tell me what Iím broadcasting in this video https://vimeo.com/88960996 ?

Thanks for the help.

dangle is offline   Quote Quick Reply
Old 03-14-2014, 02:49 PM   #2
Jeeper
 
PapaZed's Avatar
 
Join Date: Jan 2014
Location: Grand Rapids, MI
Posts: 16
Wow, I can't tell and I know code... Guess I'm a lot better with audio input.
For your element, inter-element, inter-character, and inter-word spacing I found this:

Character Spacing and Calculating Morse Code Speed

The word PARIS is the standard to determine CW code speed. Each dit is one element, each dah is three elements, intra-character spacing is one element, inter-character spacing is three elements and inter-word spacing is seven elements. The word PARIS is exactly 50 elements.
Note that after each dit/dah of the letter P -- one element spacing is used except the last one. (Intra-Character).
After the last dit of P is sent, 3 elements are added (Inter-Character). After the word PARIS - 7 elements are used.
Thus:
P
di da da di
1 1 3 1 3 1 1 (3) = 14 elements
A
di da
1 1 3 (3) = 8 elements
R
di da di
1 1 3 1 1 (3) = 10 elements
I
di di
1 1 1 (3) = 6 elements
S
di di di
1 1 1 1 1 [7] = 12 elements
Total = 50 elements
() = intercharacter
[] = interword

If you send PARIS 5 times in a minute (5WPM) you have sent 250 elements (using correct spacing). 250 elements into 60 seconds per minute = 240 milliseconds per element.

13 words-per-minute is one element every 92.31 milliseconds.


For flashing lights I'd stay with about 5 words-per minute.

Steve

PapaZed is offline   Quote Quick Reply
Old 03-14-2014, 06:01 PM   #3
Jeeper
 
dangle's Avatar
 
Join Date: Feb 2013
Location: Mt. Dora, Florida
Posts: 157
Yep, that's what I used as a reference. I must have a bug. I'll trace out the elements and run "paris" through it to see where I'm off.
dangle is offline   Quote Quick Reply
Old 03-14-2014, 08:47 PM   #4
This space for rent

WF Supporting Member
::WF Moderator::
 
Beastmaster's Avatar
 
Join Date: Aug 2011
Location: The Old Pubelo
Posts: 23,059
Wow, that's pretty awsome.

I doubt that anyone will be able to figure out why your lights are flickering though.



Just sayin'

Beastmaster is offline   Quote Quick Reply
Old 03-14-2014, 09:08 PM   #5
Jeeper
 
dangle's Avatar
 
Join Date: Feb 2013
Location: Mt. Dora, Florida
Posts: 157
Yeah it's probably not practical in this day and age but I thought it would be an easy first step to hacking my jeep
dangle is offline   Quote Quick Reply
Old 03-14-2014, 09:22 PM   #6
Jeeper
 
dangle's Avatar
 
Join Date: Feb 2013
Location: Mt. Dora, Florida
Posts: 157
Ok here is my second attempt. I'll go ahead and let you know I'm doing two different messages. The first is "paris paris" and the second is "sos sos".

https://vimeo.com/89160806

Here is the output of what my program is doing for one broadcast of "paris" (to line up with the information provided above):

* on/off refers to the light state

playing word: paris
playing char: p converted to '.__.'
> first element is .
on for 240ms (1 unit)
off for 240ms (1 unit) - intra-word pause
> next element is _
on for 720ms (3 units)
off for 240ms (1 unit) - intra-word pause
> next element is _
on for 720ms (3 units)
off for 240ms (1 unit) - intra-word pause
> last element is .
on for 240ms (1 unit)
off for 720ms (3 units) - inter-char pause
total elements in character: 14
--
playing char: a converted to '._'
> first element is .
on for 240ms (1 unit)
off for 240ms (1 unit) - intra-word pause
> last element is _
on for 720ms (3 units)
off for 720ms (3 units) - inter-char pause
total elements in character: 8
--
playing char: r converted to '._.'
> first element is .
on for 240ms (1 unit)
off for 240ms (1 unit) - intra-word pause
> next element is _
on for 720ms (3 units)
off for 240ms (1 unit) - intra-word pause
> last element is .
on for 240ms (1 unit)
off for 720ms (3 units) - inter-char pause
total elements in character: 10
--
playing char: i converted to '..'
> first element is .
on for 240ms (1 unit)
off for 240ms (1 unit) - intra-word pause
> last element is .
on for 240ms (1 unit)
off for 720ms (3 units) - inter-char pause
total elements in character: 6
--
playing char: s converted to '...'
> first element is .
on for 240ms (1 unit)
off for 240ms (1 unit) - intra-word pause
> next element is .
on for 240ms (1 unit)
off for 240ms (1 unit) - intra-word pause
> last element is .
on for 240ms (1 unit)
off for 1680ms (7 units) - inter-word pause
total elements in word: 50

It seems to line up with the example above... Am I missing something?
dangle is offline   Quote Quick Reply
Old 03-15-2014, 01:54 AM   #7
Jeeper
 
afd660's Avatar
 
Join Date: Mar 2012
Posts: 153
I used to be a Navy Signalman and we would read flashing light in morse code, and I think I got your messages..... 1st..."SOS" ...the 2nd part I got "TRAIL 43", 3rd part I got "JEEP WAVE"....

It was bit difficult to read, partly because I haven't used visual morse code in about 8 years. LOL... I think if you made your dits last a little shorter or "sharper" and your dahs are good or maybe even just a tad longer it would be easier to read. The spacing between words and letters was good.

In the paris video it was easy to make out. Not sure if you changed the timing of the dits and dahs. Yeah maybe a lot of people wont notice or know what its saying but there are a small few out there that will. Cool idea.

this is me back in my Signalman days 19 years old.... lol
File:US Navy 030816-N-4055P-001 Signalman 3rd Class Jonathon Lheureux, from Panama City, Fla., signals another ship from the bridge wing aboard the 7th Fleet command ship, USS Blue Ridge (LCC 19).jpg - Wikimedia Commons
afd660 is offline   Quote Quick Reply
Old 03-15-2014, 09:56 AM   #8
Jeeper
 
dangle's Avatar
 
Join Date: Feb 2013
Location: Mt. Dora, Florida
Posts: 157
You got it afd660, those were my messages in the first video.

The paris video was a complete rewrite of my code. Glad to hear that one was easier to read. I must have had something off in the first attempt.

Thanks for the help you guys. I really appreciate it!

I'll post an update when I get further along with this project.
dangle is offline   Quote Quick Reply
Old 03-15-2014, 01:04 PM   #9
Jeeper
 
PapaZed's Avatar
 
Join Date: Jan 2014
Location: Grand Rapids, MI
Posts: 16
dangle, your second video is easy copy. Thats pretty cool!
afd660, awesome pic! Always wear your dress whites while on duty... heh heh I'm ex CG - 40 some years ago.

Steve ..
PapaZed is offline   Quote Quick Reply
Old 03-15-2014, 03:43 PM   #10
Jeeper
 
afd660's Avatar
 
Join Date: Mar 2012
Posts: 153
Yeah the paris video was easier to read. I would recommend using the LED's to flash, the filaments in standard lights will break faster with it heating up and cooling down a lot.


PAPAZED- so you were a puddle pirate huh??? lol... had to wear the working whites since we were pulling out of port. Cant remember which port it was though. What was your rate??? RM???
afd660 is offline   Quote Quick Reply
Old 03-15-2014, 06:27 PM   #11
Jeeper
 
PapaZed's Avatar
 
Join Date: Jan 2014
Location: Grand Rapids, MI
Posts: 16
^^
Knee deeper, puddle pirate, ice cream navy... Good times.
I was an ET (aka squirrel). Got to fix the xmtrs after the RMs tuned for max smoke.
Actually, I had a lot of fun with the RMs, they knew how to party. Wow, blast from the past.

Sorry dangle,. Just a little idle chit-chat in your thread. Looking forward to your next update.
PapaZed is offline   Quote Quick Reply
Old 03-16-2014, 05:12 PM   #12
Jeeper
 
dangle's Avatar
 
Join Date: Feb 2013
Location: Mt. Dora, Florida
Posts: 157
I thought the same thing with the lights burning out and agree that LEDs would be better suited. No worries on the chatter.

Dan
dangle is offline   Quote Quick Reply
Old 03-19-2014, 12:04 AM   #13
Jeeper
 
2five22's Avatar
 
Join Date: Jul 2012
Posts: 1,789
You might be better off with an Aldis lamp.
2five22 is offline   Quote Quick Reply
Old 03-19-2014, 10:26 AM   #14
Jeeper
 
WaltA's Avatar
 
Join Date: Sep 2013
Location: 3rd Planet, Sol system
Posts: 1,901
Wink

Quote:
Originally Posted by afd660 View Post
I used to be a Navy Signalman and we would read flashing light in morse code, and I think I got your messages..... 1st..."SOS" ...the 2nd part I got "TRAIL 43", 3rd part I got "JEEP WAVE"....

As Capt. Bart Mancuso said, "That's all right, Mr Ryan. My Morse is so rusty, I could be sending him dimensions on Playmate of the Month."
__________________
Current Jeep:
2014 Wrangler Unlimited Rubicon X
Previous Jeeps:
1987 Wrangler Laredo
1999 Cherokee Limited (Up Country,Trailer Tow)
[All custom ordered, purchased new]
WaltA is offline   Quote Quick Reply
Old 03-20-2014, 01:07 AM   #15
Jeeper
 
afd660's Avatar
 
Join Date: Mar 2012
Posts: 153
Quote:
Originally Posted by WaltA View Post
As Capt. Bart Mancuso said, "That's all right, Mr Ryan. My Morse is so rusty, I could be sending him dimensions on Playmate of the Month."


" they are travelling so fast they wouldnt hear a boombox on the ocean floor!!".... great movie... lol.. the Capt. was flashing really fast for morse code though.. to fast for me to read at least....

afd660 is offline   Quote Quick Reply
Reply

Quick Reply
Message:
Options

Register Now

In order to be able to post messages on the Jeep Wrangler Forum forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
User Name:
If you do not want to register, fill this field only and the name will be used as user name for your post.
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:

Log-in

Human Verification

In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.



Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




» Featured Product

All times are GMT -5. The time now is 05:46 AM.



Jeepģ, Wrangler, Liberty, Wagoneer, Cherokee, and Grand Cherokee are copyrighted and trademarked to Chrysler Motors LLC.
Wranglerforum.com is not in any way associated with the Chrysler Motors LLC