It seems that there is no forum for just the ESP32-CAM. There's a forum (THIS FORUM) regarding the facial recognition software for the ESP32-CAM, but there's no forum that deals with just the issues related to the ESP32-CAM in general.
I've had some questions regarding the ESP32-CAM which really just relate to operating the camera's basically functionality and really has nothing to do with the facial recognition(or any other) software, but this seems to be the only forum where I (and apparently others) can ask general questions about the camera.
Please, whoever is in charge of these forums, could you add just a general ESP32-CAM forum?
Thank you
Just an ESP32-CAM Forum?
-
- Posts: 9545
- Joined: Thu Nov 26, 2015 4:08 am
Re: Just an ESP32-CAM Forum?
The ESP-CAM is not one of our development boards (the ESP-EYE is.) If you have issues with hardware, you can post those in the 'hardware' subforum, but again, support on the ESP-CAM will be best-effort as we do not produce these boards.
-
- Posts: 21
- Joined: Mon Sep 14, 2020 1:21 am
Re: Just an ESP32-CAM Forum?
Is there an ESP32-CAM forum somewhere else on the web?
Re: Just an ESP32-CAM Forum?
i have a problem i write this code:
and when i run it some times it crash and rapidly write this
i want to know why is this happening?
is it something related to the library and not mine?
how can i fix it?
thanks in advance.
Code: Select all
#include <BleKeyboard.h>
BleKeyboard bleKeyboard;
int gnd = 15;
int p1 = 13;
int p2 = 14;
int p3 = 4;
unsigned long last_run = 0;
void setup() {
pinMode(gnd,OUTPUT);
digitalWrite(gnd,LOW);
pinMode(p1,INPUT);
attachInterrupt(digitalPinToInterrupt(p2),a,RISING);
attachInterrupt(digitalPinToInterrupt(p3),b,HIGH);
Serial.begin(115200);
bleKeyboard.begin();
}
void b(){
Serial.println("enter");
bleKeyboard.press(0xE0);
bleKeyboard.releaseAll();
}
void a(){
if(millis()-last_run>10){
if(digitalRead(p1)){
Serial.println("up");
bleKeyboard.press(KEY_UP_ARROW);
bleKeyboard.releaseAll();
}else{
Serial.println("down");
bleKeyboard.press(KEY_DOWN_ARROW);
bleKeyboard.releaseAll();
}
last_run = millis();
}
}
void loop() {
}
Code: Select all
16:13:23.669 -> Guru Meditation Error: Core 0 panic'ed (IllegalInstruction). Exception was unhandled.
16:13:23.669 -> Core 0 register dump:
16:13:23.669 -> PC : 0x00000000 PS : 0x00000000 A0 : 0x00000000 A1 : 0xb33fffff
16:13:23.669 -> A2 : 0x00000000 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x00000000
16:13:23.703 -> A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3ffbf350
16:13:23.703 -> A10 : 0x00000000 A11 : 0x40081a74 A12 : 0x3ffc34e0 A13 : 0x800dbb00
16:13:23.703 -> A14 : 0x3ffbf340 A15 : 0x00000002 SAR : 0x00000000 EXCCAUSE: 0x00000000
16:13:23.703 -> EXCVADDR: 0x00000000 LBEG : 0x00000001 LEND : 0x40091d40 LCOUNT : 0xffffffff
16:13:23.737 -> Core 0 was running in ISR context:
16:13:23.737 -> EPC1 : 0x4008f7a0 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x00000000
16:13:23.737 ->
16:13:23.737 -> ELF file SHA256: 0000000000000000
16:13:23.737 ->
16:13:23.737 -> Backtrace: 0x00000000:0xb33fffff
is it something related to the library and not mine?
how can i fix it?
thanks in advance.
-
- Posts: 9545
- Joined: Thu Nov 26, 2015 4:08 am
Re: Just an ESP32-CAM Forum?
It might be because you do a Serial.println() in an ISR; I'm not entirely sure about Arduino but in ESP-IDF, doing a printf is not allowed in an ISR. Try to remove those lines.
Who is online
Users browsing this forum: No registered users and 9 guests