6/30/2023 0 Comments Arduino morse decoder lcd dspI tried adding a smoothing capacitor as they have in power supplies. Meanwhile how do I get rid of those? I also had a look on the oscilloscope. If so that opens up further questions and ideas for exploration in the future. Perhaps it is changing at the frequency of the tone playing or at least at a ratio of the tone. There are lots of ups and downs… a real lot. This is what I saw when I connected it up. I have one of those really cheap data analysers that plug into my laptop. I was expecting the digital output would change when the audio tone of a beep was detected and change back when the tone ended. The audio module has two output pins an audio output and a digital output. The digital output of the audio module wasn’t what I expected It was some time before I got any success with that, which brings me to an unexpected feature of the audio module. With that working I was encouraged and then added a standard audio module and gave up on the key. Sending Morse using appropriate timing, even slowly is much harder than I expected. After quite a bit of coding, well lots more thinking than coding, I was able to get it display a single character on the screen with input from the Morse key. I connected it to an LCD module and an Arduino Nano. Added a pulldown resistor and capacitor to reduce bouncing. I started with a simple Morse key that I made from a piece of scrap timber, bending a piece of metal strapping from around the packing of some large item we had purchased, a few screws and an old knob. It decodes the Morse of this recreation of the messages from the Titanic on this YouTube video fairly reliably. While it could do with a bit more development and tweaking, it is now at a point that it works reasonably well, at least where the audio doesn’t have too much background static and hiss. The project was partly about trying out some ideas with the case as well as the actual unit. Part of the build was trying to come up with a simple to build and interesting project enclosures. Build into a wooden box made from old timber I had.I started with D13 as it was already on the module. An LED that illuminates when the processor believes it is receiving a dot or dash. There is one already on the microphone module I used. An LED that lights when the microphone module activates, that is it is receiving a dot or dash.Potentiometer to set the input sensitivity.
0 Comments
Leave a Reply. |