Light-programmable mechanical computing via polyaniline composite film

X Xiunan Yan Y Yixiang Li Y Yichen Zhao C Chen Pan (Department of Experimental Genome Research, Research Institute for Microbial Diseases, The University of Osaka) S Shengnan Yan D Dong Yang G Gong-Jie Ruan H Hang Zhao F Fanqing Chen X Xing-Jian Yangdong P Pengfei Wang (Key Laboratory of Photochemical Conversion and Optoelectronic Materials) W Wentao Yu (Institute of Interdisciplinary Physical Sciences, School of Physics) Y Yuekun Yang C Cong Wang (Key Laboratory of Preclinical Study for New Drugs of Gansu Province, School of Basic Medical Sciences & Research Unit of Peptide Science, Chinese Academy of Medical Sciences, 2019RU066) B Bin Cheng (Department of Periodontology, Hospital of Stomatology, Sun Yat-Sen University) S Shi-Jun Liang F Feng Miao

Abstract

Abstract Mechanical computing represents a highly promising paradigm for environment-adaptive information processing. However, existing implementations are generally constrained by limited architectural scalability, and their modes of application in practical scenarios remain insufficiently defined. Here, we develop a light-programmable mechanical computing system that not only performs scalable logic operations but also enables environment-adaptive optical camouflage. The system is based on a polyaniline composite film (PCF) that integrates light-responsive expansion–contraction elements with a flexible conductive layer. Light illumination dynamically modulates the conductive pathways, giving rise to optically controlled single-pole single-throw (SPST) and single-pole double-throw (SPDT) relays that reconfigure signal transmission routes. Interconnecting these relays enables the construction of basic logic gates and 2-bit full-adder circuits, establishing a scalable paradigm for light-programmable mechanical computation. Moreover, we implement an adaptive camouflage function that senses environmental textures and generates matching optical patterns, demonstrating potential for intelligent skin applications capable of environmental interaction. This work establishes a light-programmable, pathway-reconfigurable mechanical computing framework, expanding possibilities for autonomous and adaptive intelligent systems.

Article Details

Volume / Issue Vol. 17, Issue 1
Published March 16, 2026
ISSN 2041-1723
Publisher Nature Portfolio

Journal Info

Nature Communications

Nature Portfolio

ISSN: 2041-1723 Open Access Life Sciences

Authors (17)

X

Xiunan Yan

Y

Yixiang Li

Y

Yichen Zhao

C

Chen Pan

Department of Experimental Genome Research, Research Institute for Microbial Diseases, The University of Osaka

S

Shengnan Yan

D

Dong Yang

G

Gong-Jie Ruan

H

Hang Zhao

F

Fanqing Chen

X

Xing-Jian Yangdong

P

Pengfei Wang

Key Laboratory of Photochemical Conversion and Optoelectronic Materials

W

Wentao Yu

Institute of Interdisciplinary Physical Sciences, School of Physics

Y

Yuekun Yang

C

Cong Wang

Key Laboratory of Preclinical Study for New Drugs of Gansu Province, School of Basic Medical Sciences & Research Unit of Peptide Science, Chinese Academy of Medical Sciences, 2019RU066

B

Bin Cheng

Department of Periodontology, Hospital of Stomatology, Sun Yat-Sen University

S

Shi-Jun Liang

F

Feng Miao