Pascal Converter for Generating Morse Code From Keyboard Keys

  • Thread starter Thread starter aminayousuf
  • Start date Start date
  • Tags Tags
    Converter Pascal
Click For Summary
SUMMARY

The discussion focuses on creating a Pascal program to convert keyboard inputs into Morse code signals using an NE555 timer and Turbo Pascal 6. Participants suggest utilizing the printer port to send signals corresponding to Morse code values, with specific procedures outlined for generating dots and dashes. The implementation involves defining routines for each Morse character, allowing for the translation of keyboard inputs into sound pulses. This approach leverages Turbo Pascal's capability to directly manipulate hardware ports for effective signal generation.

PREREQUISITES
  • Familiarity with Turbo Pascal 6 programming
  • Understanding of Morse code structure and representation
  • Basic knowledge of NE555 timer functionality
  • Experience with interfacing hardware through printer ports
NEXT STEPS
  • Study Turbo Pascal 6 syntax and programming techniques
  • Research Morse code encoding and decoding methods
  • Learn about NE555 timer applications in electronic projects
  • Explore interfacing techniques for printer ports in Turbo Pascal
USEFUL FOR

Electronics enthusiasts, programmers interested in Pascal, and anyone developing projects that involve Morse code transmission and hardware interfacing.

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
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
561