Tagged: fsk

Hackaday Tutorial: A Crash Course in RF Modulation – ASK, FSK and LoRa Explained Simply

Hackaday writer Danie Conradie has recently posted a new tutorial explaining the difference between some common RF modulation choices. To do this he uses various RF hardware modules, and an RTL-SDR Blog V3 unit to view the spectrum of each modulation type. In the post he compares Amplitude Shift Keying (ASK), Frequency Shift Keying (FSK), and LoRa. He also explains the differences between ASK and OOK modulation, and FSK and GFSK modulation.

The key takeaways are that ASK modulation is simple, but prone to interference. FSK is less prone to interference, but requires more bandwidth. LoRa is good for receiver sensitivity and interference immunity, but comes at the expense of bandwidth efficiency. In addition LoRa modulation is patented, resulting in higher hardware costs.

Comparing the spectrum of a pure FSK signal, versus a Gaussian FSK signal.
Comparing the spectrum of a pure FSK signal, versus a Gaussian FSK signal.

Unknown Signal Reverse Engineering and Decoding AFSK Signals Tutorial

Over on his blog "ele y ciencia" has written up two very useful blog posts - one on how to decode AFSK signals from scratch and the other on how to reverse engineer any unknown digital signal. The blog is written entirely in Spanish, but Google translate does a decent enough job at getting the message across (in Chrome right click anywhere on the page and select Translate to English or use the Google translate webpage).

The first post is about decoding an AFSK protocol and explains that you need to record the signal with an RTL-SDR or other SDR, apply a low pass filter to obtain the signal envelope and then apply thresholding with the known baud rate to obtain the demodulated digital signal. The tutorial is high level and just explains the process, but doesn't show how to do it in any software. Later on in the post he goes on to show how he reverse engineered a train-land radiotelephone system and a TCM3105 modem chip which utilizes a FSK system.

In the second post he shows how to decode any unknown digital signal using just an RTL-SDR and Audacity. He starts off with finding and recording an unknown digital signal with an RTL-SDR and then reverse engineers it in a sort of manual fashion without using any tools like Universal Radio Hacker. The post goes through the full details and steps that he took, and in the end he gets data out of the signal discovering that it is data from a Fleet Management System used in his country for monitoring data such as speed and engine data from commercial vehicles like trucks and buses.

The two posts are very detailed and could be an excellent reference for those interested in reverse engineering some unknown digital signals in your area.

Decoding an Unknown "Fleet Management" signal from scratch.
Decoding an Unknown "Fleet Management" signal from scratch.

Update to the RTL-SDR Transmitting at 1270 MHz

In our previous post we featured a video by OH2FTG which showed an RTL-SDR transmitting at 1270 MHz. Now OH2FTG has written in to give us some more information about the RTL-SDR transmitter. He has done a short writeup explaining how it’s done on his website. It turns out that the RTL-SDR is actually capable of transmitting a FSK morse beacon using it’s leaky oscillator.

In the video, code written by another ham OH2EAT is used. OH2EAT’s code essentially changes the frequency on the transmitting RTL-SDR at up to 300 times a second using a modified driver. This is used to create a Frequency Shift Keyed (FSK) transmission.

The modulating transmitter code is not yet available as it is not yet ready for release. In the future OH2FTG hopes to build an amplifier to boost the signal output for further experiments.

Decoding Efergy Energy Monitor Signals with RTL-SDR

An Efergy energy monitor is a wireless device with an LCD screen that shows how much power your household is using. The device is useful for helping reduce power usage by determining what appliances cause the largest power draw.

Nathaniel Elijah has posted on his blog about how he was able to create an RTL-SDR based decoder for the FSK data transmissions sent out by the Efergy energy monitor. His program receives and decodes the transmissions, saving the data to an excel file for later analysis.

Gough Lui from the Goughs Techzone blog has also attempted decoding these energy monitors as well, and has written a large writeup on his experiences.

Update: Gough Lui has been working on extending Nathaniels software and now has it working in Windows, and sending broadcast UDP packets of the received data.

Decoding an Efergy Energy Meter with RTL-SDR
Decoding an Efergy Energy Meter with RTL-SDR and a Raspberry Pi