Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. MartaRho
    M
    • Continue chat with MartaRho
    • Start new chat with MartaRho
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    MartaRho

    @MartaRho

    0
    Reputation
    8
    Posts
    408
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    MartaRho Follow

    Posts made by MartaRho

    • RE: Powering the M5Cam

      Another question: I've noticed that using a powerbank over the usb-c does not work, as the device does not wake up again after the deep sleep. Is this normal?

      posted in PRODUCTS
      M
      MartaRho
    • RE: Powering the M5Cam

      That sounds great, I just wonder what can I do with the two cameras I already have :D

      posted in PRODUCTS
      M
      MartaRho
    • Powering the M5Cam

      Hey there,

      I am trying to develop a portable system using a M5Cam. Firmware is ready, but I need to figure out how to power it in a way that can be rechargeable. Is it possible to connect a LiPo Battery to the Grove connector and recharge it via de USB-C?

      posted in PRODUCTS
      M
      MartaRho
    • Connecting M5CAM to WiFi in STA mode

      Hey there, does someone have a good example how to connect to a WiFi network with a M5Cam (model B, in case it helps).

      I've been trying with esp_wifi.h but it does not seem to catch. Also, both my SSID and pass have special characters... could that be the reason? I can't change them, though

      EDIT: tested the board with a hotspot where neither the password nor the SSID had special characters and it worked... so I guess I now know why it does not work.

      Any ideas how to encode those characters?

      posted in SOFTWARE
      M
      MartaRho
    • RE: IoT M5Cam Project - problems porting code

      Guess what? I hit another wall.

      It seems the camera is giving trouble, despite me configuring the pins as here:
      here

      E (218) camera: Camera probe failed with error 0x20001
      ESP_ERROR_CHECK failed: esp_err_t 0x20001 (ERROR) at 0x4008a228
      0x4008a228: _esp_error_check_failed at /home/marta/esp/esp-idf/components/esp32/panic.c:721

      file: "/home/marta/Arduino/esp32-cam-ai-thinker/examples/google_storage/main/main.c" line 195
      func: app_main
      expression: esp_camera_init(&camera_config)

      config XCLK_FREQ
        int "XCLK Frequency"
        default "20000000"
        help
            The XCLK Frequency in Herz.
      
      menu "Pin Configuration"
          config D0
              int "D0"
              default "32"
          config D1
              int "D1"
              default "35"
          config D2
              int "D2"
              default "34"
          config D3
              int "D3"
              default "5"
          config D4
              int "D4"
              default "39"
          config D5
              int "D5"
              default "18"
          config D6
              int "D6"
              default "36"
          config D7
              int "D7"
              default "19"
          config XCLK
              int "XCLK"
              default "27"
          config PCLK
              int "PCLK"
              default "21"
          config VSYNC
              int "VSYNC"
              default "25"
          config HREF
              int "HREF"
              default "26"
          config SDA
              int "SDA"
              default "4"
          config SCL
              int "SCL"
              default "13"
          config RESET
              int "RESET"
              default "15"
      endmenu
      posted in SOFTWARE
      M
      MartaRho
    • RE: IoT M5Cam Project - problems porting code

      Thanks @heybin ! That worked well (and it was surprisingly easy :) )

      Now I gotta fix some new problems...

      Stack smashing protect failure!

      abort() was called at PC 0x400d645d on core 0
      0x400d645d: __stack_chk_fail at /home/marta/esp/esp-idf/components/esp_common/src/stack_check.c:36

      Edit: Nevermind, i just needed to change the stack protection level from overall to normal. :)

      posted in SOFTWARE
      M
      MartaRho
    • IoT M5Cam Project - problems porting code

      Dear all,

      I am trying to use a M5Cam as an IoT system. Long story short: I want to regularly take pictures, connect to a WiFi connection and upload them to a cloud service (in this case Google Cloud Storage, but any other sort of system would work). I found some github repo doing exactly what I need to do, but when trying to adapt it to my board, it crashes with the following error:

      E (489) spiram: Expected 8192KiB chip but found 4096KiB chip. Bailing out..

      I tried everything to force the board to recognise the 4Mb PSRAM:

      ESP32-specific

      CONFIG_ESP32_DEFAULT_CPU_FREQ_80=
      CONFIG_ESP32_DEFAULT_CPU_FREQ_160=
      CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
      CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=240
      CONFIG_SPIRAM_SUPPORT=y

      SPI RAM config

      CONFIG_SPIRAM_BOOT_INIT=y
      CONFIG_SPIRAM_IGNORE_NOTFOUND=
      CONFIG_SPIRAM_USE_MEMMAP=
      CONFIG_SPIRAM_USE_CAPS_ALLOC=y
      CONFIG_SPIRAM_USE_MALLOC=
      CONFIG_SPIRAM_TYPE_AUTO=y
      CONFIG_SPIRAM_TYPE_ESPPSRAM32=
      CONFIG_SPIRAM_TYPE_ESPPSRAM64=
      CONFIG_SPIRAM_SIZE=-1
      CONFIG_SPIRAM_SPEED_40M=
      CONFIG_SPIRAM_SPEED_80M=y
      CONFIG_SPIRAM_MEMTEST=y
      CONFIG_SPIRAM_CACHE_WORKAROUND=y
      CONFIG_SPIRAM_BANKSWITCH_ENABLE=y
      CONFIG_SPIRAM_BANKSWITCH_RESERVE=8
      CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST=
      CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY=

      Any ideas? I am a total noob with esp32 coding and so, but I would appreciate any help :) Also, if you happend to have some other example code I can take on, please share!

      Original Code:
      https://github.com/raphaelbs/esp32-cam-ai-thinker/tree/master/examples/google_storage

      posted in SOFTWARE
      M
      MartaRho