AbstractMercury is one of the most well‐known toxic contaminants of natural and anthropogenic origin in aquatic ecosystems that can bioaccumulate in vegetal and animal organisms. In this work, we propose a smart detection system for Hg(II) ions by square wave anodic stripping voltammetry at nanocomposite graphite screen‐printed electrodes, as an analytical tool to be applied in food quality control. The nanocomposite surfaces were obtained by the modification of screen‐printed graphite electrodes with poly(l‐aspartic acid) and gold nanoparticles and were characterized by means of electrochemical techniques. An exhaustive study of the experimental conditions involved both in the electropolymerization and in the voltammetric stripping measurements was addressed to develop a reliable method capable of measuring Hg(II) concentration in the low μg/L range, both in conventional and drop configurations. The sensor was integrated in a smart setup, comprising a Sensit Smart pocket instrument connected to a smartphone, thus proving its applicability for in situ analysis due to its cost‐effectiveness. The analytical significance of the developed sensor was assessed by detecting Hg(II) in novel food samples.