Make Cricket Sounds With Arduino

by ahmedebeed555 in Circuits > Arduino

4279 Views, 4 Favorites, 0 Comments

Make Cricket Sounds With Arduino

IMG_20181024_152848.jpg

The cricket is a little bug that makes noisy sounds at night.

Some people find them annoying. But some others -and I’m one of them- find them soothing and a symbol of nature and piece.

I admit that this repeatable sound of cricket can be annoying. It might get you sleep deprivation specially if it keeps making this noise in a place near where you sleep.

But the other type of people who find its sound soothing may be grateful to hear it at bedtime and feel relaxed from it.

There are even some iPhone and Android apps that do nothing but playing those sounds to keep you relaxed.

Today I thought of generating these sound using Arduino for fun.

This can be a good way of relaxation and you don’t need to go look for that cricket if you want it to stop. In this case you can simply turn it off.

After all you are who programmed it.

I found a good post from a cleaver guy who made the most annoying cricket sound ever.

He wanted to make it a prank for his friend that he made the sound generation at random intervals.

He also made a consistent version of sound that sounded just like the normal cricket does.

In this version you can control the volume using PWM Pulse Width Modulation.

I liked the consistent sound version.

So here is how I made it.

Here is my Channel on Youtube:

AeroArduino

Components

IMG_20181015_133020.jpg
IMG_20181015_133034.jpg
1111111111111.jpg

What you’ll need:

Arduino board. eBay , Amazon

8 ohm speaker.

Wires to connect the speaker to Arduino board.

USB Arduino Cable

Program the Code

IMG_20181024_153053.jpg
IMG_20181024_152843.jpg

Program the software using Arduino IDE

Full software are available from the original page:

https://github.com/connornishijima/arduino-volume1/tree/master/examples/volume_crickeduino_prank

Downloads

Connect the Circuit and Run

mar.jpg

You can change the sound of the cricket as you like. The volume, times and randomness.

Thank you for reading.

You can read this article in Arabic on my blog

http://arabic-embedded-egypt.blogspot.com/2018/10/blog-post.html