This invention discloses a type of N-
doped carbon nanodots and their application in the detection of
tinidazole, belonging to the field of analytical detection. The preparation method of the N-
doped carbon nanodots in this invention is as follows: L-
lysine,
ethylenediamine, and water are mixed to form a mixture, which is then heated to react. After the reaction, the N-
doped carbon nanodots are purified. This invention is the first to use L-
lysine and
ethylenediamine as precursors to prepare
carbon nanodots and achieve quantitative detection of
tinidazole. It is low-cost,
highly sensitive, and suitable for rapid on-site detection, possessing high practical value and promising prospects for widespread application.