The invention discloses a magnetic navigation sensor for an AGV (Automatic Guided Vehicle). The magnetic navigation sensor comprises a magnetic stripe, an AGV
master controller and a magnetic navigation controller, wherein the magnetic navigation controller comprises a power conversion module, a state display module, a
magnetic field detection module, a
single chip and a communication module, wherein the state display module is used for displaying a state through an LED (
Light Emitting Diode); the power conversion module is used for converting 5V
voltage inputted from the external into 3.3V
voltage and then supplying to the
single chip and the other modules; the
magnetic field detection module comprises a geomagnetic detection unit and a geomagnetic sensor; the
single chip is communicated with the geomagnetic detection unit through a SPI (Serial
Peripheral Interface)
bus so as to realize
data transmission; the geomagnetic detection unit is connected with the geomagnetic sensor and is used for acquiring the geomagnetic information; a CAN interface is adopted by the communication module for realizing the communication between the single
chip in the magnetic navigation controller and the external AGV
master controller; the AGV
master controller is connected with the single
chip through the communication module; and the single
chip is used for supplying road information to the AGV master controller. The magnetic navigation sensor for the AGV is integrated with the power conversion, data collection, state display and data communication modules and has the advantages of high accuracy and convenience in operation.