Door + PIR + LDR Wireless Sensor Alarm kit.

Arduino compatible project kit.

The easy way to learn how to interface an Arduino board to the USB port on a Raspberry Pi, Windows, Mac or Ubuntu PC.


Kit contents:
  • Arduino UNO R3 compatible board ATmega328 with USB cable.
  • Arduino Nano compatible mini board ATmega328 with USB cable.
  • 2x NRF24L01+ wireless transceiver SPI modules & cables.
  • Magnetic door sensor & 3 metres of cable.
  • PIR movement sensor
  • Light sensor
  • Buzzer
  • 2x Mini Breadboards
  • 3x male to male IDC cables & other small components you see in the main photo.
  • DVD with software & easy-to-follow PDF instructions.

The kit allows you to connect a magnetic door sensor or PIR module up to the smaller Arduino Nano board and have it communicate wirelessly with the Arduino Uno board, over the NRF24L01+ link.
You can experiment with PIR movement sensors, Magnetic Door sensors & the Light Sensor. You can use the light sensor to make a drawer, cupboard or fridge alarm.

The only thing not included are the USB battery packs shown in the photos. You can power the Arduino boards from USB mains adapter, USB battery packs or a PC/Mac or Raspberry Pi

It's compatible with Windows 10, 8 & 7, Mac, Ubuntu & Raspberry Pi.

When the door is opened, the Arduino sends a "Door OPENED" message over the serial/USB port to a Windows PC running our Python script.

The PC can then perform various possible actions using the different Python scripts we've put together:
  • Display a "Door OPENED" or "Door closed" message on the PC to alert you motion has been detected.
  • Send a text email to your phone, saying "Door OPENED", along with the time & date.
  • Grab a photo from an attached webcam & send it as an attachment to a Gmail account running on your phone.

We've tested the kit with a Logitech C270 USB webcam (not included) on Windows 7 64 bit, Windows 10 & Ubuntu & it sends a 1280x720 photo to our phone, when the alarm's triggered.
Our kit should work with all the Logitech models in that series, and likely many others too.







Python 2.7.8 compatible scripts included on the DVD:

  • door1.py - prints "Door OPENED" message to Windows display when the sensor is triggered.
  • door2.py - emails a "Door OPENED" text message to your phone when the sensor is triggered, along with date & time.
  • door3.py - emails a photo - grabbed from a compatible webcam - to your phone when the sensor is triggered. (not Mac OSX)
  • pir1.py - prints "Motion Detected" message to Windows display when the sensor is triggered.
  • pir2.py - emails a "Motion Detected" text message to your phone when the sensor is triggered, along with date & time.
  • pir3.py - emails a photo - grabbed from a compatible webcam - to your phone when the sensor is triggered. (not Mac OSX)
  • vidcaptest.py - saves a photo from an attached webcam - used to check your webcam is compatible with the Python libary.
  • helloworld.py - prints "helloworld"
  • wirelesstest.py - prints out the incoming 4 digit codes from the Arduino & NRF24L01+ receiver board on the PC/Mac Pi etc.
  • wirelesspir.py - emails your phone when the Arduino receiver picks up the PIR trasnmitter code, runs on PC/Mac Pi etc.  
  • wirelessdoor.py - emails your phone when the Arduino NRF24L01+ receiver detects door has been opened or closed, runs on PC/Mac Pi etc.
  • wirelessldr.py - emails your phone when the Arduino receiver detects light level drops below 200 or rises above 200, runs on PC/Mac Pi etc.

The Python scripts run on your Windows PC, Mac or Raspberry Pi with the Arduino compatible receiver board attached to the USB port.

Arduino Sketches included on the DVD:


  • ldrtest.ino - prints anagloue sensor values from the light dependent resistor to Arduinos Serial Monitor - use to calibrate the Python wirelessldr.py script.
  • receiverbeep.ino - Use the Arduino Uno board as a receiver that beeps when a valid 4 digit alarm code is detected. Doesn't require the Arduino to be connected to a PC.
  • receiver.ino - Use the Arduino Uno board as a receiver that passes codes over the USB port when a valid 4 digit alarm code is detected.
  • transmitpir.ino - Use the Arduino Nano board to send a 4 digit code over the NRF24L01+ board when motion is detected.
  • transmitdoor.ino - Use the Arduino Nano board to send a 4 digit code over the NRF24L01+ board when the door is opened or closed.
  • transmitldr.ino - Use the Arduino Nano board to send a 4 digit code over the NRF24L01+ board when light level goes above or below 200.

All the Python & Arduino code has been produced by ourselves & isn't available elsewhere.

The DVD also includes instructions, breadboard layout, an Arduino sketch & several Python scripts for monitoring a PIR module.

This kit doesn't require any soldering or programming skills. All the software is included.

The kit will teach you the basics about interfacing an Arduino to a Windows/Linux PC or Mac running Python 2.7.8

We've personally produced the easy-to-follow PDF instructions, Arduino sketches & Python scripts.

1st class UK signed for postage is £3.50. International AirMail shipping is £8.

(doesn't include a USB webcam or laptop or USB power bank batteries)


Questions & Answers:

Q. Does the board work just like a genuine Arduino Uno R3? I'm worried about buying a cheaper clone board...
A. Yes it does. Just choose Uno board in the options menu, set the correct Com port & then upload your Sketch to the board.
(If you have any problem programming the Dccduino board, you probably need to also install these PC/Mac/Linux USB serial port drivers: goo.gl/vJgBk9)

Q. Is the board already flashed with a bootloader.
A. Yes it is.

Q. Have you tested the board with Arduino 1.8.9 software.
A. Yes we have. We've tested with 1.8.9 on Windows, Mac & Ubuntu Linux.

--------------------
To use with a Mac
in terminal:
sudo rm -rf /Library/Extensions/usbserial.kext
sudo rm -rf /System/Library/Extensions/usb.kext

then download and install the USB ch340 driver for Mac:
https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver/blob/master/CH34x_Install_V1.5.zip

then into System Preferences -> Security -> General & allow the driver to install/run.

Then reboot and choose in Arduino 1.8.9 software: Tools -> Port -> /dev/cu.wchusbserial620  
--------------------

Q. Any issues programming the board?
A. No. Make sure you use only the USB lead we provide, nothing longer. Also, don't use USB extension leads or hubs while programming.

Q. Can I reflash the bootloader? Do I need to reflash the bootloader?
A. No, you shouldn't need to & if you did try you'd likely render the board useless.
(If you have any problems & come to the conclusion you need to reflash the boot loader, then we've likely just sent you a faulty board & you should return it for a swap or full refund.)

Q. How long is the warranty
A. 12 months RTB for a swap or return within 30 days for a full no quibble refund.

Q. Does the board come with instructions?
A. Yes we provide a DVD with several Arduino sketches showing you how to attach PIR modules & magnetic door contacts, plus Python scripts for Windows, Mac & Linux PCs and PDF instructions. All written by ourselves. (on a Mac the webcam option isn't supported yet).