Initial, very basic version of Kitchen PIR
This commit is contained in:
@@ -13,5 +13,6 @@ platform = espressif32
|
|||||||
board = esp32cam
|
board = esp32cam
|
||||||
framework = arduino
|
framework = arduino
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
|
board_build.partitions = huge_app.csv
|
||||||
|
|
||||||
lib_deps = https://github.com/eloquentarduino/EloquentEsp32cam.git
|
lib_deps = https://github.com/eloquentarduino/EloquentEsp32cam.git
|
||||||
@@ -63,6 +63,7 @@ void setup() {
|
|||||||
Serial.println("Telegram OK");
|
Serial.println("Telegram OK");
|
||||||
|
|
||||||
pinMode(4,OUTPUT);
|
pinMode(4,OUTPUT);
|
||||||
|
//pinMode(33,OUTPUT);
|
||||||
Serial.println("Awaiting for motion...");
|
Serial.println("Awaiting for motion...");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -96,8 +97,8 @@ void loop() {
|
|||||||
camera.resolution.getWidth(),
|
camera.resolution.getWidth(),
|
||||||
camera.resolution.getHeight(),
|
camera.resolution.getHeight(),
|
||||||
camera.resolution.benchmark.millis()
|
camera.resolution.benchmark.millis()
|
||||||
);
|
); */
|
||||||
*/
|
|
||||||
// capture new frame
|
// capture new frame
|
||||||
Serial.println("Capturing Frame");
|
Serial.println("Capturing Frame");
|
||||||
digitalWrite(4,HIGH);
|
digitalWrite(4,HIGH);
|
||||||
@@ -131,5 +132,6 @@ void loop() {
|
|||||||
|
|
||||||
/* });
|
/* });
|
||||||
Serial.println("Resolution switched back to VGA"); */
|
Serial.println("Resolution switched back to VGA"); */
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user