An Arduino processor provides the signals needed to drive Peltier cells which heat the fluid in the birds and causes the bobbing motion.  

Construction details can be found here.

For more general information, check out this post.