11/16/2023 0 Comments Binary morse code translator![]() ![]() We utilized a signal to pass a Bus full of Morse Code LED outputs outside of the process and onto the LED's on the board so that we could light up multiple ones at once, rather than just have one LED flash. ![]() The second process creates our clock for the LED's to run at, so that we can see the pulses clearly and differentiate between the Dot and Dash, along with have adequate time in between each section of Morse code. We made the seven segment display in the Decimal Number System so that it was easier for people to see what letter they were trying to represent, since the majority of the population uses base 10 number systems. We assigned the segments accordingly, so that they would display certain digits when we asked them too, and had it cycle through the last 2 digits because we only needed 2 to show all of the numbers in the alphabet. We needed to make sure that the clock was correctly displaying the number to the correct seven segment sections we wanted. The first process we created utilized a clock divider to make the seven segment display work for two segments in order to show the binary equivalent of the letter that the person was creating. Each of the following sub sections in this step will go more in depth into what each of them does. Our code features 4 separate processes that all run simultaneously. It is recommended that you use a BASYS3 Board for simplicity, but it is not required. It takes in 1 letter at a time, stores it in memory, and then prints out the Morse code when the user is ready by activating the "Print switch" found on the far left of the BASYS3 board (this is simply another switch that we assigned to be the "Print Switch", or another switch if using a different type of FPGA board and assign a different switch (See step 3). The number you create is shown on the seven segment display as stated before and is located on the left of the board, it will simply tell you whether you made a mistake or not in representing the binary number with the switches, or confirm that you made the correct number. The binary number is created with the switches on the right hand side, and ascends from the least significant bit, much like you would expect when creating a binary number. The Decimal version of the number is also displayed on a seven segment display however, to let you know that you are creating the correct binary equivalent. This translator will allow you to pick the letter you want to learn in Morse Code, and translate it right in front of your eyes by flashing LED's in the pattern it represents for that specific letter! This Translator takes in a binary representation of a letter in the alphabet, (a chart can be seen later on for each letters' binary equivalent, but assume that A - 01, B - 10, C - 11, and so on) and converts it into a Morse code equivalent by flashing lights for the user. Seeing Morse Code representations online to learn it is helpful, but cannot be compared to seeing it in person with real flashing lights/sounds. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |