# WiFi Camera with Motion Detection Reference Design ## Description This project is a WiFi Camera with Motion Detection, utilizing ESP32-CAM module and HC-SR501 PIR sensor. The camera is activated by the sensor's output. The system also includes power regulation and communication headers for setup and control. #WiFi #MCU #PIR #ReferenceDesign #project #ESP32 #camera #referenceDesign #edgeComputing #espressif #template #reference-design ## Project Details - **Owner:** abhishek04 - **Created:** 7/15/2024 - **Last Updated:** 10/17/2024 - **Visibility:** Public - **License:** https://creativecommons.org/licenses/by/4.0/ ## Key Components ### BATT1 — [1070TR](https://www.flux.ai/jharwinbarrozo/1070tr~eit.md) - Datasheet URL: https://www.keyelco.com/userAssets/file/M65p5.pdf - Voltage: 3V - Manufacturer Part Number: 1070TR - Manufacturer Name: Keystone Electronics **Pins:** - - [pin 2] - + [pin 1] ### D1 — [LED](https://www.flux.ai/jharwinbarrozo/led-tht~gr.md) - Saturation Current: 93.2e-12A - Series Resistance: 0.42Ω - Breakdown Voltage: 0V - Emission Coefficient: 3.73 - Forward Voltage: 1.70 **Pins:** - A [pin 2] - K [pin 1] ### D2 — [1N4148-1](https://www.flux.ai/jecstronic/1n4148-1~jje.md) - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: 1N4148-1 - Part Type: Diode - Datasheet URL: https://www.mouser.com/datasheet/2/308/1N914_D-1801484.pdf - Manufacturer Name: Microchip **Pins:** - A [pin 2] - K [pin 1] ### D3 — [1N5819HW-7-F](https://www.flux.ai/jecstronic/1n5819hw-7-f~x5v.md) - Manufacturer Part Number: 1N5819HW-7-F - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Diodes Incorporated - Datasheet URL: https://www.diodes.com/assets/Datasheets/ds30217.pdf - Part Type: Diode **Pins:** - A [pin 2] - K [pin 1] ### D4 — [LED](https://www.flux.ai/jharwinbarrozo/led-tht~gr.md) - Breakdown Voltage: 0V - Series Resistance: 0.42Ω - Saturation Current: 93.2e-12A - Forward Voltage: 1.70 - Emission Coefficient: 3.73 **Pins:** - A [pin 2] - K [pin 1] ### D5 — [PN Junction Diode](https://www.flux.ai/jharwinbarrozo/pn-junction-diode~z7.md) - Breakdown Voltage: 50V - Part Type: Diode - Series Resistance: 0.0286Ω - Emission Coefficient: 2.00 - Saturation Current: 1.88e-9A **Pins:** - A [pin 2] - K [pin 1] ### D6 — [SS34](https://www.flux.ai/jecstronic/ss34~8tm.md) - Datasheet URL: https://octopart.com/datasheet/ss34-multicomp-5386508 - Part Type: Diode - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Multicomp - Manufacturer Part Number: SS34 **Pins:** - A [pin 2] - K [pin 1] ### J2 — [TerminalBlock-01x02P-3.50mm](https://www.flux.ai/vasy_skral/terminalblock-01x02p-350mm~mcc.md) - Part Type: Connector **Pins:** - P1 [pin 2] - P2 [pin 1] ### LED1 — [CTL1206FYW1T](https://www.flux.ai/jharwinbarrozo/ctl1206fyw1t~cql.md) - Datasheet URL: https://page.venkel.com/hubfs/Resources/Datasheets/LEDs/CTL1206FYW1T.pdf - Forward Voltage: 1.70V - Manufacturer Name: Venkel - Part Type: LED - Manufacturer Part Number: CTL1206FYW1T **Pins:** - A [pin 2] - K [pin 1] ### Q2 — [2N2222](https://www.flux.ai/jecstronic/2n2222~sac.md) - Part Type: Transistor - Manufacturer Name: Solid State Inc. - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: http://www.solidstateinc.us/specsearch/specs/2N2221A-ssi.pdf - Manufacturer Part Number: 2N2222 **Pins:** - B [pin 2] - C [pin 3] - E [pin 1] ### Q3 — [TIP120](https://www.flux.ai/jecstronic/tip120~qmw.md) - Datasheet URL: https://www.st.com/content/ccc/resource/technical/document/datasheet/f9/ed/f5/44/26/b9/43/a4/CD00000911.pdf/files/CD00000911.pdf/jcr:content/translations/en.CD00000911.pdf - Manufacturer Name: STMicroelectronics - Part Type: Transistor - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: TIP120 **Pins:** - B [pin 1] - C [pin 2] - E [pin 3] ### RV1 — [3224W-1-104E](https://www.flux.ai/jharwinbarrozo/3224w-1-104e~do.md) - Resistance: 100kΩ - Manufacturer Part Number: 3224W-1-104E - Manufacturer Name: Bourns - Datasheet URL: https://datasheet.lcsc.com/lcsc/1810271112_BOURNS-3224W-1-103E_C81348.pdf - Part Type: Resistor **Pins:** - P1 - P2 - P3 ### SW1 — [EG1218](https://www.flux.ai/adrian95/eg1218~bb.md) - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://sten-eswitch-13110800-production.s3.amazonaws.com/system/asset/product_line/data_sheet/119/EG.pdf - Manufacturer Name: E-Switch - Manufacturer Part Number: EG1218 - Part Type: Switch **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] ### U1 — [AMS1117-3.3](https://www.flux.ai/vasy_skral/ams1117-33~34.md) - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811021917_Advanced-Monolithic-Systems-AMS1117_C6188.pdf - Manufacturer Part Number: AMS1117-3.3 - Manufacturer Name: AMS - Symbol Style: Parametric - Part Type: Integrated Circuit - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - GND [pin 1] - TAB(VOUT) [pin 4] - VIN [pin 3] - VOUT [pin 2] ### U10 — [MPU-9250](https://www.flux.ai/jharwinbarrozo/mpu-9250~736.md) - Manufacturer Part Number: MPU-9250 - Part Type: Integrated Circuit - Package or Case Code: 24QFN - Datasheet URL: https://media.digikey.com/pdf/Data%20Sheets/TDK%20PDFs/MPU-9250_Rev_1.1.pdf - Manufacturer Name: TDK InvenSense **Pins:** - P1 [pin 16] - P10 [pin 4] - P11 [pin 13] - P12 [pin 22] - P13 [pin 7] - P14 [pin 12] - P15 [pin 18] - P16 [pin 25] - P17 [pin 5] - P18 [pin 20] - P19 [pin 19] - P2 [pin 1] - P20 [pin 21] - P21 [pin 9] - P22 [pin 2] - P23 [pin 3] - P24 [pin 8] - P25 [pin 10] - P3 [pin 6] - P4 [pin 17] - P5 [pin 15] - P6 [pin 14] - P7 [pin 24] - P8 [pin 11] - P9 [pin 23] ### U11 — [ESP32-WROOM-32D](https://www.flux.ai/vasyl/esp32-wroom-32d~7py.md) - Manufacturer Name: Espressif Systems - Datasheet URL: https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32d_esp32-wroom-32u_datasheet_en.pdf - Part Type: Microcontroller - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: ESP32-WROOM-32D **Pins:** - 3.3V [pin 2] - AGND [pin 39] - CLK [pin 20] - CMD [pin 19] - EN [pin 3] - GND [pin 38] - GND [pin 15] - GND [pin 1] - IO0 [pin 25] - IO12 [pin 14] - IO13 [pin 16] - IO14 [pin 13] - IO15 [pin 23] - IO16 [pin 27] - IO17 [pin 28] - IO18 [pin 30] - IO19 [pin 31] - IO2 [pin 24] - IO21 [pin 33] - IO22 [pin 36] - IO23 [pin 37] - IO25 [pin 10] - IO26 [pin 11] - IO27 [pin 12] - IO32 [pin 8] - IO33 [pin 9] - IO34 [pin 6] - IO35 [pin 7] - IO4 [pin 26] - IO5 [pin 29] - NC [pin 32] - RXD0 [pin 34] - SD0 [pin 21] - SD1 [pin 22] - SD2 [pin 17] - SD3 [pin 18] - TXD0 [pin 35] - VN [pin 5] - VP [pin 4] ### U2 — [7805](https://www.flux.ai/jecstronic/7805~viu.md) - Part Type: Integrated Circuit - Manufacturer Name: Foshan Blue Rocket Elec - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: 7805 - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://datasheet.lcsc.com/lcsc/1912111437_Foshan-Blue-Rocket-Elec-7805_C305416.pdf **Pins:** - GND [pin 2] - VI [pin 1] - VO [pin 3] ### U4 — [7805](https://www.flux.ai/jecstronic/7805~viu.md) - Part Type: Integrated Circuit - Manufacturer Name: Foshan Blue Rocket Elec - Datasheet URL: https://datasheet.lcsc.com/lcsc/1912111437_Foshan-Blue-Rocket-Elec-7805_C305416.pdf - Manufacturer Part Number: 7805 - License: https://creativecommons.org/licenses/by/4.0/ - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - GND [pin 2] - VI [pin 1] - VO [pin 3] ### U5 — [7805](https://www.flux.ai/jecstronic/7805~viu.md) - Datasheet URL: https://datasheet.lcsc.com/lcsc/1912111437_Foshan-Blue-Rocket-Elec-7805_C305416.pdf - License: https://creativecommons.org/licenses/by/4.0/ - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: 7805 - Part Type: Integrated Circuit - Manufacturer Name: Foshan Blue Rocket Elec **Pins:** - GND [pin 2] - VI [pin 1] - VO [pin 3] ### U6 — [DHT11](https://www.flux.ai/vasyl/dht11~e2.md) - Part Type: Sensor - Manufacturer Part Number: DHT11 - Manufacturer Name: Adafruit Industries LLC - Datasheet URL: https://cdn-learn.adafruit.com/downloads/pdf/dht.pdf **Pins:** - DATA [pin 2] - GND [pin 4] - NC [pin 3] - VDD [pin 1] ### U7 — [TJA1050T/CM,118](https://www.flux.ai/vasyl/tja1050tcmc118~k8r.md) - Manufacturer Name: NXP Semiconductors - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://cz.mouser.com/datasheet/2/302/TJA1050-3083416.pdf - Manufacturer Part Number: TJA1050T/CM,118 - Part Type: CAN transceiver **Pins:** - CANH [pin 7] - CANL [pin 6] - GND [pin 2] - RXD [pin 4] - S [pin 8] - TXD [pin 1] - VCC [pin 3] - VREF [pin 5] ### U9 — [SMDA05C](https://www.flux.ai/vasyl/smda05c~l57.md) - Manufacturer Name: SMC Diode Solutions - Datasheet URL: https://www.smc-diodes.com/propdf/SMDA03C%20THRU%20SMDA24C%20N0297%20REV.B.pdf - Part Type: TVS Diodes - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: SMDA05C **Pins:** - D1 [pin 1] - D2 [pin 2] - D3 [pin 3] - D4 [pin 4] - D5 [pin 5] - D6 [pin 6] - D7 [pin 7] - D8 [pin 8] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/abhishek04/wifi-camera-with-motion-detection-reference-design~dc](https://www.flux.ai/abhishek04/wifi-camera-with-motion-detection-reference-design~dc).* --- *Generated from [https://www.flux.ai/abhishek04/wifi-camera-with-motion-detection-reference-design~dc](https://www.flux.ai/abhishek04/wifi-camera-with-motion-detection-reference-design~dc)*