Comparative effects of synthesis parameters on the NO2 gas-sensing performance of on-chip grown ZnO and Zn2SnO4 nanowire sensors