A coumarin derivative with benzothiazole Schiff's base structure was synthesized.
The compound can recognize CN− and Cu2 + with obvious fluorescence and absorption change.
The detection selectivity can be visualized by naked eye.
The compound can recognize CN− based on nucleophilic addition mechanism.
The compound can recognize Cu2 + based on coordination reaction.