Author Topic: Making of a simple RF morse transmitter/receiver  (Read 10959 times)

0 Members and 2 Guests are viewing this topic.

Offline Mutad0rTopic starter

  • Contributor
  • Posts: 18
Making of a simple RF morse transmitter/receiver
« on: April 14, 2015, 09:02:25 pm »
I'm learning about RF stuffs.

What I'm trying to achieve is a simple pair of a transmitter and a receiver that can be used to send morse code ( I chose morse code because the both the modulation and demodulation are done by my brain.) For the purpose of expandability to a digital system where the transmitters button is replaced by a GPIO of an MCU and the receivers output is connected to another MCUs GPIO, lets not use a buzzer on the receiver, but instead an LED.

So, on the transmitters end I would push a button, and while the button is pressed, a continious sinewave is created at x frequency. This transmitter is very simple, basically all you need is a circuit that makes a sinewave and a button to control whether it's turned on or off. The transmitter part I can actually achieve on my own, depending on the frequency. (I have no idea how near-GHz signals are made, considering that chrystals dont go up that far as much as I know.)

The problematic part is the reciever ( to a degree ). I've used filters for audio purposes before, so the first step would be to make a band-pass filter or use a premade filter (from what I understand, a SAW filter can be used for this). The most problematic part for me is turning the received RF signal into a digital one, I found some information on that online ( using the MAX9930, but that doesn't sound like the way that it's usually done.)

From experience it's possible that I've used the wrong key-words on google and thus havent found a proper answer to my question, although I have had some close misses.

Hopefully I haven't been too confusing while explaining what I'm trying to achieve, but I'm confused so what do you expect?

Any and all information that you have to share about a simple on/off signal transmitter/reciever is welcome!
 

Online Simon

  • Global Moderator
  • *****
  • Posts: 17816
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Making of a simple RF morse transmitter/receiver
« Reply #1 on: April 14, 2015, 09:11:40 pm »
ok so what exactly do you want to do ? you can get off the shelf modules
 

Offline VK5RC

  • Supporter
  • ****
  • Posts: 2672
  • Country: au
Re: Making of a simple RF morse transmitter/receiver
« Reply #2 on: April 14, 2015, 11:07:12 pm »
I would look up ham groups esp QRP (which means low power)  they love simple/elegant transmitters /receivers.  Re GHz,  you usually use a crystal,  amplify it,  distort it deliberately then filter off the harmonic you want.
Edit ;you will need to check with your RF authority re power levels and frequency you can use.
« Last Edit: April 15, 2015, 12:15:21 am by VK5RC »
Whoah! Watch where that landed we might need it later.
 

Offline skyjumper

  • Regular Contributor
  • *
  • Posts: 87
Re: Making of a simple RF morse transmitter/receiver
« Reply #3 on: April 15, 2015, 03:41:00 am »
A friend of mine built an entire low power (QRP) 40 meter CW transceiver based on seven 2N2222 transistors and a small number of other components, resistors and capacitors. If anyone is interested, I'll ask his permission to post the schematic. He did a board for it as well. He has a bunch of contacts with it.

You would need a ham radio license to use this though.
 

Offline Mutad0rTopic starter

  • Contributor
  • Posts: 18
Re: Making of a simple RF morse transmitter/receiver
« Reply #4 on: April 15, 2015, 08:58:11 am »
Let me clarify that I dont want to make something useful, I want to learn. I could use off the shelf RF chips or modules, but then I wouldn't learn anything.

Let's talk about turning that sinewave into a digital signal. Me thinks peak detection can be a way to solve this. I have made a crude drawing to accompany this ( i've added it as an attachment). The red line can be the voltage required to turn on a MOSFET, so when the green line goes over the red line, the mosfet is on and you get a 1/0 output.

Again, I appologize for being confusing, but I have soo much going on right now, the worst of which is studying for entrance exams for the university, considering that the education I was given doesn't even cover most of the things in there. Sure, I could concentrate on that and forget about this RF stuff, but unfortunately I have to for reasons too many to explain :)
« Last Edit: April 15, 2015, 09:40:35 am by Mutad0r »
 

Offline VK5RC

  • Supporter
  • ****
  • Posts: 2672
  • Country: au
Re: Making of a simple RF morse transmitter/receiver
« Reply #5 on: April 15, 2015, 09:32:32 am »
Have you thought about getting your ham licence? You have to learn about rf,  most hams are members of a local club,  meet,  have rf talks,  swap/sell/buy gear etc.  You then get serious access to decent amounts of rf spectrum and power to do some serious experimentation.
Whoah! Watch where that landed we might need it later.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19522
  • Country: gb
  • 0999
Re: Making of a simple RF morse transmitter/receiver
« Reply #6 on: April 15, 2015, 09:43:30 am »
Yes you can buy modules but I assume you want to do this yourself.

The easiest way to do this is to use 27MHz band which is free.

The receiver is fairly simple too. The easiest way is to use a beat frequency oscillator to generate an audible signal from the signal received. The receiver is just an oscillator with a slightly different frequency than the signal you want to receive.
 

Offline Mutad0rTopic starter

  • Contributor
  • Posts: 18
Re: Making of a simple RF morse transmitter/receiver
« Reply #7 on: April 15, 2015, 09:45:10 am »
Not really. I don't know how helpful that would be in Finland. I'm not concerned about making RF devices unlicenced because my goal is to get a signal from 1 meter (So really low power).
 

Online Simon

  • Global Moderator
  • *****
  • Posts: 17816
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Making of a simple RF morse transmitter/receiver
« Reply #8 on: April 15, 2015, 10:12:37 am »
Not really. I don't know how helpful that would be in Finland. I'm not concerned about making RF devices unlicenced because my goal is to get a signal from 1 meter (So really low power).

So if you tell us more about what you want to to we can bettere help, transmitting RF can be required from metres to thousands of Km
 

Offline AG6QR

  • Frequent Contributor
  • **
  • Posts: 857
  • Country: us
    • AG6QR Blog
Re: Making of a simple RF morse transmitter/receiver
« Reply #9 on: April 15, 2015, 11:07:47 am »
Regarding peak detection for turning the audio back to on-off digital signal, that sometimes works.  But it has problems with weak signals in the presence of noise.  A well-trained ear is hard to match for decoding Morse over a long-distance HF path.  To come close, you've got to look not only at the volume of the signal, but also at the spectral purity.  FFT and DSP can be helpful.  Most noise is not as pure a tone as a signal.

Regarding the RF side, look up the Rockmite, a very popular and simple tranciever that works amazingly well.  But it uses the human ear for decoding.

Finally, I agree with those who suggest getting a license and playing with this for real.
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3785
  • Country: de
Re: Making of a simple RF morse transmitter/receiver
« Reply #10 on: April 15, 2015, 12:23:57 pm »
If you want a simple CW transmitter, then Michigan Mighty Mite is a fairly easy project:

http://www.qsl.net/wb5ude/kc6wdk/transmitter.html

Receiver can be a little more complicated, but there are tons of simple receivers around, for example:

http://www.qsl.net/wb5ude/kc6wdk/receiver.html - essentially a crystal set with a BFO.

However, as mentioned by others already - make sure you have your HAM ticket (and that actually you have HF privileges - in many countries the basic licenses don't include or heavily restrict them!) before you attempt to connect a transmitter to anything even remotely resembling an antenna. Otherwise you will be rather quickly tracked down and fined. HAMs generally don't like interference in their HF bands and are fairly good at triangulating signals.

Good luck!




« Last Edit: April 15, 2015, 12:27:27 pm by janoc »
 

Offline deephaven

  • Frequent Contributor
  • **
  • Posts: 796
  • Country: gb
  • Civilization is just one big bootstrap
    • Deephaven Ltd
Re: Making of a simple RF morse transmitter/receiver
« Reply #11 on: April 15, 2015, 02:04:49 pm »
OP only wants a range of 1 metre, so power will be so low it would be difficult to triangulate him!

Did you have a particular frequency in mind? There are a few license exempt bands available.
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3785
  • Country: de
Re: Making of a simple RF morse transmitter/receiver
« Reply #12 on: April 15, 2015, 06:00:24 pm »
OP only wants a range of 1 metre, so power will be so low it would be difficult to triangulate him!

Don't underestimate a simple oscillator. The Michigan Mighty Mite that I have posted a link to is a single transistor affair, producing about 500mW of power  at 12V. If you happen to connect that to a piece of long wire that will act as an antenna, you can achieve transcontinental contacts with it. It has been done. Even with a much poorer antenna you will easily cause interference - the fact that your primitive receiver is unable to pick the signals up at more than 1m doesn't mean that someone else with a better equipment can't.

Unless you are planning to only ever transmit into a dummy load, you should assume that someone may (and will) hear your signal.

Did you have a particular frequency in mind? There are a few license exempt bands available.

Most license-exempt bands, such as the various ISM ones or the CB band don't really allow homebrew equipment - the equipment needs to be certified and not user-modifiable (=tamper-evident seals, fixed power limiters etc.) to be able to operate there legally. Not something an amateur is likely going to do.

Also, with the exception of CB, most of those are in the upper VHF and UHF, (100MHz+) ranges - not something easily approachable for a beginner wanting to build something from scratch, not using a pre-made module.

Pretty much the only bands where you can meaningfully and legally experiment with transmitters are HAM HF and VHF/UHF ones - and for those you do need a license. The exact laws and rules differ between countries, of course - e.g. the popular wireless "bugs" or microphones that one can receive on a normal FM radio are illegal in the most of Europe but supposedly OK in the US (different max. power limits).

If the OP is interested in transmitters and radio (it is a wonderful hobby, btw!), I strongly suggest he gets at least a basic HAM radio operator license. Most countries don't require Morse code anymore, the exam is often only a test from the rules and basic operating skills.

 

Offline G0HZU

  • Super Contributor
  • ***
  • Posts: 3015
  • Country: gb
Re: Making of a simple RF morse transmitter/receiver
« Reply #13 on: April 15, 2015, 07:01:17 pm »
The first (and most basic) receiver circuit to try would be a simple envelope detector followed by a comparator. eg a simple schottky diode detector plus a cheap modern equivalent of the LM311 comparator for example. This would give a DC voltage from the envelope detector according to signal strength and you define the threshold of a 0 and a 1 with the comparator threshold voltage.

The performance will be relatively poor but it will work OK across a small room and it will produce a digital output from the LM311 if an external 2K2 pullup resistor to 5V is fitted at its output for example.

It would take about 15 minutes to build it and it would cost maybe $2 in parts. Once you realise how limited it is in performance you can reuse most of the parts in a more sophisticated receiver design because the comparator can be used again here.

« Last Edit: April 15, 2015, 07:03:49 pm by G0HZU »
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3785
  • Country: de
Re: Making of a simple RF morse transmitter/receiver
« Reply #14 on: April 16, 2015, 09:57:46 am »
Well, if one is going to use some ICs, then the venerable NE612/SA612 allows to build a simple direct conversion receiver in about the same time and money with much better performance.

Use either a crystal for the LO or one of the many cheap AD9851 DDS modules available from eBay if you want variable frequency and don't fancy building an actual VFO (or use the one in the chip itself).

Depending on the oscillator/VFO and antenna, this sort of receiver can easily receive AM broadcast signals from all over the world, CW, SSB signals etc. And it is a very good way to learn about the about the basics of oscillators, mixers, filters, etc, especially if you have a scope and can look at the signals directly.

Here is a fairly simple circuit:
http://www.waveguide.se/?article=ne612-receiver-experiment

It can be simplified even more, dropping the buffer opamp and the automatic gain control if you don't have a strong transmitter nearby (or a very good antenna) that would overload the input.

Theoretically, one could substitute the NE612 with something like a diode ring mixer + buffer, but I wouldn't recommend that for a newbie - those things need carefully picked parts and winding transformers to work well.
 

Offline albert22

  • Regular Contributor
  • *
  • Posts: 177
Re: Making of a simple RF morse transmitter/receiver
« Reply #15 on: April 16, 2015, 03:53:36 pm »
I think that is better to build the receiver first. You will learn a lot and a license is not needed. It will be very rewarding when you start to receive the first signals.
There are a lot of projects on the web the magic word to search (as somebody said) is QRP followed by rigs, transmitters or receivers. Although  qrp applies only to the transmitted power.
The simplest receiver you can build is a regenerative. Look in the link below for "A very simple receiver" (just one JFET)
http://www.qsl.net/pa2ohh/
Receiving morse code is different from receiving a CW signal for a digital signal or remote control. To hear the beeping sounds of the morse code you need a receiver with a BFO (beat frequency oscillator). The regenerative can do this.
An envelope detector will give you the digital signal but you will only hear clicking sounds instead of the morse code beeping. Gating an audio oscillator with the envelope detector will give you the beeps to decode morse in your brain.
For an example of a remote control tx rx:
http://electronics.stackexchange.com/questions/42923/what-do-i-need-for-a-basic-rf-circuit
There are unlicensed bands for remote control.
 

Offline G0HZU

  • Super Contributor
  • ***
  • Posts: 3015
  • Country: gb
Re: Making of a simple RF morse transmitter/receiver
« Reply #16 on: April 16, 2015, 05:38:22 pm »
I think that is better to build the receiver first. You will learn a lot and a license is not needed. It will be very rewarding when you start to receive the first signals.
There are a lot of projects on the web the magic word to search (as somebody said) is QRP followed by rigs, transmitters or receivers. Although  qrp applies only to the transmitted power.
The simplest receiver you can build is a regenerative. Look in the link below for "A very simple receiver" (just one JFET)
http://www.qsl.net/pa2ohh/
Receiving morse code is different from receiving a CW signal for a digital signal or remote control. To hear the beeping sounds of the morse code you need a receiver with a BFO (beat frequency oscillator). The regenerative can do this.
An envelope detector will give you the digital signal but you will only hear clicking sounds instead of the morse code beeping. Gating an audio oscillator with the envelope detector will give you the beeps to decode morse in your brain.
For an example of a remote control tx rx:
http://electronics.stackexchange.com/questions/42923/what-do-i-need-for-a-basic-rf-circuit
There are unlicensed bands for remote control.

The OP prefers to decode via an LED indicator and didn't want a buzzer/beeper. But an envelope detector would have worked with either. A basic regenerative receiver using a single JFET would have to be carefully tuned for correct feedback and then and netted into the signal every time it was used (to hear morse code correctly) and it would drift a lot over time. The envelope detector would not need any tuning to just 'work' across a room.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19522
  • Country: gb
  • 0999
Re: Making of a simple RF morse transmitter/receiver
« Reply #17 on: April 16, 2015, 07:24:40 pm »
I think it's best to first design a basic transmitter and receiver, before worrying about detecting the tone. A crystal controlled BFO would probably be the most stable way of detecting the signal.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf