Morse Code Receiver

Overview

This project uses an mBed, TextLCD, photocell, and speaker to take in Morse code using a flashlight and translate it to English on the TextLCD screen. A dot occurs when the light is on for one second while a dash is when the light is on for three seconds. An LED blinks every second to mark the time and make it easier for the user to determine how long to shine their light for. A tone is also played for each dot and dash as it occurs.

Components

Hardware

  • mbed LPC1768
  • Speaker (including a 2N3904 General Purpose Amplifier and 1k resistor)
  • TextLCD Screen
  • CdS Photocell

Connections

Speaker: Refer to the driver circuit as well as the diagram of the amplifier below to connect the speaker

/media/uploads/ibose3/speaker_pins_OtCxxHf.png

https://developer.mbed.org/media/uploads/4180_1/x_scaled_speakerdriverschem.png.pagespeed.ic.ZyP3lIY8da.png

https://developer.mbed.org/media/uploads/4180_1/300xNx2n3904.jpg.pagespeed.ic.UbB9ZfNPAN.jpg

TextLCD: Refer to the following Sparkfun datasheet: https://www.sparkfun.com/datasheets/LCD/GDM1602K-Extended.pdf

/media/uploads/ibose3/textlcd_pins_wLWFYZj.png

CdS Photocell: Refer to the voltage divider circuit below

/media/uploads/ibose3/cds_pins.png

/media/uploads/ibose3/cds_circuit.png

Here is an image of the set up:

/media/uploads/ibose3/lab_4_set_up.jpg

Program

Import programLightMorseCode

This program takes in Morse code via light using a photocell and translates it into characters on an LCD screen.

Demo


Please log in to post comments.