Things used in this project

Hardware components:
Ardgen mega
Arduino Arduino Mega 2560 & Genuino Mega 2560
Ard wifi101
Arduino Arduino Wifi Shield 101
Arduino Proto Shield
Any variant of the protoshield should work.
RFID Reader ID-20LA (125 kHz)
Adafruit 6 x AA battery holder
Adafruit N-channel power MOSFET - 30V / 60A
0.47uF, 50V Multilayer Ceramic Capacitor
Mfr 25frf52 100r sml
Resistor 100 ohm
Mfr 25fbf52 221r sml
Resistor 221 ohm
Mfr 25frf52 1k sml
Resistor 1k ohm
Fairchild semiconductor 1n4004. image
1N4007 – High Voltage, High Current Rated Diode
12577 01
SparkFun SparkFun Bluetooth Modem - BlueSMiRF Silver
09264 1
RGB Diffused Common Anode
Keystone 233 image 75px
9V Battery Clip
Adafruit Rugged Metal Pushbutton with Green LED Ring - 16mm Green Momentary
Adafruit Magnetic contact switch (door sensor)
Adafruit industries ada1536 image
RFID Tags (125 kHz)
Assorted. A suggested link has been provided.
Servo - Hitec HS-646WP (Standard Size)
Waterproof to IP67
SparkFun Channel Bracket A
SparkFun Shaft - Solid (Stainless; 1/4"D x 3"L)
Software apps and online services:
Microsoft Azure IoT Hub
Microsoft Azure Stream Analytics
Microsoft Azure SQL Database
Microsoft Visual Studio 2015
Ide web
Arduino Arduino IDE
Hand tools and fabrication machines:
Drill with various drill bits for drilling the holes for the cable gland and bulkhead USB connector
Any hardware store; the cable gland is 1/2" diameter and the USB bulkhead is a Bulgin PX0845/B, but a Bulgin PX0842/B would have fit better.
09507 01
Soldering iron (generic)
Needed if using the protoshield.

Custom parts and enclosures

SparkFun Big Red Box
This is the main enclosure for the project.


Breadboard Layout
Schematic for breadboard layout of the Gatekeeper circuit.
Arduino%20iot%20gatekeeper bb1
Locking Mechanism for Gate with Combined Deadbolt and Handle
This is the locking mechanism I came up with that is meant to be mounted on a gate like the one at my house. It can be modified to accommodate other types of gates or doors.
Img 3614
View of Mounted Locking Mechanism
View of the locking mechanism mounted on the gate.
Img 3617
Picture of Mounted Components on Protoshield
This is a detail of the protoshield with all of the components from the breadboard mounted on it.
20160331 110317


Azure Stream Analytics QuerySQL
    deviceId as deviceId,
	deviceTime as Time,
	ID1 as ID1,
	Access as Access,
	Gate as Gate

GitHub Repo
The readme has further details. The ArduinoCode folder contains all of the sketch tabs in INO format. The src folder contains the custom VirtualShields library that moves the serial port from Serial to Serial1, thus making the virtual com port available for debugging.



Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback


Similar projects you might like

IoT Based Garden Automation And Monitoring System
  • 354
  • 10

Full instructions

Automate Your Garden with Arduino and Cayenne

URB (Universal Railway Model Bus)  - Automate Your Layout
  • 103
  • 3

Work in progress

All features Arduino, plus: direct plug servos, motor drivers, high-current outputs, built-in I2C bus, convenient connections, and more.

Hank the HexaPod - Mega Bread Robotics Series # 7
  • 168
  • 4

Work in progress

After a few months of gathering parts, reading about the new hardware, and ripping my hair out due to no support. I done did it Paw.

Punch Activated Arm Flamethrowers (Real Firebending)
  • 42,866
  • 328

Shoot fireballs from your fists when you throw a punch with these arm mounted smart flamethrowers!

Visual Capturing with OV7670 on Arduino
  • 4,737
  • 24


This is an Arduino camera module, using the surveillance camera's digital image processing chip-OV0706.

Get Nostalgic and Use Nokia 84x48 LCD with Arduino
  • 3,131
  • 14


These 84 by 48 pixel LCDs are what you might have found in Nokia 3310. And what about using them in the Arduino projects?

Sign up / LoginProjectsPlatformsTopicsContestsLiveAppsBetaFree StoreBlog