/pymorse

Make a Raspberry convert your custom message in morse code (with PYTHON code) and play it with buzzer

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

PIMORSE

A morse code player with Raspberry PI and a Breadboard with a buzzer-circuit scheme

This program allow you to play a custom message on a Breadboard connected to a RasperryPI 1/2/3 on a circuit already built on the Breadboard following this scheme: Super Kit V2 for RaspberyPi by Sunfounder

Circuit to mount on the breadboard is right this one:

Buzzer

Python program - pimorse.py

It has just almost the same behaviour of corresponding C program that can be found here.

Run with

./pimorse.py

NOTE: You may check the first line #!/usr/bin/env python and eventually change env path according to your system configuration.

If you want to test program with no breadboard or circuit attached or just run in your PC, you could just run it with:

./pimorse.py -s or ./pimorse.py --simulate

In this way, no GPIO library will be called as imported modules.

You may also change dot beep duration by issuing --dot=NN parameter, where NN stands for seconds (NOTE: enter a fraction of second. Accepted value range is between 0.05 and 0.2 [default is 0.08])

Anyway, you may always run ./pimorse.py -h to see an help screen for command parameters.

C Source - pimorse.c

For C program version of pimorse, please refer to this git repository

License This source is released under the terms of GNU General Public License V. 3.0. Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.

Please read LICENSE.txt released with this code for further details.`