• A novel photobase generator enables high-resolution patterning of thermoelectric devices, achieving minimal temporal and spatial variations.
• The artificial thermoreceptor mimics biological nociceptor mechanisms, including threshold, no adaptation, relaxation, allodynia, and hyperalgesia.
• Integration into a robotic arm demonstrates accurate pain perception and protective responses to thermal noxious stimuli.
• The joint-free p–n integrated architecture ensures high stability and linearity, advancing wearable and bionic sensing applications.