Introduction

Emerging high-tech (e.g., smart cell phones, computers, and displays) progress has led to increasing consumption of electronic products that are made from non-renewable and non-biodegradable resources1,2. To date, flexible electronic devices have attracted extensive attention in broad applications, such as sensors3,4,5, wearable devices6,7,8,9, e-skins2,10,11,12,13, electronic circuits14,15, microfluidics16,17 and soft robotics18. This is due to their customized and portable size, multifunction, and excellent biocompatibility. However, the increase of e-waste has led to severe environmental pollution and serious energy consumption problems, which have brought great challenges to the development of flexible electronic devices19. Therefore, the evolution of future flexible electronics focuses on innovation towards environmentally friendly and sustainable devices, which are highly desirable for the next generation of flexible electronics20.

Wood-based cellulose and its natural derivatives are sustainable carbohydrate polymers, which are widely constructed via bottom-up and top-down strategies21,22,23,24,25. They can be used to produce advanced functional electronics with high transparency, excellent mechanical properties, and low thermal conductivity in various applications, such as optoelectronics26, smart displays27, electroluminescent devices28 and sensors29,30. The bottom-up approach starts from low-dimensional cellulose building blocks assembling to 2D or 3D nanomaterials that couple with conductive materials to obtain strong and flexible electronic devices31,32,33,34. While an alternative top-down strategy based on the bulk wood or veneer has enabled it the direct conversion into a substrate for the development of wood-based functional electronics35,36. Wood nanotechnologies have been achieved through the nano-control of the microstructure, composition and porosity, enabling high performance electronics with excellent mechanical and optical properties, and flexibility37,38. However, these wood-based electronics are constrained in their ability to undergo complex shape deformation, hindering their applications, in scenarios that demand custom sizes, foldable structures, editable shapes, and smart deformations.

Reconfiguration design enables the proposed material to be reconfigured after fabrication, endowing it with additional properties or application requirements19,39,40, for example 3D printing and folding design. For cellulose-based substrates, control of their shape deformations are typically stimulated by such things as optics, heat, humidity-sensitivity, and electrical and magnetic responses. While origami-inspired technology is a paper-based folding art that transforms the 2D paper sheets into 3D structures with arbitrarily shape-editable features41,42,43,44. Pencil-on-paper is an attractive approach to achieve high-fidelity detection for a range of vital biophysical and biochemical signals from human bodies45,46,47. Yet, the conductive durability of the pencil-on-paper based electronics could be influenced by folding and deformation, as the carbon black is physically attached on paper substrates. Thanks to the rapid development of computer technology, various complexly patterned electronics can be designed by computer programs and 3D printing techniques, as well as enabling the conductive ink to be strongly attached to flexible electronics48. The typical gel ink made from the cellulose nanofibers (CNF) was chosen due to its strong adhesion and intricate network, as well as its adjustable rheological characteristics49,50. This integration has significantly spurred the development of origami crease designs for programmable devices, which are aimed at applying in soft robotics and grippers, deformable circuits, expandable stents, and smart actuators41. As far as we know, previous studies have been reported focusing on origami crease soft elastomers, stretch polymers, liquid crystals, and isotropic structured paper substrates51,52,53. However, there are few studies documenting flexible origami electronics based on thin wood films. Additionally, developing wood-based electronic devices with shape programmability and editability poses a significant challenge.

Herein, an editable and flexible wood origami electronic device is developed from the combination of a transparent wood film (TWF) substrate and cellulose-based conductive ink (Fig. 1). Lignin and partial hemicellulose are removed from natural wood cell walls, from which the honeycomb structure of wood is intensively collapsed and stacked with numerous exposed cellulose fiber bundles (Fig. 1a). This resulted in a densified and thin TWF substrate that can be printed with conductive ink to achieve wood-based electronics (Fig. 1b). The conductive ink consists of 2,2,6,6-tetramethylpiperidine-1-oxyl (TEMPO) oxidized cellulose nanofibrils (TOCNFs) and multi-walled carbon nanotubes (CNT) with favorable adhesion performance. The resulting wood-based electronics showed favorable mechanical properties and flexibility due to the highly aligned CNF in the substrate and the formation of hydrogen bonding between TWF and printed ink. Moreover, the origami-inspired design allowed for sequential folding into predesigned shapes for adapting to different application scenarios (Fig. 1c). The programmable configuration and stable electronic conductivity of the wood-based origami device were further evaluated. Furthermore, wood-based flexible origami electronic circuits exhibited favorable mechano-electronic sensing performance, which was demonstrated using a human motion sensor as a proof-of-concept (Fig. 1d). Coupling with the anisotropic microstructure of the TWF, the wood-based origami electronics offer potential as a sustainable and practical alternative (Fig. 1c).

Fig. 1: Schematic illustration of the flexible wood-based origami electronics.
figure 1

a The process of making TWF. b Preparation of a wood-based electronic device by 3D-printing cellulose-based conductive ink on a TWF surface. c The schematic illustration of wood-based origami electronic products with favorable shape programmability and stable conductivity under reversible folding/unfolding deformation. The advantages of TWF origami electronics are highlighted including anisotropy, favorable flexibility, mechanical robust, programmability and recyclability. d The potential application of TWF origami electrons in human motion sensors.

Results

Morphology and physical performance of treated porous wood

Wood is a natural composite material that possesses a unique hierarchical structure, porosity, and multiple layers of cell walls, which are made up of three main components (lignin, hemicellulose, and cellulose) and other extractives. Cellulose microfibrils form the skeletons of the cell walls in the form of molecular chains aggregated into well-arranged microfibrillar bundles providing the mechanical support, while hemicellulose and lignin reinforce the cell wall making it a relatively rigid material (Fig. 2a). Natural balsa wood veneers with honeycomb-like structure show yellowish color because of the presence of chromophores and lignin (Supplementary Figs. 1 and 2), which are fluorescent and uniformly distributed in the cell wall of natural wood (Supplementary Fig. 3a). After the delignification process, most of the lignin (a relative value of 92.1 %) was removed from cell walls while preserving the honeycomb structure (Fig. 2c). The confocal fluorescent images of original wood (OW) and delignified wood (DW) further confirmed the lignin removal from cell walls (Supplementary Figs. 3 and 4). This resulted in the generation of microscale pores between cell walls of the DW sample (Fig. 2b and Supplementary Fig. 5)54. The DW appeared white due to the removal of chromophores (Supplementary Fig. 1 center). However, more than 90% hemicellulose remained in the DW sample due to the mild delignification, maintaining the relative cell wall rigidity.

Fig. 2: The morphological and structural characterizations of OW, PW and TWF.
figure 2

a, b Morphologies of OW and PW. c The chemical compositions of OW, PW, and TWF. d, e Photographs and SEM images of TWF shown in cross-section and surface. f Total transmittance and optical haze of TWF. g Typical stress-strain curves of TWF (both in longitudinal and transverse directions), PET and printer paper. h X-ray synchrotron WAXS pattern of TWF. i Radial integration of the diffractogram shown in (h). j Azimuthal integration of the (200) scattering plane of the diffractogram shown in (h).

Further alkali treatment (1 mol L−1 NaOH) was applied to swell and soften the delignified cell walls, this process is beneficial to increase density and transparency. More than half of the hemicellulose (58.3%, relative value) was hydrolyzed and removed from the porous wood (PW) sample (Fig. 2c), which enabled the creation of additional micro and nanoscale porosity in the secondary cell wall and corner with a specific surface area of 46.9 m2 g−1 for the super critical dried PW sample (Supplementary Fig. 2b, 5). This value is much higher than the values of OW (1.1 m2 g−1) and DW (17.8 m2 g−1). Interestingly, after chemical treatment, most of cellulose was preserved both in the DW and PW samples (Fig. 2c). The absorption peaks at 3340 cm−1 and 1035 cm−1 of Fourier transform infrared spectroscopy spectra (FTIR) are assigned to the hydroxyl groups and C-O stretching of the cellulose (Supplementary Fig. 6), these signals were present in all samples indicating the composition of cellulose (Fig. 2c). After delignification and hydrolysis treatments, the swollen and softened cell walls were subjected to the densification and dehydration resulting in a dense and thin TWF around 50 ± 10 μm thickness (Fig. 2d). The collapsed cell walls were intensely stacked with a layered structure that exposed cellulose fibril bundles as shown from the cross-sectional SEM image (Fig. 2d). Moreover, the surface observations of TWF sample showed the full removal of microscale lumen spaces while maintaining the original arrangement of cell walls (Fig. 2e).

The dense and thin TWF material, characterized by its anisotropic structure, has the potential to exhibit excellent properties including optical and mechanical attributes55. As expected, the densification step completely removed air-containing micro- and nanopores from the TWF substrate, which resulted in a condensed cell wall with a refractive index of approximately 1.53 and showed a high transmittance of 78% and optical haze of 88% at the wavelength of 550 nm (Fig. 2f). The optical transmittance decreased with increasing the thickness of TWF due to the light scattering (Supplementary Fig. 7). More importantly, the Young’s modulus and tensile strength of TWF in the longitudinal direction are 43.68 GPa and 393.8 MPa, which are 5–20 times higher than those of the OW, DW, printer paper, and polyethylene terephthalate (PET) substrates (Fig. 2g, and Supplementary Fig. 8). These values are comparable to most cellulose paper-based substrates, non-natural polymers, and petroleum-based plastic matrixes (Supplementary Table 1). This is mainly ascribed to the highly aligned cellulose in the fiber longitudinal direction of TWF (Fig. 2e, right). It is further confirmed by the 2D wide-angle X-ray diffraction (WAXS) result (Fig. 2h). The strong arcing diffraction spots are observed from 2D WAXS pattern of TWF corresponding to the cellulose crystal planes (200) and (110) (Fig. 2h, i), which suggests that the cellulose fibers were preferentially aligned in the direction of tree growth (Fig. 2e). A similar 2D WAXS pattern result was obtained from OW sample (Supplementary Fig. 9). In contrast, the scattering diffractogram of the isotropic copy paper presents a circle-like pattern (Supplementary Fig. 10). The sharp peak of the azimuthal integral of the (200) scattering plane for TWF indicates to a high orientation degree of cellulose fibers (orientation index = 0.88) (Fig. 2j)29. Moreover, the mechanical improvement of the TWF is also attributed to the formation of hydrogen bonding between the cellulose fibers in the fully collapsed wood cells38. The position of TWF shows in the Ashby chart of specific modulus versus specific strength among various materials demonstrating superior strength yet with a lightweight characteristic (Supplementary Fig. 11). Furthermore, the TWF sample exhibited favorable flexibility and underwent diverse deformations without cracking (e.g., rolling and knotting) (Supplementary Fig. 12), as well as excellent folding endurance and was able to fold more than 8000 times (Supplementary Fig. 13). This value is close to those of printer paper and PET substrates and cannot be achieved in natural and delignified wood (Supplementary Fig. 14). This inherent flexibility and mechanical performance support the TWF substrate as a suitable candidate for flexible electronics.

Preparation and electrical conductivity of flexible wood-based electronics

Direct ink writing (DIW) technology has rapidly developed and been proven to be an effective method for manufacturing intelligent and flexible cellulose-based electronics56,57. In this study, the conductive gel-like ink was prepared by combination of TEMPO oxidized cellulose nanofibers (TOCNFs) and CNT (Supplementary Fig. 15a), which was further developed from our previous study58. The rheological properties of CNT/TOCNFs conductive inks were characterized as displayed in Supplementary Fig. 16. The steady-state viscosities of CNT/TOCNFs inks with 2%, 4%, 6%, and 8% concentrations at a shear rate of 10−1 s−1 were 13.2, 20.1, 32.9 and 40.5 kPa s−1 (Supplementary Fig. 16), respectively. Conductive ink at a concentration of 4 % was selected for printing due to favorable shape retention with continuous structure filament (Supplementary Fig. 15b). Moreover, the conductive inks show a typical shear-thinning behavior enabling the ink to flow uniformly, printing with an excellent shape fidelity (Supplementary Fig. 17)50. The prepared ink was printed onto the surface of TWF using the DIW technique showing excellent adhesion stability, which is mainly due to the formation of hydrogen bonding and van der Waals forces between the CNT/TOCNFs ink and the surface of TWF59,60, as schematically shown in Fig. 3a61.

Fig. 3: Schematic preparation of cellulose-based CNT/TOCNFs conductive ink and the TWF flexible electronics.
figure 3

a Schematic illustration of CNT/TOCNFs conductive ink and direct ink writing on the TWF surface. b Digital images of conductive ink printed on the surface of TWF. c, d Surface profile AFM images of TWF with and without printed with ink, respectively. e SEM morphologies of conduction ink on flexible electronic circuit observed from surface and cross-section, respectively. f Normalized sheet resistance variation of the TWF flexible circuit versus the number of folding−unfolding (180°) cycles. An inserted photograph of the TWF flexible circuit powering a LED. g Normalized relative resistance variation as a function of the number of foldings (90°). h The conductivity of the TWF electronics was measured at different relative humidity (RH) conditions. i The thermal infrared images of TWF and PET substrates heated at different temperatures (a range of 35−115 °C).

The suitable substrates for the flexible electronics generally provide excellent interface adhesion, low surface roughness and thermal expansion index, and favorable mechanical properties62. The exceptional adhesion stability of the as-prepared ink enables the printing of diverse patterns and circuits on TWF surfaces (Fig. 3b). The micropatterned circuits extend beyond simple straight lines to encompass more intricate features suitable for adaptable electronics on the skin, such as the bulb and tree-like configurations (Supplementary Fig. 17). The appearance profile of the TWF substrate presented a surface roughness of about ± 100 nm as shown in the atomic force microscope (AFM) image (Fig. 3c). The printed layer around 1 µm thickness was measured by SEM imaging (Supplementary Fig. 18a), where the printed TWF substrate resulted in an overall smooth surface as observed from the AFM image (Fig. 3d). The top-view SEM image of the printed TWF showed a distinct edge between the coated and un-coated area (Fig. 3e, left). While CNT/TOCNFs inks were randomly distributed and formed a densely packed network layer (Fig. 3e), where the tube-like CNT/TOCNF fibers were uniformly entangled and overlapped on the surface of the printed TWF electronics (Supplementary Fig. 18b). A sellotape peel-off experiment was further used to assess the adhesion between the ink and the substrate (Supplementary Fig. 19). After 15 cycles of the peeling test, the printed ink on TWF showed only minor peel-off while maintaining the integrity of the ink pattern, indicating a strong adhesion with the TWF substrate. However, the printed ink displayed detachment from a printer paper substrate in the 8th cycle of the test and increasing relative resistance ratio (Supplementary Fig. 19). This may be ascribed to the additives (i.e., starch, alum and CaO) in the printer paper. A further physical scraping study confirmed that TWF electronics possess favorable adhesion and a stable conductivity compared to those of printer paper and PET substrates (Supplementary Fig. 20).

The inter-connected CNT/TOCNFs networks are beneficial to transport electrons between them with a favorable conductivity. An average electrical conductivity of 0.24 S cm−1 was measured for the TWF electronic, which can active a blue light-emitting diode when it was bent (Fig. 3f). In addition, a stable resistance of the flexible TWF circuit is shown under the tensile, suggesting good adhesion between the TWF substrate and CNT/TOCNFs layer (Supplementary Fig. 21). To evaluate the folding endurance of the printed flexible TWF circuit, the electric conductive performance under cyclic folding/unfolding was investigated. The relative sheet resistance of the flexible circuit was almost unchanged within 500 folding/unfolding cyclic tests (Fig. 3f). The resistance change of the circuit during bending is also around 3%, indicating its conductive stability due to the strong combination of hydrogen bonding and van der Waals forces between the CNT/TOCNFs layer and TWF substrate (Fig. 3g)63. Yet, after 500 folding/unfolding cyclic tests, the resistance change ratio increased significantly, which may be attributed to the disruption of the structure between the conductive ink and the TWF substrate. The morphology of TWF and conductive ink at different folding stages was carefully examined. After 500-cycle test, a cracking line was generated on the surface of the printed ink layer (Supplementary Fig. 22). While a crease line can be observed from the surface of TWF substrate without any cracking or damage (Supplementary Fig. 23). The consistent conductive performance through repeated mechanical deformation demonstrates the potential for integration of this TWF circuit into advanced flexible electronic devices. Moreover, the conductivities of TWF electronics showed stable currents at relative humidity (RH) conditions of 65%, 80% and 95% (Fig. 3h), respectively. The current value of TWF electronics at high RH (80% and 95%) is higher than that of low RH (65 %) due to the water molecules facilitating the electrons transport along the conductive ink. Furthermore, TWF demonstrated a favorable thermal tolerance performance compared to the PET substrate (Fig. 3i). The PET film was melted at 95 °C following by a deformation at the temperature of 115 °C. While the TWF film presented thermal and dimensional stabilities under a temperature range of 35–115 °C because of the low thermal expansion coefficient and conductivity of cellulose fibrils (Supplementary Fig. 24)64,65. Although the output current of TWF electronics at high temperature (115 °C) was the lowest due to the moisture evaporation, the current signals were stable under 35–95 °C conditions indicating an excellent thermal tolerance of TWF electronics (Supplementary Fig. 25).

Programmable design of the flexible TWF origami electronics

Programmable design is established for folding and unfolding to transform a flat structure into an origami feature with inherent shape editability and deformation. Due to its excellent adaptability and shape reversibility, it is widely used to construct 3D structures66,67,68. An origami structure is demonstrated and designed to achieve freedom in two dimensions, allowing for transformations along two different dimensions; for instance, one might be folding along a transverse direction while another one could be along a longitudinal direction. The 2D freedom origami offers shape editability and flexibility through the TWF substrate design capabilities69.

The natural anisotropy of TWF, retained from its wood structure, serves as an enticing feature for designing origami electronic products. For example, anisotropy affects the direction dependence of TWF during folding. This characteristic facilitated precise folding into various configurations of the origami structure without causing cracks or damage to the electronics. The prediction of the performance of origami structure in different folding angles and directions through computer modeling and numerical simulation can be used to optimize the design and achieve specific functional requirements. Herein, origami crease patterns were predesigned as shown in the Fig. 4a, which included different types of creases, such as mountain creases (red), valley creases (blue), and border creases (black) (Fig. 4a, left). According to the design requirements, flexible creases (purple) can be adjusted within a certain range and modeled as an arbitrary linkage position or angle. Moreover, the origami crease patterns are predesigned by computer programs that allow various shapes deformability and dynamism, which is especially important when creating origami features with dynamic structures or variable shapes70. Faceted folds (green) are folds that attempt to remain flat (0° fold angle) when the pattern is folded (Fig. 4a, center). The deformations of the TWF substructure are in the direction of the fibers leading to symmetrical reconfiguration from side to side (Fig. 4a, right). The center creases in the TWF substrate can be programmed to fold at 90° and 45° enabling the transformation of two different macroscopic morphologies, which are reversible and switchable by applying programmable torque transformations.

Fig. 4: The simulation and potential application of programmable and flexible wood-based origami electronics.
figure 4

a Schematic diagram of creases. b FEM visualization of the wood-based origami electronic under different folding states. Blue and red color represent 0% and ≥5% strain, respectively. c Curves of stress versus strain generated from the FEM prediction. d Digital images of programmable and flexible wood-based origami electronics. e Schematic diagram of the circuit. f Potential application of wood-based origami electrons for the smart sensor. Curves of output current for monitoring movement of the knee (g) and elbow (h), respectively.

To understand and predict the mechanical behavior of origami structures, a finite element method (FEM) analog simulation is performed through a strain visualization study (Supplementary Fig. 26 and Supplementary Table 2)71. The FEM employs realistic material models and higher-order elements to explore the structural characteristics of origami in fully or partially folded states. The stress distribution from a flat TWF substrate to the pre-designed origami configuration was subjected to theoretical and numerical analysis (Fig. 4b and Supplementary Figs. 2729). The strain during the folding process was converted to RGB colors on the blue (no strain) to red (high strain) spectrum resulting in the 3D model for visualization. As shown in Fig. 4b, the strain from the initial state to the intermediate state is presented with the maximum principal strain of the deformed structure being less than 5%. The deformation of the TWF substrate occurred at the elastic region during the folding process enabling the reversible transformation of its configuration (Supplementary Fig. 27). The elastic deformations in both longitudinal and transverse directions are anisotropic due to the inherent anisotropic nature of wood (Fig. 4c). A steeper slope in the longitudinal curve indicates that the device is more resistant to this deformation (Fig. 4c). The changes in the geometry by telescopic and torsional folding at different states were further simulated (Supplementary Figs. 28 and 29). The shape and structure of the TWF substrate can be manipulated by manually applying force in the loading direction. The stress-displacement and the stress-folding percentage curves suggest that the telescopic folding presents an overall smoother pattern in comparison to the torsional folding, indicating more predictable and uniform transformation behavior (Supplementary Fig. 30). The specific simulation of tailoring geometry and strain visualization is detailed in Supplementary Movies 12.

The programmable shape and editable capability enable the flexible wood-based origami electronic sensor to monitor various human body motions. A patterned CNT/TOCNFs wood-based origami sensor that can be switched on or off in different folding states was designed (Fig. 4d, e). The sensor was disconnected when it was in original state. However, when it was rotated at 90°, the 3D-printed conductive pattern was successfully connected and powered the LED bulb (Fig. 4d). This is a reversible on/off process that depends on the deformation of wood-based origami sensor. Moreover, various geometries of TWF substrate and printing patterns can be made by combining the origami and DIW technologies (Supplementary Fig. 31). The wood-based origami electronics were demonstrated and the application of a smart wearable sensor for monitoring human movements as a proof-of-concept, which was adapted to the human body for collecting electrical signals that fluctuated with motion (Fig. 4f). For real-time monitoring of various human movements, the smart sensor was attached to the knee and elbow joints (Fig. 4f, and Supplementary Fig. 32). When the knee or elbow repeatedly bent to a certain angle resulting in folding-unfolding of the TWF origami electronics, which simultaneously recorded output currents with relatively stable signals (Fig. 4g, h). Different rates and amplitudes of body movements generated stepwise signals in the current. For example, increased relative resistance was recorded when running speeds increased from 5 to 20 km h−1 (Supplementary Fig. 33). Furthermore, the different extents of current change in the longitudinal and transverse directions are ascribed to the anisotropic structure of TWF substrate (Supplementary Figs. 36 and 37). This may be associated to the stretching of the covalent bonds (glycosidic bonds) in the longitudinal direction in comparison to the non-covalent bonds (hydrogen bonds and van de Waal forces) in the transverse direction. Current changes of the sensor were detected due to manually applied finger pressure (Supplementary Fig. 36). Finally, we proposed the recycling processes for electronic products made from TWF substrates (Supplementary Fig. 37). The recycled wood-based membrane demonstrated favorable mechanical stability even after 10 cycles of recycling (Supplementary Fig. 38), which is comparable to isotropic structure of cellulose nanopaper. Increasing the recyclability of materials can increase the total service life and sustainability, as well as reducing electronic waste and carbon footprint. Moreover, a closed-loop recyclable manufacturing process is proposed to produce final products that could be explored as alternatives of fossil-based plastics in green packaging materials and electronics (Supplementary Fig. 37). These encouraging results suggest that programmable and flexible wood-based origami electronics have great potential in various applications, such as wearable smart devices, soft robotics, and intelligent sensors.

Discussion

In summary, programmable and flexible wood-based origami electronics were developed for advanced and sustainable electronic devices. By harnessing advancements in wood nanotechnology, the delignified and softened porous wood was densified into a thin and transparent wood-based substrate that can be manipulated into different shapes and printed with conductive CNT/TOCNFs ink for smart wood-based origami electronics, which possesses excellent tensile strength due to the preservation the original cell wall architecture with highly aligned cellulose fibers. Moreover, the cellulose-based conductive ink was printed on to the TWF substrate and had strong interface adhesion owning to the formation of hydrogen bonds and van der Waals forces. The flexible wood-based electronics showed a favorable and stable conductivity with no limit to various deformations (e.g., bending, folding and rolling) thanks to the homogeneous inter-connected CNTs with electron transportation. The origami-inspired design and DIW technologies enable to the creation of electronic devices that are not only flexible but also shape-editable with any desired architectures, extending their potential applications for more complex and dynamic scenarios. The implementation of flexible wood-based origami electronic sensor devices demonstrates the detection of stable electrical signals in wearable and motion monitoring. Furthermore, the mechanical property of the recycle substrates are comparable to the randomly constructed cellulose-based materials even after multiple recycling processes indicating a superior recyclability. Coupling with wood nanotechnology, the highlight of this study is to propose an approach for designing flexible wood-based origami electronics from the anisotropic structure of natural wood, which is challenging to overcome in some traditional materials, for example printer papers and plastics. With a view to future work, we believe that the proposed approach provides a new solution for the designing wood-based smart and flexible electronics that could extend the potential applications in sensors, wearables, e-skins, and soft robotics.

Methods

Materials and chemicals

The Balsa wood veneers (Ochroma pyramidale) with a density of 0.15 g cm−3 had dimensions of 80 × 80 × 1 mm3 (longitudinal× radial× tangential). Sodium chlorite (80%, NaClO2), sodium hydroxide (98%, NaOH), 2,2,6,6-tetramethylpiperidine-1-oxyl (TEMPO) and sodium bromide (NaBr) were supplied by Aladdin Industrial Co., Ltd (Shanghai, China). Acetic acid (CH3COOH), sodium acetate (CH3COONa), multi-walled carbon nanotube (CNT) were purchased from Nanjing Chemical Reagent Co., Ltd. (Nanjing, China). Poly (ether sulfone) (PES, 30 nm pore size and 150 mm diameter) filter membrane was provided by Sterli Tech Ltd., (Auburn, USA). Polyethylene terephthalate (PET) film was supplied from Convex Innovative Packaging (New Zealand).

Delignification process and fabrication of Transparent Wood Film

The balsa wood veneers were delignified by 1 wt% of NaClO2 in acetate buffer solution (pH ≈ 4.6) at 80 °C for 6 h, following by softening of the cell wall and removal of hemicellulose using 1 mol L−1 NaOH solution at room temperature for 3–6 h. The delignified and softened samples were completely washed with deionized water to remove extra chemicals. This process was repeated three times. The wet treated wood veneers were placed between two PES membranes and filter paper and densified (≈3–5 kg) at room temperature and dried for 24–48 h to achieve the thin and dense TWF substrates (50 ± 20 μm in thickness, and 1.3 g cm−3 in density). These fabrication processes refer to our previous study29.

Preparation of CNT/TOCNFs Conductive Ink

The preparation of TOCNFs was developed from our previous reported literature58. Specifically, taking a concentration of 4 wt% CNT/TOCNFs solution as an example. Approximately 1 g of cellulose fibers were dissolved in 150 mL of deionized water, followed by the addition of 0.016 g of TEMPO and 0.1 g of NaBr. Then, a NaClO solution (4 mmol g−1) was added dropwise to catalyze the oxidation of primary alcohol groups, maintaining the pH at approximately 10.5. Once the pH stabilized, the reaction was terminated, and HCl was added to adjust the pH to 7. The solution was ultrasonicated at 600 W for 30 min to obtain the TOCNFs suspension. The prepared TOCNFs suspension was then mixed with CNTs at a 1:1 mass ratio. After stirring for 30 min, the mixture was ultrasonicated at 300 W for 1 h and subsequently processed using a high-speed centrifugal defoaming mixer to remove air bubbles. Finally, excess water was removed to obtain a conductive ink with a mass fraction of 4% CNT/TOCNFs.

3D Printing and programmable design of TWF electronics

The printing process used a bioprinter equipped with a pneumatic dispenser (ROKIT Healthcare, INC, South Korea). Specifically, the ink was put into a precision stainless steel syringe with a needle diameter of 1 mm, and centrifuged to remove the residual air in the syringe, and then the syringe was connected to an air control system for pressure adjustment. Printing speed was controlled by the Newcreator software of the 3D printer. The printed layers were patterned around 1 mm thick. The circuits were designed using 3D MAX 2019 software, which were then converted to G-code using Newcreator software for the further printing. Circuit patterns were printed on the TWF by running this G-code program.

Characterizations

The morphologies of the wood samples in cross-section and longitudinal direction were observed using a scanning electron microscope (SEM, JSM-7600F, Japan Electron Optics Co., Ltd.) with an accelerating voltage of 15 kV. Composition analysis (cellulose, hemicellulose, and lignin) was determined according to the sulfuric acid hydrolysis method (NY/T 1459-2007 and GB/T 20805-2006). Mechanical tensile tests were performed using an INSTRON 5966 universal testing machine. The surface profile was measured using an atomic force microscope (AFM, Dimesion Edge, Germany) to assess roughness. Absorbance/transmission intensity was collected using a UV-Vis-NIR spectrophotometer (Shimadzu UV3600 plus, Japan) in a wavelength range of 200–800 nm. Fourier transform infrared spectroscopy (FTIR, VERTEX 80 V, Germany) was carried out in a wavelength range of 400–400 cm−1. Fluorescent images were taken by a confocal fluorescent microscopy (Leica SP5 II, Germany). X-ray synchrotron scattering experiment was conducted in Australian Synchrotron (ANSTO, Clayton Australia) SAXS/WAXS beamline with a wavelength of λ = 0.685 Å and detector distance of 320 mm. Nitrogen physisorption was performed on a Micromeritics ASAP 2020HD88 instrument at 77 K. The output current of the sensor was analyzed by electrochemical workstation (CHI660E, China) with an input voltage of 2 V and an interval of 0.1 s. The thermal tolerance experiment was performed by a thermal infrared imaging camera (FOTRIC 600 C) between 25 °C to 115 °C at a relative humidity range of 65–95%. The details of finite element method simulation are provided in Supplementary Methods (Supplementary Information). The sheet resistance (Rs, in Ohm/sq) was measured using a four-probe tester and a thin-film linear four-probe probe four-probe (ST2258C, China) with the probes configured in a spacing of 2 mm. The calculation of the sheet resistance (Rs) for thin samples is based on the following equation72:

$$Rs=\frac{{{\pi }}}{{{ln2}}}\cdot \frac{{{E}}}{{{I}}}\cdot {{{\rm{G}}}}\cdot {{{\rm{D}}}}\cdot {{{\rm{C}}}}$$
(1)

where I (A) and E (V) are the supplied current and measured voltage, respectively. The sheet resistance correlates to the correction factors related to the dimensions of the samples. The size of the measured sample is 3 × 55 mm2 with a thickness of 30.9 ± 30 μm, the thickness correction coefficient G = 0.0111, the shape and position correction D = 0.3287, and the probe correction coefficient C = 1.256. The cyclic folding tests (90° to 180°) were performed using the Modular Flex Test System (Flex Test-X, China).