EX-23.1 6 a2120778zex-23_1.htm CONSENT OF DELOITTE & TOUCHE
QuickLinks -- Click here to rapidly navigate through this document


Exhibit 23.1


INDEPENDENT AUDITORS' CONSENT

        We consent to the incorporation by reference in this Registration Statement of CompuDyne Corporation on Amendment No. 2 to Form S-2 of our reports dated March 25, 2003, appearing in and incorporated by reference in the Annual Report on Form 10-K of CompuDyne Corporation for the year ended December 31, 2002 and to the reference to us under the heading "Experts" in the Prospectus, which is part of this Registration Statement.

DELOITTE & TOUCHE LLP
Baltimore, Maryland
December 29, 2003




QuickLinks

INDEPENDENT AUDITORS' CONSENT