What a door access control system does
A door access control system decides who can open a door and when. A reader checks a credential, such as a PIN, a card, a fob or a phone. A controller decides whether to allow it. A lock or strike does the physical release. A wiring diagram shows how those pieces are joined with cable, power and the signals that pass between them.
Products differ, so no single diagram fits every system. The diagram from your reader and controller manufacturer is the final word. This guide explains the parts and the common connection points, so you can read that diagram with confidence.
The main parts
- Credential reader. Reads a keypad code, an RFID card or fob, a phone or a fingerprint. Some readers are simple; others run their own logic.
- Access controller. The small board or panel that holds the access rules and makes the decision. It usually has relay outputs to drive a lock and inputs for sensors.
- Lock hardware. Common types include an electric strike, which mounts in the door frame and releases the latch when powered; an electromagnetic lock, or maglock, which holds the door shut with magnetic force while it has power; and an electrified deadbolt or cylinder.
- Power supply. Many electric locks and readers run on 12 or 24 volts DC. Match the supply to the voltage the lock and reader need, and size it for the total current draw with some margin.
- Request-to-exit (REX) device. A push button or motion sensor on the inside that releases the lock so people can leave.
- Door position sensor. A magnetic contact that tells the controller whether the door is open or closed. It helps with alarms and with locks that should not be held open.
How the wiring usually connects
Every system is different, but most follow a similar pattern.
- Reader to controller. The reader sends its data over a cable. Common interfaces are Wiegand, RS-485 running the OSDP protocol, and Ethernet for IP readers. The manual states which one your reader uses and what each conductor does.
- Power. The reader and controller draw power from the supply. Where the manual calls for it, connect a common ground between the supply and the controller so the signals share a reference.
- Controller to lock. The controller’s relay output switches the lock’s power. The lock is usually wired through the relay contacts, and the lock’s voltage must match the supply.
- REX and door sensor. Both connect to controller inputs. The controller reads each one as open or closed, so a stuck input can make the system act strangely.
- Shared or separate supplies. Some systems power the reader and lock from one supply, and others use two. Follow the manual.
Wire colors are not standard across brands, so never assume that red means positive. Check the terminal labels against the diagram. Once the diagram is clear, the next question is what type of wire is used for access control, and the answer depends on the reader and the run length.
Protecting the lock circuit
Electric strikes and maglocks are electromagnetic coils. When their power switches off, the coil can produce a voltage spike that can damage a relay or the controller. Many manufacturers call for a suppression diode across the coil. Check whether your hardware includes one, and follow the manual if it asks for one.
Use a power supply rated for the load. Where you can, keep the lock power run apart from the data cable. Long parallel runs of power and data wire can pick up electrical noise.
Fail-safe and fail-secure
Electric locks behave differently when power is lost.
- Fail-secure locks stay locked when power drops. Electric strikes used for entry are often fail-secure.
- Fail-safe locks unlock when power drops.
The right choice depends on the door’s purpose and on local code. Fire-rated doors generally need fail-secure hardware, and the specific rules are detailed. Stairwell doors and doors on an escape route have their own requirements. Some setups pair a fail-secure strike on the entry side with a fail-safe release on the exit side. Confirm the approach with your local building or fire authority before you buy.
Egress and fire code
A locked door still has to let people leave as the code requires. Electrified hardware should open from the inside without a key, usually through a mechanical or electric release, and magnetic locks in particular need a properly designed exit release. Code rules vary by jurisdiction and building type, so look at them early rather than after installation. In some buildings the fire alarm must release certain doors, and that connection is normally made by a professional.
Safety before you start
- Turn off power at the breaker before you touch any wire, and confirm the circuit is dead with a meter.
- Use low-voltage DC for lock and reader power. Do not connect door hardware to household 120-volt wiring.
- Use cable rated for the space it runs through, such as in-wall or plenum areas. Local code sets the requirements.
- Test each step before you close the wall. Check the lock voltage under load, not only at rest.
If you are not comfortable with wiring, or the door is a fire door or a commercial entrance, hire a licensed electrician or a security installer who can pull any required permit.
Troubleshooting a lock that does not respond
- Check the power supply output with a meter. Then check the voltage at the lock terminals while the system tries to release it.
- Confirm the relay is switching. Listen for the click and check the controller’s indicator light.
- Check the door sensor and REX inputs. A stuck signal can keep the lock from acting as expected.
- Look for a loose terminal or a broken conductor. Vibration and time loosen connections.
Choosing the right hardware
Pick the hardware before you read the wiring. A key card door access system uses readers that take card or fob credentials, while a door code lock system relies on a keypad. A magnetic lock connection diagram looks different from the diagram for an electric strike, because the lock type changes how power and release are handled. Decide on the credential and the lock type first, then find the diagram that matches them.