Shop OBEX P1 Docs P2 Docs Learn Events
Morse Code Clock — Parallax Forums

Morse Code Clock

johnnycarlosjohnnycarlos Posts: 44
edited 2010-06-30 17:18 in Robotics
Hi Folks,

Here is my second project using the Propeller. It is a Morse Code Clock/Lamp. I had a lot of fun putting this together and I learned a lot too. Source code and schematic attached.

www.youtube.com/watch?v=vQwGw0s2qAc

John

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2010-06-21 06:34
    How do you sleep with that flashing light going off all the time? Just kidding!! That sounds like a really neat clock.

    My wife suggested mounting the light into a model ship... smilewinkgrin.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • johnnycarlosjohnnycarlos Posts: 44
    edited 2010-06-21 09:57
    Hey Beau,

    I wasn't envisioning a clock that was always on, but one that you pressed to check the time. The switch that came with the lamp is a toggle though, pressing it again does turn it off. I would have preferred an always open tact switch. It's just a novelty project to learn spin, I probably won't go through the effort to fix it [noparse]:)[/noparse]

    A model ship, what a great idea! I was thinking how awesome it would be to have a real ship lamp with a fresnel lens.

    Thanks!

    John
  • mparkmpark Posts: 1,305
    edited 2010-06-21 14:51
    Very creative! Looking forward to seeing what you come up with next.
  • WBA ConsultingWBA Consulting Posts: 2,934
    edited 2010-06-21 16:19
    Excellent project! Can't wait to see the time set buttons included. I might have to make one and put it next to my binary clock on my desk.
    Depending on how the switch in the lamp is made, you may be able to remove the latching spring to make it a momentary switch that just triggers the time display.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Andrew Williams
    WBA Consulting
    PowerTwig Dual Output Power Supply Module
    My Prop projects: Reverse Geo-Cache Box, Custom Metronome, Micro Plunge Logger
  • johnnycarlosjohnnycarlos Posts: 44
    edited 2010-06-21 16:29
    @WBA - This build does have time set buttons, it is in the schematic. I did not demo them in the video, mostly because I was embarrassed I didn't want to show you'd have to press the button each time for hours and minutes, So... 59 = 59 clicks. [noparse]:)[/noparse]

    Thanks for your kind words!

    John
  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2010-06-21 17:07
    johnnycarlos,

    Ohhh!!! If you mount the light on a ship you need to do away with ALL of the set buttons, and just have a light receiver on it as well. You 'set' the time by sending it the time in morse code with an ordinary flashlight!! smilewinkgrin.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • johnnycarlosjohnnycarlos Posts: 44
    edited 2010-06-21 17:17
    @Beau - what a grand idea!

    This forum is the greatest.

    John
  • Sparks-R-FunSparks-R-Fun Posts: 388
    edited 2010-06-21 23:27
    Clever clock! smile.gif
    johnnycarlos said...
    "I wasn't envisioning a clock that was always on, but one that you pressed to check the time. The switch that came with the lamp is a toggle though, pressing it again does turn it off. I would have preferred an always open tact switch."
    If the light is wired as a separate output and the switch is wired as a separate input...

    Then you can achieve a toggle effect by remembering the switch state the last time it changed.· Each time the switch changes state you can store that state and flash the time once.· Then wait for the switch to change states so you can repeat the process!
    ·
    ·
    · - Sparks-R-Fun!
  • MikerocontrollerMikerocontroller Posts: 310
    edited 2010-06-22 02:46
    Maybe you should contact Hack-a-Day. They always do write-ups on interesting clocks. I'm sure they will publish your project.
  • AJMAJM Posts: 171
    edited 2010-06-22 15:53
    Cool little project.

    Thank you for sharing it
  • johnnycarlosjohnnycarlos Posts: 44
    edited 2010-06-22 22:32
    Special thanks to Mikercontroller for submitting it to Hack A Day!

    Very inspiring, considering it's only my second attempt to build something with the Prop.

    John
  • heaterheater Posts: 3,370
    edited 2010-06-30 16:48
    I agree with Beau a Morse clock should only have one button, a proper Morse key.
    Perhaps audio output on the hour/half hour during the day time, like a good old chiming clock.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • hover1hover1 Posts: 1,929
    edited 2010-06-30 16:58
    And it made Project of the Week!

    www.parallax.com
    Jim
    Somebody said...
    Special thanks to Mikercontroller for submitting it to Hack A Day!
  • johnnycarlosjohnnycarlos Posts: 44
    edited 2010-06-30 17:18
    hover1 said...
    And it made Project of the Week!

    Wow, Project of the Week! Super cool.

    John
Sign In or Register to comment.