Things used in this project

Hardware components:
Ardgen mega
Arduino Arduino Mega 2560 & Genuino Mega 2560
×1
Ard wifi101
Arduino Arduino Wifi Shield 101
×1
Rhxvhx2dhljmbtloxexc
Arduino Proto Shield
Any variant of the protoshield should work.
×1
RFID Reader ID-20LA (125 kHz)
×1
Adafruit 6 x AA battery holder
×1
Adafruit N-channel power MOSFET - 30V / 60A
×1
0.47uF, 50V Multilayer Ceramic Capacitor
×1
Mfr 25frf52 100r sml
Resistor 100 ohm
×1
Mfr 25fbf52 221r sml
Resistor 221 ohm
×4
Mfr 25frf52 1k sml
Resistor 1k ohm
×1
Fairchild semiconductor 1n4004. image
1N4007 – High Voltage, High Current Rated Diode
×1
12577 01
SparkFun SparkFun Bluetooth Modem - BlueSMiRF Silver
×1
09264 1
RGB Diffused Common Anode
×1
Keystone 233 image 75px
9V Battery Clip
×1
Adafruit Rugged Metal Pushbutton with Green LED Ring - 16mm Green Momentary
×1
Adafruit Magnetic contact switch (door sensor)
×1
Adafruit industries ada1536 image
Buzzer
×1
RFID Tags (125 kHz)
Assorted. A suggested link has been provided.
×1
Servo - Hitec HS-646WP (Standard Size)
Waterproof to IP67
×1
SparkFun Channel Bracket A
×1
SparkFun Shaft - Solid (Stainless; 1/4"D x 3"L)
×1
Software apps and online services:
Microsoft Azure IoT Hub
Microsoft Azure Stream Analytics
Microsoft Azure SQL Database
Vs2015logo
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.

Schematics

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

Code

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

INTO
	[SQLDataOut]	
FROM
	[IoTHubInput]
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.

Credits

Replications

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

Comments

Similar projects you might like

IoT Based Garden Automation And Monitoring System
Advanced
  • 354
  • 10

Full instructions

Automate Your Garden with Arduino and Cayenne

URB (Universal Railway Model Bus)  - Automate Your Layout
Advanced
  • 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
Advanced
  • 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)
Advanced
  • 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
Advanced
  • 4,737
  • 24

Protip

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
Advanced
  • 3,131
  • 14

Protip

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