Automatic Barrier Gate Kit with Arduino Uno + Servo
Arduino Uno Automatic Barrier Gate Kit: Learn Motion Control & State Logic
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-5 days.
Step into the world of automated access control with this barrier gate kit. When a person approaches, the PIR sensor triggers the servo arm to lift, holds it for 5 seconds, then smoothly lowers it — just like a real parking entry system. Red and green LEDs give instant visual feedback, making this a mini replica of the gates you see at toll plazas, school entrances, and residential complexes.
What You'll Build
You'll assemble and program an intelligent barrier gate that responds to motion. Once the HC-SR501 PIR sensor detects movement, the Arduino Uno commands the SG90 servo to rotate 90°, raising the barrier arm and lighting a green "go" LED. After a 5-second pause, the arm returns to the closed position and a red LED signals "stop." It’s a complete state machine project that puts together motion sensing, actuator control, and indicator lights on a breadboard.
What You'll Learn
- Servo motor control using Arduino’s Servo library
- Interfacing a PIR motion sensor and reading digital signals
- Implementing timed delays and state transitions in code
- Building an LED indicator system with current‑limiting resistors
Kit Contents
| Component | Quantity |
|---|---|
| Arduino Uno R3 | 1 |
| HC-SR501 PIR Sensor | 1 |
| SG90 Servo Motor | 1 |
| 5mm Red LED | 2 |
| 5mm Green LED | 2 |
| 10kΩ Resistor | 5 |
| 220Ω Resistor | 5 |
| 400-point Breadboard | 1 |
| M-M Jumper Wires | 20 |
| 9V Battery Snap | 1 |
Why Buy This Kit Instead of Sourcing Parts Separately
| Factor | Sourcing Separately | Compoden Kit |
|---|---|---|
| Compatibility checks | You verify every part | Pre-tested as a system |
| Build support | Forums and scattered tutorials | AI companion trained on this exact project |
| Time to first working build | Days of debugging | Hours, with step-by-step guidance |
| Shipping coordination | Multiple sellers, multiple delays | One shipment from Bengaluru in 3-5 days |
Who This Kit Is For
Designed for curious young minds aged 8–15, this kit is ideal for CBSE school projects, ATL tinkering sessions, and early STEM exploration. It’s also a quick hands-on activity for B.Tech beginners in ECE, EEE, or Mechatronics who want to see servo‑PIR integration in action. Smart India Hackathon participants will find it a perfect building block for access control prototypes.
Built and Backed by Compoden
Every Compoden kit ships with an AI build companion trained on this exact project — accessible via a QR code on the box, with WhatsApp and email backup. We've spent 10 years building projects for makers, schools, and institutions across India. If a part fails because of a manufacturing defect, replace it free within 7 days.
What if I get stuck during the build?
Our AI companion guides you step-by-step, and you can reach us on WhatsApp for hands-on help within hours.
Can I modify the code to use an RFID reader instead of a PIR sensor?
The AI companion includes a bonus module on swapping the sensor; follow it to add RFID-based entry without extra hunting for code.
Is the kit suitable for a school science exhibition?
Absolutely! The gate mechanism with LEDs creates an engaging demo for CBSE or ICSE science fairs, and the barrier action draws instant attention.
Does the barrier gate make noise when it moves?
The SG90 servo runs quietly; the red and green LEDs are the main indicators, keeping the project silent yet highly visual.
PIR or RFID triggers servo barrier arm to raise. Auto-lowers after 5 seconds. LED shows state.
What's in this kit
- Arduino Uno R3
- HC-SR501 PIR
- SG90 Servo
- 5mm Red LED x2
- 5mm Green LED x2
- 10kΩ Resistors x5
- 220Ω Resistors x5
- 400-pt Breadboard
- M-M Wires x20
- 9V Battery Snap
Other projects you can build
Shipping Information
- Prepaid Orders: ₹75 for orders up to ₹999, FREE shipping above ₹999
- COD Orders: ₹125 shipping + ₹50 COD fee = ₹175 total
- Delivery Timeline: Dispatch in 1-2 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items