Case Study: Low Power Camera with 30m PIR & IR Illumination Development Using ESP32 & .NET MAUI Custom smart camera development with PIR detection, IR illumination, ESP32-S3, and .NET MAUI. Ultra-low power design, 30m motion detection, 11-month battery life, and cross-platform app support.

Smart Camera Development with PIR Detection, IR Illumination, ESP32 & .NET MAUI

In this case study, Adequate Infosoft showcases its expertise in custom smart camera development, embedded firmware development, PCB design, IoT camera solutions, and low-power surveillance systems.

Our team also developed cross-platform mobile and desktop applications using .NET MAUI to support Android, iOS, Windows, and macOS platforms.

Businesses searching for custom IP camera development services, ESP32-S3 firmware developers, AI camera development companies, and outdoor battery-powered camera design can explore how our engineering team delivered a production-ready smart surveillance solution.

Client Requirement

A client approached Adequate Infosoft to develop a custom battery powered outdoor camera for remote surveillance and wildlife monitoring applications.

The challenge was to design an ultra-low power smart camera, able to detect motion up to 30 meters away using PIR sensors, able to capture clear images at night using IR illumination, and operate for months on a single battery charge.

The client had tried a number of off-the-shelf security cameras before, but most only had an 8-12 meter PIR detection range and used far too much power to be used long-term outdoors.

We have our own firmware, hardware and PCB design team that created a custom ESP32-S3 based camera solution optimized for low power operation, robust long range motion detection and smart event triggering with minimal false alarms.

Smart camera development using ESP32, PIR sensor, IR night vision, and .NET MAUI mobile app for real-time monitoring and control.

Technical Architecture

1. Long-Range PIR Design

Standard PIR sensors (e.g., HC-SR501) cannot reach 30m reliably. I designed a custom analog front end:

ComponentSelectionReason
Pyroelectric sensorPanasonic EKMB-U seriesUltra-low current (1.2µA standby), high sensitivity
Fresnel lensCustom 38mm diameter, 30° coneCollects IR from 30m (human body emits ~10µm wavelength)
Op-amp signal chainTLV411 (gain = 1000, bandpass 0.3–10Hz)Amplifies microvolt signals, rejects 50/60Hz noise
ComparatorTLV7031 with programmable thresholdAdjustable hysteresis (prevents wind-induced false triggers)

Result: Reliable detection of a walking person at 32m (tested in open field, 25°C ambient).

2. Extended Battery Life with Intelligent Power Management

  • Two 18650 Lithium-Ion Batteries (3400 mAh each connected in series with nominal voltage 7.4 Volts)
  • Power Management IC is TPS62740 with a load switch TPS22860
  • Deep sleep current consumption is 8 µA with PIR and MCU in sleep
  • Wake up time from PIR interrupt = 3 ms
  • The active current consumption is 240 mA for JPEG capture and storage of each trigger including Camera and IR Led's for approximately 1.8 seconds
  • Estimated Battery Life at 10 Triggers per day = 11 months

3. Camera & IR Illumination

Camera and illumination for infrared:

  • Camera : OV-2640 (2 Mega Pixels, JPEG out and Programmable Resolution)
  • IR radiation : 6 x 850 nm [100mA at 200ms] [20m Illumination]
  • Lens : IR-corrected (Eliminates Focus Shift at Night)

The sequence of events for capturing an image:

  • A PIR detector triggers the MCU into an awake state (Active state of MCU)
  • Camera Power Up (Settling time of 100 ms)
  • Image Capture [1600 x 1200, JPEG, size approx' 200 KB]
  • Store in MicroSD (FAT32)
  • IR LEDs will be turned on only when the lux level [ambient] < 10 (Photodiode [located inside the window])
  • Go back to sleep mode (Total Active Time < or = 2 seconds)

4. Firmware Behavior

Written in ESP-IDF (ESP32-S3, because of ultra-low-power ULP coprocessor):

Challenges Overcome

ChallengeSolution
PIR false triggers at 30m from small animalsDual-element AND logic + minimum object size filtering (firmware calculates consecutive edge counts)
IR LED current causing brown-outSupercapacitor (1F, 5.5V) pre-charged before LED burst
Condensation on lens during night-to-day transitionEnclosure with breather membrane + hydrophobic coating on window
Battery voltage sag in cold weather (−10°C)Software adapts: below 0°C, no IR flash, only daytime capture
Smart camera development using ESP32, PIR motion sensor, IR night vision, and .NET MAUI mobile app integration.

Client Deliverables

  • Schematic Designs and PCB Layouts - Two Layer (JLCPCB Assembly)
  • Bill of Materials (BOM) with substitutions for out of stock material options
  • Firmware Source Code (ESP IDF - Fully Documented)
  • Calibration Procedures (PIR Sensitivity Adjustments and Lens Focusing)
  • Test Report provided showing 30m range proof, battery life calculation and trigger rate not greater than 1/day (False Trigger Rate)
Smart camera development with ESP32, PIR motion detection, IR night vision, and .NET MAUI desktop application integration.

Summary

The customer placed 50 units in service for monitoring animals in the field for 8 months before the initial battery replacement took place at 10 months of operation.

The passive infrared (PIR) sensors consistently reported a distance greater than 28 meters to detect motion, and the infrared (IR) sensors captured clear images of predator animals as far away as 20m and able to determine unique characteristics of those animals.

What Our Clients Say About Us

Client satisfaction is our ultimate goal. Here are some kind words of our precious clients they have used to express their satisfaction with our service.

Leadership That Leads Worldwide

With a physical presence in over 15 countries and a global footprint spanning 25+ countries, we are ready to serve you anywhere. Location, language, or culture is never a barrier, because our global team can work with you in your language. Our strong international team ensures seamless collaboration across borders We have a strong tech team, highly recognized in their domains, with extensive technical expertise.