Chapter 22. Electronic Cricket

Temperature Sensing

Did you know that you can tell the temperature from crickets? Crickets chirp faster when the temperature is warmer, and they chirp more slowly when the air is cooler. Let’s use our Arduino microcontroller skills and our knowledge about thermistors (Chapter 21) to build an electronic cricket. It won’t look much like an insect, but the Arduino cricket will respond to temperature much the same way a real cricket does—its chirp will speed up as the air temperature warms up, and slow down as the air gets cooler. And unlike real crickets (which stop chirping when the temperature gets below about 60°F), your Arduino will continue to chirp almost to freezing!

The components to build this electronic cricket ...

Get Make: Basic Arduino Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.