Through a facile low-temperature solution process, vertically n-type ZnO nanorod arrays were grown on a GaN film to form a n-ZnO nanorod/p-GaN film heterojunction. A study of the electroluminescence (EL) characteristics of the heterojunction in air and in air with 2000 ppm hydrogen revealed the sensitivity of such a device to the surrounding atmosphere. The additional hydrogen shallow donors increased the effective electron concentration in ZnO nanorods and the EL recombination zone changed from the ZnO nanorods to the GaN film, which can be identified visually from the color change.