Practical lab · Access control

Reader wiring: Wiegand and OSDP

Match reader conductors to controller terminals for Wiegand and OSDP (RS-485) readers.

Simulation — not real hardware

Simulation — not real hardware. Results are planning estimates from the formulas shown; real equipment, cabling and firmware differ. Check datasheets and site conditions before you buy or install.

What this lab covers

Most card readers on Indian sites still use Wiegand: two data lines (D0 and D1) pulsed by the reader, plus power, ground and lines the controller uses to drive the reader's LED and buzzer. OSDP replaces the data lines with an RS-485 pair, so the controller and reader talk both ways, the link can be encrypted and a missing reader is noticed.

Colours below follow a common convention. They are not a standard every maker follows — the reader's datasheet and the controller's terminal labels always decide.

Worked example

A Wiegand reader's green conductor goes to D0 and white to D1. Swap them and most controllers read a different card number (or none) — a classic "card not recognised" fault on a new install.

For OSDP, power the reader from the controller (or a local supply sharing a ground), take A and B on a twisted pair, and set the reader's address and baud rate to match the controller.

Try it

Wiegand reader

Wiegand is one-way (reader to controller), unencrypted and usually limited to about 150 m (500 ft) of cable. These colours are a common convention, not a standard every maker follows: check the reader datasheet.

readercontrollerV+GNDD0D1LEDBZ
Your connections so far.
OSDP reader (RS-485)

OSDP is two-way over RS-485, supports secure channel encryption and supervision of the reader, and can run multi-drop on one pair. A/B naming differs between makers; if the reader does not respond, check the datasheet and try swapping A and B. Terminate the ends of a long run as the maker advises.

readercontrollerABV+GND
Your connections so far.
Progress is kept only in this browser.All labsNext: Power budgeting

Talk to an engineer

Not sure which service fits?

Tell us what you are working on. A Foxnet engineer will point you to the right session, book or request — or tell you honestly if you do not need one.