Introduction: ESP32 Spy Camera

About: Myself Ramji Patel, I am an Electronic project Teacher, hobbyist and designer. In present I am pursuing my B-tech from Institute of Engineering and Rural Technology(I.E.R.T.), Prayagraj (Allahabad).

INTRODUCTION:

In this instructables, I am going to make an spy camera with ESP32 camera module. This camera captures photos and stores them in a micro SD card in jpg format. You can easily watch the photos captured by the spy camera by connecting it to the computer with the help of a micro SD card reader. You can place or fix the spy any where you want to capture the images. You can power the spy camera with a battery or a 5V adapter. So let's get started.

Warning! ⚠ : Make sure to not to use this spy camera to do something illegal. You have been warned!.

If are using the ESP32 Camera module first time, first you should visit my first instructables on ESP32 cam board. The link is given below:

https://www.instructables.com/ESP32-Cam-LED-Blink/

Supplies

List of necessary Electronic Hardware:


https://quartzcomponents.com?sca_ref=3671286.DzEptz4I3w

ESP32 camera module

https://quartzcomponents.com/products/esp32-camera-development-board-wifi-bluetooth-with-ov2640-camera-module?_pos=2&_sid=fd04634b0&_ss=r

FT232RL USB to UART converter

https://quartzcomponents.com/products/ft232rl-usb-to-ttl-3-3v-5-5v-serial-adapter-module?_pos=1&_sid=4c7e05c14&_ss=r

jumper wires(male to male)

https://quartzcomponents.com/products/65pcs-breadboard-jumper-cable?_pos=7&_sid=a8a3e0d74&_ss=r

Mini-B USB cable

https://quartzcomponents.com/products/raspberry-pi-cable-for-charging?_pos=1&_sid=cb6ce67df&_ss=r

Micro SD Card

https://quartzcomponents.com/products/sandisk-micro-sd-16gb-class-10?_pos=7&_sid=f79f6847a&_ss=r

Micro SD Card reader

https://quartzcomponents.com/products/mini-usb-2-0-micro-sd-tf-memory-card-reader-for-raspberry-pi?_pos=2&_sid=f79f6847a&_ss=r


ESP32 Camera

https://www.amazon.in/RoboThings-Camera-Module-Development-Bluetooth/dp/B0BN5CQMMH/ref=sr_1_1_sspa?crid=SGP839Q151DQ&keywords=esp32+camera+module&qid=1680971789&sprefix=esp32ca%2Caps%2C340&sr=8-1-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&psc=1

FT232RL USB to UART Converter

https://www.amazon.in/HiLetgo-Ft232rl-Serial-Adapter-Arduino/dp/B00IJXZQ7C/ref=sr_1_1?crid=10JN2Q9NRZ9X3&keywords=ft232rl&qid=1680971836&sprefix=FT232rl%2Caps%2C396&sr=8-1

jumper wires(male to male)

https://www.amazon.in/INVENTO-Solderless-Flexible-Breadboard-Arduino/dp/B07PGHD2M8/ref=sr_1_38?crid=38GRO9IT852R9&keywords=jumper+wires&qid=1680971914&sprefix=jumper+wires%2Caps%2C257&sr=8-38

Mini-B USB cable

https://www.amazon.in/Cable-Arduino-Nano-Mini-30cm/dp/B088GLXF57/ref=sr_1_1?crid=1UZ9QI3OZ694J&keywords=arduino+nano+cable&qid=1680971959&sprefix=arduino+nano+c%2Caps%2C290&sr=8-1

Micro SD Card

https://www.amazon.in/SanDisk-Ultra-microSD-UHS-I-120MB/dp/B08L5HMJVW/ref=sr_1_3?crid=1E2D3M4KLHEOD&keywords=micro%2Bsd%2Bcard%2B16%2Bgb&qid=1680972031&sprefix=micro%2BSD%2Bcard%2B16%2Caps%2C279&sr=8-3&th=1

Micro SD Card reader

https://www.amazon.in/Cable-Hunter-5Gbps-Type-Reader/dp/B07CTM1DY4/ref=sr_1_25?crid=59995XW33IWZ&keywords=card+reader&qid=1680972110&sprefix=card+reader%2Caps%2C275&sr=8-25

Step 1: Making the Circuit

Connect the RS232 EFTDI Module and ESP-32 Cam board as shown in the circuit diagram. You can also take the help of following wiring scheme.

VCC---------->5V

GND---------->GND

RX-------------->UOT

TX-------------->UOR


Step 2: Formatting the Micro SD Card

Before inserting the micro SD card in the SD card slot of the the ESP32 camera, format your micro SD card and create a new new folder and rename it as 'sd'. Again create an another new folder inside the sd folder and rename this as 'images'. Now eject the micro sd card form the laptop and insert it inside the micro SD card slot of the ESP32 camera module.

Step 3: Write and Run the Micro Python Script

You can download the micro python main.py file from my GitHub repository. The link is following:

https://github.com/ramjipatel041/ESP32-Spy-Camera


Step 4: Place the Spy Camera Where You Want to Use

After uploading the main.py file. Now you can place your camera where you want to use it.

Step 5: Watch the Captured Photos