Comments (10)
Hmmm ... very nice!
I was just yesterday trying to understand the 4-wire vs 1-wire io system. The 1-wire does not make things much or any slower -- I do so many write to put the jpeg into avi format, that the greater speed of the 4-wire write does not give me much benefit -- and it uses those 3 other pins that could be used for other things.
I think that program just stuffs all the jpegs together in a file, and then pulls them apart to present them as jpegs -- rather than preparing an avi file that your pc can play without pre-processing.
It has some very nice code -- efficient writing in big 1-MB blocks, etc.
I'll see if I can make a PIR or microwave-sensor version using the 1-wire system in a day or two.
I thought I'd just record everything, and if there is no activity in the last 30 seconds, then close the file and delete it. If there is activity, just keep recording until activity stops for 30 seconds.
from esp32-cam-video-recorder.
Yep - no problem.
I'll do a version to control with a pin, and then get the sd chip to see the results.
from esp32-cam-video-recorder.
Thanks, it's working.
from esp32-cam-video-recorder.
Hi,
I think if you removed the major_fail() call in the init_wifi() and init_time(), then it would continue running and record with initial conditions, and just date everything with 1970. And continue until it filled the sd card.
The major_fail() flashes S-O-S on the little red led, and then reboots the ESP.
A more general solution with a button or PIR etc, needs another GPIO pin, and there are none available. There are 6 gpio for the SD card, 1 for programming the device, and 1 for controlling the PSRAM - I think that is true, although I'm not sure why that is wired to a header???
If you can give up the comfort of debugging messages on the console -- the Serial.begin(115200) and Serial.println("hello world"); then those 2 gpios could be used to attach a button or PIR, etc.
I've been meaning to give that a try.
from esp32-cam-video-recorder.
Thanks for your quick response
from esp32-cam-video-recorder.
I found this one.
https://github.com/s60sc/ESP32-CAM_MJPEG2SD
Ground pin 12 with breadboard wire, female start recording video and Remove stop.
from esp32-cam-video-recorder.
If you want more pins:
IO0 can be used if what you attach does not pull it low at startup, eg a button
The blink led IO33 can be re-purposed by removing the led and some soldering - I use it for an analog LDR to control the lamp led.
UOR (IO3) can be used for input depending on what circuit you attach. I use it for a DS18B20 temperature sensor - it does not interfere with either serial port output or flashing
UOT (IO1) could be used for an output but I haven't tried.
from esp32-cam-video-recorder.
Thanks for the help.
I need to remove all internet (wifi) code.
No browser.
Default resolution VGA.
No date and time.
On code record by number if avi1 exists Make avi2 (...). Just a button to record and stop.
Is that possible.
from esp32-cam-video-recorder.
Thanks
from esp32-cam-video-recorder.
new version - give that a try, see if it works
from esp32-cam-video-recorder.
Related Issues (20)
- major fail HOT 8
- help error WiFiClientSecure HOT 3
- Not Connect my HotSpot HOT 1
- OVERHEATING HOT 1
- Waveshare ESP32 One HOT 5
- Hello Sir : Could you add recoding voice ?? HOT 3
- compiling error HOT 2
- ESP32-CAM-Video-Recorder-junior v60.4.5 Reboot Problem HOT 3
- Photo telegram failed HOT 16
- PIR Pin not working HOT 1
- record and stream with different resolution HOT 1
- telegram sending error HOT 4
- Night time issue
- Having issues with CPU and camera or SD access HOT 1
- wireless file manager download problem HOT 4
- Multiple cameras, static IP and Telegram Notifications HOT 1
- Telegram doesn't work
- downloading speed is slow HOT 1
- Compile error sys/_null.h file not exist HOT 6
- Guru Meditation Error: Core 1 panic'ed (LoadStoreError). Exception was unhandled. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32-cam-video-recorder.