Hello everybody hope you’re doing well,
in this instructable I’m going to show you how to make a wireless motion alarm system, this device consists of a transmitter and a receiver. So essentially it is a pretty simple and basic wireless motion alarm system with light indication.
Besides being fairly useful it is also a simple project that is great for folks that are just starting to tinker with electronics and microcontrollers because in its concept it is pretty basic and is made from parts that are not hard to find. I will also share with you some tips and tricks on how to do some troubleshooting if you decide to give this project a go yourself.
Supplies
Arduino nano boards 2x
433 MHz transmitter and receiver module
PIR sensor
Switches 2x
LED
100-ohm resistor
Some kind of a box (one for a receiver, and one for a transmitter)
9v battery connector 2x
Tools Soldering iron as well as some solder, utility knife, pliers, wire cutters, drill.
Step 1: Get Your Components

Step 2: PIR (passive Infrared) Sensor

PIR sensor used in this project has 3 pins:
positive voltage-VCC,
ground-negative supply,
output,
in this step solder 3 wires, one wire goes to the VCC pin, the other one goes to ground (-), and the third one goes to output.
Step 3: 433 MHz RF Transmitter and Receiver Module

Step 4: Antennas

Those two boards have 3 pins (receiver board have 4 pins but second and third pins are connected together- and that is a data pin)
positive voltage-VCC,
ground-negative supply,
data,
in this step solder 3 wires, one wire goes to the VCC pin, the other one goes to the ground (-), and the third one goes to the data pin.
And also note that a longer antenna is required for this to work at a greater distance.
Step 5: Transmitter

Step 6: Receiver

Step 7: Arduino Codes
There are two codes for this project one for a transmitter, and one for a receiver.
Step 8: Transmitter Box

In order to install a PIR sensor in this box, I first measured the diameter of the PIR sensor (10 mm), then I used a 10 mm drill bit to make a hole for a PIR sensor.
Step 9: Transmitter Box (electronics)

Wiring it up is also simple and it goes like this: battery negative goes to the one side of a switch, then from a switch to the GND on the Arduino board, battery positive goes to the VIN pin on the Arduino board, and that is it.
Step 10: Receiver Box

I first measured the dimensions of a switch, then I traced them on the box, and then I cut it out. And for the LED hole I used a 5mm drill bit.
Step 11: Receiver Box (electronics)

Read more: DIY Arduino Wireless Motion Alarm System