A deadbolt sensor assembly, comprising: a sensor capable of being disposed in a cavity formed in a frame of a door for sensing a deadbolt position to generate an output signal that is indicative when said deadbolt position is in said cavity in a lock position and when said deadbolt position is outside said cavity in an unlock position; a wireless transmitter on a printed circuit board and responsive to said sensor output signal and being capable of being disposed in said cavity for transmitting a wireless signal containing information derived from said output signal; an antenna electrically coupled to said wireless transmitter for transmitting the wireless signal containing information derived from said output signal, said antenna being disposed in said cavity, characterized in that said antenna comprises: a first lead for connection to said printed circuit board; a second lead; a plurality of vertical members extending in parallel to one another and spaced a predetermined distance apart, each vertical member having a first end and a second end; a plurality of horizontal members, each horizontal member extending alternately between first ends of a pair of adjacent vertical members and second ends of a next pair of adjacent vertical members forming a connection between said first lead and said second lead; and a substrate on which said first lead, said second lead, said plurality of vertical members, and said plurality of horizontal members are etched for connecting said plurality of vertical members and said plurality of horizontal members between said first lead and said second lead to form a square wave pattern on said substrate, wherein said substrate being coupled to said printed circuit board to space said antenna from the printed circuit board and for connecting said antenna to a circuit on said printed circuit board, and wherein said substrate being formed from a flexible material and bent to conform to a shape of said printed circuit board to enable said substrate and said printed circuit board to fit within an enclosure. a sensor capable of being disposed in a cavity formed in a frame of a door for sensing a deadbolt position to generate an output signal that is indicative when said deadbolt position is in said cavity in a lock position and when said deadbolt position is outside said cavity in an unlock position; a wireless transmitter on a printed circuit board and responsive to said sensor output signal and being capable of being disposed in said cavity for transmitting a wireless signal containing information derived from said output signal; an antenna electrically coupled to said wireless transmitter for transmitting the wireless signal containing information derived from said output signal, said antenna being disposed in said cavity, characterized in that said antenna comprises: a first lead for connection to said printed circuit board; a second lead; a plurality of vertical members extending in parallel to one another and spaced a predetermined distance apart, each vertical member having a first end and a second end; a plurality of horizontal members, each horizontal member extending alternately between first ends of a pair of adjacent vertical members and second ends of a next pair of adjacent vertical members forming a connection between said first lead and said second lead; and a substrate on which said first lead, said second lead, said plurality of vertical members, and said plurality of horizontal members are etched for connecting said plurality of vertical members and said plurality of horizontal members between said first lead and said second lead to form a square wave pattern on said substrate, wherein said substrate being coupled to said printed circuit board to space said antenna from the printed circuit board and for connecting said antenna to a circuit on said printed circuit board, and wherein said substrate being formed from a flexible material and bent to conform to a shape of said printed circuit board to enable said substrate and said printed circuit board to fit within an enclosure. a first lead for connection to said printed circuit board; a second lead; a plurality of vertical members extending in parallel to one another and spaced a predetermined distance apart, each vertical member having a first end and a second end; a plurality of horizontal members, each horizontal member extending alternately between first ends of a pair of adjacent vertical members and second ends of a next pair of adjacent vertical members forming a connection between said first lead and said second lead; and a substrate on which said first lead, said second lead, said plurality of vertical members, and said plurality of horizontal members are etched for connecting said plurality of vertical members and said plurality of horizontal members between said first lead and said second lead to form a square wave pattern on said substrate, wherein said substrate being coupled to said printed circuit board to space said antenna from the printed circuit board and for connecting said antenna to a circuit on said printed circuit board, and wherein said substrate being formed from a flexible material and bent to conform to a shape of said printed circuit board to enable said substrate and said printed circuit board to fit within an enclosure.