Things used in this project

Hardware components:
Ardgen mega
Arduino Mega 2560 & Genuino Mega 2560
Ard wifi101
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 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 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.


2013 12 064 (2) zsyi6p3ufq
Timothy Le
2 projects • 7 followers


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


Sign up / LoginProjectsPlatformsTopicsContestsLiveAppsBetaBlog