This Python project allows you to send and receive CW (Morse code) messages using Icom radios. The project consists of separate modules responsible for radio communication, sending CW messages, and factory methods for creating message senders.
The project is structured into the following files:
radio_controller.py
: Contains theRadioController
class responsible for communication with Icom radios via serial port. It also includes theRadioFactory
class for detecting attached Icom radios and creating radio controller instances.cw_message_sender.py
: Defines theCWMessageSender
class, which is responsible for sending CW messages through an Icom radio.cw_message_sender_factory.py
: Implements theCWMessageSenderFactory
class, which creates instances ofCWMessageSender
for each detected Icom radio.main.py
: The main script of the project. It utilizes theCWMessageSenderFactory
to create message senders for all detected Icom radios and allows the user to send and receive CW messages interactively.
- Install the necessary dependencies by running
pip install -r requirements.txt
. - Ensure that your Icom radio is connected to the computer via a serial port.
- Run the
main.py
script using Python:python main.py
. - Follow the on-screen prompts to send and receive CW messages. Type
exit
to quit the program.
This project is licensed under the MIT License - see the LICENSE file for details.