This paper presents a new experimental method for the thermal analysis of solar pyrolysis of walnut shells. The method consists of two types of thermal experiments: (A) the pyrolysis of walnut shells, and (B) the heating-cooling of the biochar obtained during experiment A. Nutshells are a waste product from the pecan nut industry. The state of Sonora, Mexico, produces large volumes of walnuts and their residue. Likewise, this region has a considerable solar resource. The motivation of this study is to obtain biochar - a bi-product of high commercial value used for soil enhancement - using solar energy and agro-industrial waste. In this experiment, biomass pyrolysis of 50g of nutshells was carried out inside a stainless-steel reactor heated with concentrated radiation from a solar simulator. Three different heat fluxes were used: 234, 482, and 725 W. The maximum reaction temperatures were: 382, 498, and 674 °C respectively. The composition of the pyrolysis gases (H2, CO, CO2, and CH4) was measured and the biochar obtained was characterized. Finally, the performance of the solar reactor allowed us to identify and differentiate between evaporation, pyrolysis of cellulosic material, and lignin degradation