Insects detect wind flow with hair sensors. We designed and tested a miniature microelectromechanical wind sensor, and explored how this could be interfaced to a robot. An important issue is that the robot can adapt to the specific but unpredictable properties of the sensor and background environment, to continue to behave successfully despite changes. We introduced a homeostasis mechanism that could serve this purpose.