Homeostat
The Homeostat is one of the first devices capable of adapting itself to the environment; it exhibited behaviours such as habituation, reinforcement and learning through its ability to maintain homeostasis in a changing environment. It was built by William Ross Ashby in 1948 at Barnwood House Hospital. After a few technical hiccups with short-circuits causing burn-outs, the homeostat was finally completed on the 16th March, 1948. It was an adaptive ultrastable system, consisting of four interconnected Royal Air Force bomb control units with inputs, feedback, and magnetically driven, water-filled potentiometers. It illustrated his law of requisite variety — automatically adapting its configuration to stabilize the effects of any disturbances introduced into the system.