We review recent progress in wide bandgap thin-film and nanorod sensors made from GaN or ZnO and related materials for applications in the detection of gases such as oxygen, carbon dioxide and hydrogen. Practical aspects are covered, such as the use of differential sensor pairs to eliminate the effects of temperature variations and of the effect of humidity on the detection sensitivity.