官术网_书友最值得收藏!

Hardware and software requirements

Let's first see what the required components for this project are. As usual, we will use an Arduino Uno board as the 'brain' of the project.

Then, we will need a microphone. I used a simple SparkFun electret microphone, which has an amplifier onboard, as shown in the following image:

The most important thing here is that the microphone is amplified. For example, SparkFun is amplified 100 times, making it possible for the Arduino Uno to record usual sound levels (such as voices).

Then, you will need a microSD card with an adapter:

You will also need a way to record data on the SD card. There are many ways to do so with Arduino. The easiest, which is the solution that I chose here, is to use a shield. I had an Ethernet Shield available, which is great because it also has an onboard microSD card reader.

You can, of course, use any shield with a microSD card reader or even a microSD reader breakout board.

You will also need a breadboard and some jumper wires to make the required connections.

Finally, the following is the list of all the components that we will use in this project:

On the software side, you will need a special version of the SD card library called SdFat. We can't use the usual Arduino SD library here as we will do some really fast write operations on the SD card, which can't be handled by the SD library that comes with the Arduino software. You can download this library from https://github.com/greiman/SdFat.

主站蜘蛛池模板: 文昌市| 海南省| 罗江县| 马山县| 长白| 隆化县| 鹿邑县| 专栏| 陇南市| 彭泽县| 绿春县| 乌审旗| 威海市| 门源| 莒南县| 启东市| 博客| 遂昌县| 石河子市| 荔浦县| 武平县| 防城港市| 永定县| 昭苏县| 青神县| 临清市| 盐边县| 南雄市| 汉沽区| 山东省| 新晃| 古丈县| 瑞丽市| 西平县| 唐海县| 濉溪县| 亳州市| 鲜城| 全南县| 乐昌市| 南雄市|