The current study provides a new modularized infrared light matrix system (about $200 cost) which is designed to measure the horizontal gross or fine movements, vertical motion, clockwise or anticlockwise turnings, freezing time, and total distance traveled in rats. The system records the sequences of animal's activity in a computer-aided system with a resolution of 0.2 s in time or 1.6 cm in space, and permanently stores all the resulting data in file. The behavioral apparatus was tested for its sensitivity and usability by amphetamine-injected rats. It was found that intraperitoneal administration of amphetamine (1.25-2.50 mg/kg), but not normal saline, produced a dose-related increase in either the horizontal gross or fine movements, vertical motion, clockwise or anticlockwise turnings, or total distance traveled. However, amphetamine injections produced a dose-related decrease in freezing time. Apparently, most of the amphetamine-induced responses obtained by other detecting apparatus can be reproduced easily by the present apparatus. The current detection system possesses the following advantages: a) high resolution, b) high expansion potential, and c) precise and simplified algorithms for behavioral parameter analysis.