Ingenious approaches to supramolecular assembly for fabricating smart nanodevices is one of the more significant topics in nanomaterials research. Herein, by using surface quaternized cationic carbon dots (CDots) as the assembly and fluorescence platform, anionic sulfonatocalix[4]arene with modifiable lower and upper rims as a connector, as well as in situ coordination of Tb(3+) ions, we propose an elaborate supramolecular assembly strategy for the facile fabrication of a multifunctional nanodevice. The dynamic equilibrium characteristics of the supramolecular interaction can eventually endow this nanodevice with functions of fluorescent ratiometric molecular recognition and as a nano-logic gate with two output channels.