← Javier Martin Gonzalez
● LIVE 30s
  1. Deep sleepDeep sleepµA
  2. PIR detecta movimientoPIR sees motion
  3. FotoPhoto
  4. Alerta por TelegramTelegram alert
  5. Stream en vivoLive stream30 s
NanyCamMovimiento detectado · foto adjunta · stream por 30 sMotion detected · photo attached · stream for 30 s

Simulación del ciclo del firmware. No muestro imágenes reales de la cámara.

A simulation of the firmware's cycle. No real camera images are shown.

NanyCam en progresoin progress

Una cámara a batería que duerme hasta que algo se mueve, y entonces avisa con foto y un stream en vivo.

A battery camera that sleeps until something moves, then sends a photo and a short live stream.

Por qué

Why

Una cámara para el cuarto que no necesite enchufe ni una app de terceros, y que sólo moleste cuando pasa algo.

A camera for the bedroom that needs no plug and no third-party app, and only speaks up when something happens.

Cómo

How

El ESP32 pasa casi todo el tiempo en deep sleep. El PIR lo despierta: saca una foto, la manda por Telegram con un link a un stream en vivo que dura 30 segundos, y vuelve a dormir. Los envíos tienen reintentos y el stream arranca antes de mandar la alerta, así el link ya anda cuando llega.

The ESP32 spends almost all its time in deep sleep. The PIR wakes it: it takes a photo, sends it over Telegram with a link to a live stream that lasts 30 seconds, and goes back to sleep. Sends are retried, and the stream starts before the alert goes out, so the link already works when it arrives.

Estado

Status

Prototipo. Salió de un primer experimento con una ESP32-CAM y el mismo PIR que sacaba fotos cada vez que detectaba algo. Falta la carcasa y probar cuánto dura la batería.

Prototype. It grew out of a first experiment with an ESP32-CAM and the same PIR that took a photo whenever it saw something. Still missing: a case and measuring battery life.

Hardware ESP32-S3-CAM + OV2640 · HC-SR501 · LiPo 3.7 V + TP4056 · LED IR 850 nm (opcional)ESP32-S3-CAM + OV2640 · HC-SR501 · 3.7 V LiPo + TP4056 · 850 nm IR LED (optional)
  • ESP32-S3-CAM + OV2640 — cámara, WiFi y el servidor del streamcamera, WiFi and the stream server
  • HC-SR501 — sensor PIR: despierta al ESP32 del deep sleepPIR sensor: wakes the ESP32 from deep sleep
  • LiPo 3.7 V + TP40563.7 V LiPo + TP4056 — batería y su cargadorbattery and its charger
  • LED IR 850 nm (opcional)850 nm IR LED (optional) — visión nocturna, con un 2N2222night vision, through a 2N2222

Se integra con

Works with

Telegram Bot API
ESP32-S3OV2640PIRdeep sleepTelegram