Replies: 3 comments 4 replies
-
SOLVED by adding the following line just before the end of the Setup function:
The PIR detects movement, pulls the gate of the n-mosfet High, which pulls the gate of the p-mosfet Low, powering the camera for as long as Tx potentiometer sets it to. A photo and an video are immediately sent upon boot, then it waits for new messages as normal. This is suitable for battery use, like keeping it in my car outside, over my doorstep or terrace, where I don't have access to mains line. I use 4xAA batteries because I'm eerie of lipos. They are 2200mAh, the quiescent current of the PIR is 50uA and the project consumes 170mAh while running. In theory, if it detects movement once per hour, it should run for nearly 2 months. Any suggestions for improvements would be welcome. |
Beta Was this translation helpful? Give feedback.
-
Interesting -- I'll have a look at that - some mods coming: add the modified radu light sensor, that hd issue, and the old picture issue |
Beta Was this translation helpful? Give feedback.
-
I've been able to make the project work at 3.3V consistently by using an HT7833, through which the PIR and Camera are powered: https://www.holtek.com.tw/documents/10179/82844a36-1633-498c-a6e3-4d99f2d0f6d7 The PIR module was modified to work at 3.3V by moving the diode to the side, then connecting VCC pin directly to another pin close to the corner of the pcb where re-triggering is set. In theory, with 10 wake-ups a day and 2000mAh batteries, it should last over a month and a half. |
Beta Was this translation helpful? Give feedback.
-
I put together a simple circuit that turns ON and keeps the camera ON while the output of the PIR is HIGH.
I would like to receive a photo and an avi right after the camera connects to wifi (im using v8.9 to keep it simple without wifimanager)
I though I just had to call
xTaskCreatePinnedToCore( the_camera_loop, "the_camera_loop", 10000, NULL, 1, &the_camera_loop_task, 1);
by the end of setup() function but Im only receiving a photo, not the video.The Serial Monitor seems to show the avi was recorded, but I dont received it.
Beta Was this translation helpful? Give feedback.
All reactions