Just an ESP32-CAM Forum?

RogerInHawaii
Posts: 21
Joined: Mon Sep 14, 2020 1:21 am

Just an ESP32-CAM Forum?

Postby RogerInHawaii » Sun Sep 27, 2020 10:01 pm

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

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: Just an ESP32-CAM Forum?

Postby ESP_Sprite » Mon Sep 28, 2020 8:09 am

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.

RogerInHawaii
Posts: 21
Joined: Mon Sep 14, 2020 1:21 am

Re: Just an ESP32-CAM Forum?

Postby RogerInHawaii » Mon Sep 28, 2020 10:53 pm

Is there an ESP32-CAM forum somewhere else on the web?

alihesami
Posts: 1
Joined: Tue Jul 11, 2023 11:52 am

Re: Just an ESP32-CAM Forum?

Postby alihesami » Tue Jul 11, 2023 11:58 am

i have a problem i write this code:

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() {
}
and when i run it some times it crash and rapidly write this

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
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.

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: Just an ESP32-CAM Forum?

Postby ESP_Sprite » Wed Jul 12, 2023 2:15 am

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 11 guests