Skip to content

CosmicMac/ESP8266-trap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ESP8266-trap

Use a PIR coupled with ESP8266 to trigger a remote camera.

This is a companion project for my ESP8266 remote camera trigger.
It uses a PIR sensor to detect movement and a ESP82266 (client) to send trigger command to another ESP (server) coupled with the camera.

PIR sensor is a SB00422A-1 (datasheet).
I only modified the default delay time (11s on my model), setting it at the minimum value (4s on my model) by connecting the time pin of the sensor directly to ground.
The "delay time" is the number of seconds the PIR signal stay up after the last movement was detected.

Shopping list

  1. ESP8266 running a recent version of NodeMCU (I used nodemcu_integer_0.9.6-dev_20150406)
  2. battery AAA x 2
  3. battery holder
  4. switch
  5. PIR SB00422A-1
  6. LED (3V tolerant, or add appropriate resistor)
  7. cable and a small piece of prototyping board
  8. enclosure (I use tablets tube, as usual :))

Wiring

Wiring

About the LED indicator...

The LED should be on for a few seconds at startup, then go off until the next PIR movement detection.
A blinking LED after startup means that the wifi configuration has failed (ESP was unable to connect to the server module). In this case, just check if the ESP server module coupled with the camera is activated, then switch the PIR module off and on again.
On normal operation, the LED should stay on while movement is detected, and go off 4 seconds after movement has stopped.

Caveats

I did not find the time to test the whole system in real condition (OK, I need to purchase some seeds for birds first ;) ) but it seems very stable, with no false trigger.

Wiring

The only drawback I can see for the moment is the latency: objects moving fast will probably not be catched (but I have to confirm this point by doing real tests).
Any idea on how to reduce latency would be greatly appreciated.

Resources

   


Have a nice day playing with ESP8266!

About

Use a PIR coupled with ESP8266 to trigger a remote camera.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages