GaN sensor