Two-Way Communication System & Signal Jammer
Two-Way Communication System & Signal Jammer
this sentence tells us that we don’t just need a normal transmitter & receiver
module we need two transceivers to make sense this feedback.
-Channel
The PA stands for Power Amplifier. It merely boosts the power of the signal
being transmitted from the nRF24L01+ chip. Whereas LNA stands for Low-
Noise Amplifier.
The function of the LNA is to take the extremely weak and uncertain signal
from the antenna (usually on the order of microvolts or under -100 dBm) and
amplify it to a more useful level (usually about 0.5 to 1V)
The low-noise amplifier (LNA) of the receive path and the power amplifier
(PA) of the transmit path connect to the antenna via a duplexer, which
separates the two signals and prevents the relatively powerful PA output
from overloading the sensitive LNA input.
Transaction with acknowledgement and interrupt.
This is an example of positive scenario. Here the transmitter starts a
communication by sending a data packet to the receiver. Once the whole
packet is transmitted, it waits (around 130 µs) for the acknowledgement
packet (ACK packet) to receive. When the receiver receives the packet, it
sends ACK packet to the transmitter. On receiving the ACK packet the
transmitter asserts interrupt (IRQ) signal to indicate the new data is
available.
Transaction with data packet lost This is a negative scenario where a
retransmission is needed due to loss of the packet transmitted.
After the packet is transmitted, the transmitter waits for the ACK packet to
receive.
When the retransmitted packet is received by the receiver, the ACK packet is
transmitted which in turn generates interrupt at the transmitter.
*Serial Peripheral Interface or SPI is a synchronous serial communication
protocol that provides full – duplex communication at very high speeds.
Serial Peripheral Interface (SPI) is a master – slave type protocol that
provides a simple and low-cost interface between a microcontroller and its
peripherals.
This new structure is great for several reasons. Firstly, it allows for variable
length payloads with a payload length specifier, meaning payloads can vary
from 1 to 32 bytes.
Secondly, it provides each sent packet with a packet ID, which allows the
receiving device to determine whether a message is new or whether it has
been retransmitted (and thus can be ignored).
RF Signal Jamming: -
Jamming wireless signals is defined as the disruption of existing wireless
communications by decreasing the signal-to-noise ratio at receiver sides
through the transmission of interfering wireless signals.
Jamming is just sending junk data through the air at specific frequency.
Example: -
Jamming a Wi-Fi signal
First, we need to know the range and channels of Wi-Fi spectrum.
Talking only about the 2.4GHz spectrum, Wi-Fi is spread out in channels –
each channel covers a 20MHz wide (BW), and they are separated by 5MHz
so, the first channel cover 2.402GHz to 2.422GHz; the second
2.407GHz to 2.427GHz and so on.
So, what about the interference?
Every device sending electromagnetic waves in the same spectrum will
disturb your network.
Even 2 different routers running at the same channel can cause some
disturbance and it will make your Wi-Fi run slower.
So, routers first check the best channel that its strength is greatest.
And this program will help us to determine which channel we need to destroy
and in what range of frequency.
Here we need to talk about the BW of the nRFL01
WHICH IS 1MHZ
How we can cover the noise all over this channel with BW of 20 Mhz
with only 1Mhz noise generator?
Here comes the programming role to make a loop which changing the
channel of the nRFL01 noise generator from the initial frequency of the
channel 1 to the final frequency.
Which is a loop of 20 turns or more
Question: why didn’t we make the loop starts from 1 to 125 to cover all the
BW of the nRFL01?
-simply because the effect of noise on the same channel will be weaker and
not concentrated at a specific channel but will be noticeable if we get closer
to the jammer.
Here is the code: -