The invention discloses a portable pressing type magnetoelastic microbial sensor based on 3D printing, a preparation method and a detection method, and belongs to the technical field of biosensors. The sensor comprises a shell, a sensing
chip, a detection coil and a
signal acquisition module; an
air pump cavity, a micro-channel and a reaction cavity are arranged in the shell; the sensing
chip is embedded in the reaction cavity, and the detection coil surrounds the outer side of the reaction cavity and is electrically connected with the
signal acquisition module; one end of the micro-channel is communicated with the
air pump cavity, and the other end is communicated with the reaction cavity; the micro-channel is provided with an external sampling interface; the shell is prepared by adopting a 3D printing technology, a sample is driven by pressure generated by pressing the
air pump cavity to enter the reaction cavity along the micro-channel, and then the
sewage sample is detected; according to the invention, the integration and portability problems are solved, and on-site real-time detection is adapted; the whole-process closed operation does not need sample transfer, and the reliability of detection data is effectively improved.