Pascal Converter for Generating Morse Code From Keyboard Keys

  • Thread starter Thread starter aminayousuf
  • Start date Start date
  • Tags Tags
    Converter Pascal
AI Thread Summary
A user is seeking assistance in creating a Pascal program to convert keyboard inputs into corresponding Morse code values for an electronic project using an IC 555 timer. The project aims to generate sound pulses that transmit Morse code via FM. The discussion highlights the potential of using Turbo Pascal for direct communication with the printer port, which allows for controlling output lines to generate the necessary signals. Suggestions include programming specific routines for Morse code symbols, such as procedures for dots and dashes, and creating individual procedures for each letter. The conversation emphasizes the feasibility of the project using older programming environments and provides a basic structure for implementing the Morse code conversion.
aminayousuf
Messages
2
Reaction score
0
hello evryone ..
can somebody help me with a PASCAL coverter prog for converting keyboard keys to correspondig morse code values!
i noe of no languages other than c and c++ .this is actually an electronic project i#m making and its based on ic 555 timer that upon clicking on keyboard keys generate the respective morse value sound pulses and transmits using F.M
 
Technology news on Phys.org
Why can you not do it in C? Is it homework?
 
Hello

i read your Question but i have no idea how you want to do this exactly but its
an interesting Problem. There are some ways it seems and one is maybe you
send to the printerport the State of the key because you have much output
lines for doing this ... 8 Data and others for control ..but at least you need only
one for the trigger output .. the signal

the old dos will be the best for it with the old good TurboPascal6 *gg

i don't know anything about morse codes except they are like this: .--...-..--...----..-.-

but how to put this to the line to the NE555,

in TurobPascal you are able to write directly to the Printerport so you can
set the Printer Data Pin1 to 1 or 0 and that's all you need .. the other is that you
have to programm the timersequenze for each key like a collection of 1 and 0
schematically like this routine
the first routine should for the point

procedure point
begin
port[$375]:=$FF;
delay(5);
port[$375]:=$0;
delay(10);
End;

then the procedure for the line

procedure Line
begin
port[$375]:=$FF;
delay(10); ;<------ here the Difference *gg
port[$375]:=$0;
delay(10);
End;

and now you can macke Procedures for the Keys

Procedure A
Begin
point;
Point;
Line;
Point;
Line;
Delay(20);
End;

Procedure B
Begin
Line;
Point;
Point;
Line;
Line;
LIne;
Delay(20);
End;

and so on

so you have Procedures for each Key or Text you can translate to morse-code

:-D

Good luck for your project

bye bye
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Thread 'Project Documentation'
Trying to package up a small bank account manager project that I have been tempering on for a while. One that is certainly worth something to me. Although I have created methods to whip up quick documents with all fields and properties. I would like something better to reference in order to express the mechanical functions. It is unclear to me about any standardized format for code documentation that exists. I have tried object orientated diagrams with shapes to try and express the...
Back
Top