Make Your Own Spy Bug (Arduino Voice Recorder)

59,580

175

42

Introduction: Make Your Own Spy Bug (Arduino Voice Recorder)

About: Awesome Electronics Tutorials, Projects and How To´s

In this project I will show you how I combined an Arduino Pro Mini with a couple of complementary components in order to create a voice recorder which could also be abused as a spy bug. It has a run time of around 9 hours, is small and super easy to use. The recording quality might not be the best, but it should be suitable for many purposes. Let's get started!

Step 1: Watch the Video!

The video gives you all the information you need to create your own Spy Bug. During the next steps though I will present you some additional information.

Step 2: Order Your Parts!

Here you can find a parts list with example sellers for all the components that you will need (affiliate links).

Aliexpress:

1x Arduino Pro Mini: https://s.click.aliexpress.com/e/_d62ALdV

1x LiPo Battery: https://s.click.aliexpress.com/e/_dWbxwQm

1x TP4056 LiPo Charge/Protection Board: https://s.click.aliexpress.com/e/_dX8n0hp

1x Micro SD Card Adapter: https://s.click.aliexpress.com/e/_dUy68bd

1x Electret Mic + MAX9814 Amp: https://s.click.aliexpress.com/e/_dT18MYS

1x Tactile Switch: https://s.click.aliexpress.com/e/_dXIIMcP

1x 5mm Red LED: https://s.click.aliexpress.com/e/_dV63r7D

1x 2kΩ Resistor: https://s.click.aliexpress.com/e/_dTPpXjt

Ebay:

1x Arduino Pro Mini: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x LiPo Battery: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x TP4056 LiPo Charge/Protection Board: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x Micro SD Card Adapter: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x Electret Mic + MAX9814 Amp: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x Tactile Switch: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x 5mm Red LED: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x 2kΩ Resistor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

Amazon.de:

1x Arduino Pro Mini: http://amzn.to/2FHf9PY

1x LiPo Battery: http://amzn.to/2DZnbY5

1x TP4056 LiPo Charge/Protection Board: http://amzn.to/2EE8pTT

1x Micro SD Card Adapter: http://amzn.to/2nHrsVd

1x Electret Mic + MAX9814 Amp: http://amzn.to/2FHzW60

1x Tactile Switch: http://amzn.to/2BTCxYg

1x 5mm Red LED: http://amzn.to/2BTCyLO

1x 2kΩ Resistor: http://amzn.to/2nKX5NN

Step 3: Build the Circuit!

Here you can find the schematic and pictures of my finished Spy Bug. Feel free to use them as a reference.

Step 4: Upload the Code!

Here you can download the Arduino code for the project. Use an FTDI breakout to upload it to the Arduino Pro Mini. And don't forget to download/include the TMRpcm library:

https://github.com/TMRh20/TMRpcm

Step 5: Success!

You did it! You just created your own Spy Bug!


Feel free to check out my YouTube channel for more awesome projects:

http://www.youtube.com/user/greatscottlab

You can also follow me on Facebook, Twitter and Google+ for news about upcoming projects and behind the scenes information:

https://twitter.com/GreatScottLab
https://www.facebook.com/greatscottlab

3 People Made This Project!

Recommendations

  • The 1000th Contest

    The 1000th Contest
  • Battery Powered Contest

    Battery Powered Contest
  • Hand Tools Only Challenge

    Hand Tools Only Challenge

42 Discussions

0
abc54093763
abc54093763

Question 5 days ago

The LED does not turn off at once when the switch is pressed to stop recording. Please help me..

0
mohamedtop
mohamedtop

5 weeks ago

Hello
There is a problem with the code when pictures using arduino un
As shown in picture A
When adding this amendment 1. Edit pcmConfig.h
a: On Uno or non-mega boards, #define buffSize 128. May need to increase.
b: Uncomment #define ENABLE_RECORDING and #define BLOCK_COUNT 10000UL
On the code another problem appeared as in image B.
I hope to solve the problem, I did not find a solution to it in Google

a.pngb.pngb.png
0
srtviper1010
srtviper1010

Question 4 months ago

Which arduino pro mini would work best the 5v/16mhz one or the 3.3v/8mhz one

0
tteegii1
tteegii1

Answer 7 weeks ago

'class TMRpcm' has no member named 'startRecording'

0
bigheadrunaway
bigheadrunaway

7 months ago

Hello, this project looks great! I am new to Arduino. So one quick (very basic) question, if I am not using the battery and just connect it to my computer, do I still need to buy the LiPo Charge/Protection Board? Thank you!

0
AliM352
AliM352

Answer 8 months ago

Please edit pcmConfig.h from your TMRpcm library.

0
AliM352
AliM352

8 months ago

Hi, I am try to upload the code but i getting #error Architecture or board not supported. Try many selection board on the list and nothing change the same error.

Any suggestion?

0
LeT99
LeT99

1 year ago

help me for error, i used UNO for it
Board: "Arduino/Genuino Uno"
C:\Users\VOSTRO~1\AppData\Local\Temp\ccPyppWB.ltrans0.ltrans.o: In function `button':
C:\Users\Vostro 5568\Desktop\sketch_sep21b/sketch_sep21b.ino:22: undefined reference to `TMRpcm::stopRecording(char*)'
C:\Users\VOSTRO~1\AppData\Local\Temp\ccPyppWB.ltrans0.ltrans.o: In function `setup':
C:\Users\Vostro 5568\Desktop\sketch_sep21b/sketch_sep21b.ino:17: undefined reference to `TMRpcm::startRecording(char*, unsigned int, unsigned char)'
collect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "SD.h"
Used: C:\Program
Multiple libraries were found for "SPI.h"
Used: C:\Program
Multiple libraries were found for "TMRpcm.h"
Used: C:\Users\Vostro
Not used: C:\Program
exit status 1
Error compiling for board Arduino/Genuino Uno.

0
dogan35
dogan35

Question 1 year ago

C:\Users\EEE\Desktop\arduino ses\SpyBug\SpyBug.ino:72:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
case 10: audio.stopRecording("10.wav"); break;

It gives this error and it does not work. There is no even a .txt file.

0
SonakulK
SonakulK

Question 2 years ago

i dont have microsdcard, it work?

0
azad6
azad6

Answer 1 year ago

yes it will work if you put the correct wiring to the memory crd reader

1
TristanS50
TristanS50

Question 1 year ago

When I record my WAV files come out with no data. I cannot play any of the files I get. What could be wrong?

0
azad6
azad6

Answer 1 year ago

I also had that problem
1.you may be pressing the power switch after recording instead you should press the record switch
2. I reseted the circuit

0
azad6
azad6

Reply 1 year ago

2.i reset the circuit until the built-in led starts to flicker when i press the record switch

1
paclevkov
paclevkov

2 years ago

There is config file in the library. Scroll down and find Recorder option, uncomment it to set the library to Recorder mode. Then the code will compile successfully.

0
KunalB33
KunalB33

Reply 1 year ago

Can you please explain this in detail.I'm not getting what you're saying. I'm stuck at this project

1
paclevkov
paclevkov

Reply 1 year ago

Sure, after downloading the library, open the folder TMRpcm, in the main root, you can find pcmConfig.h file. Open it with text editor program. Scroll down to line 75(different lines can be found on different versions, mine is 75), you will see that, there is commented row: //#define ENABLE_RECORDING.
Uncomment it, delete the tho "//" symbols, it should look like this:
#define ENABLE_RECORDING.
Save the file
as last step.

0
Simontinker
Simontinker

Reply 1 year ago

Is there a way to put the working code in this forum? What do i need to put in my sketch? I am new to Arduino.

0
sam anies
sam anies

1 year ago

Can you please explain this in detail.the code will compile successfully.but not recording file in sd card