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 Basic Arduino Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.