Navigation

    M5Stack Community

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

    Leo05

    @Leo05

    1
    Reputation
    21
    Posts
    1753
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Leo05 Follow

    Posts made by Leo05

    • I need a DEV for M5stack core 2

      Hi,

      I work on a data-logger project based on M5stack core 2. I need a professional developper (not beginner thanks) to improve and continue the project. You must have a hardware to test the existing code.

      Please contact me if interested.

      posted in SOFTWARE
      L
      Leo05
    • RE: Uploading .bin program via SD card to Core2

      I found this code (first message) that is working fine for me on Core2 : https://community.platformio.org/t/m5stack-sd-card-firmware-update/20883/4

      posted in Core 2
      L
      Leo05
    • RE: Uploading .bin program via SD card to Core2

      Hi,

      Looking for SD updater too, did you find a solutions?

      posted in Core 2
      L
      Leo05
    • RE: Simple webserver working on ESP32, not on Core2

      Hi @felmue

      No, the example server works fine. You are right, it was probably an issue with csv reading.

      Thank you

      posted in Core 2
      L
      Leo05
    • Simple webserver working on ESP32, not on Core2

      I have a simple code that draw data from a csv file on a webpage.

      The server used is ESPasyncwebserver.

      Loading this code on ESP32 alone is working fine, but when loading on M5core2, it crash every time I try to load the webpage...

      Any idea where this problem comes from?

      Here is the watchdog error :

      ERROR: Too many messages queued
      46;2;97
      ERROR: Too many messages queued
      47;92;71
      ERROR: Too many messages queued
      48;3;45
      ERROR: Too many messages queued
      49;13;6
      E (15487) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
      E (15487) task_wdt: - async_tcp (CPU 0/1)
      E (15487) task_wdt: Tasks currently running:
      E (15487) task_wdt: CPU 0: IDLE0
      E (15487) task_wdt: CPU 1: loopTask
      E (15487) task_wdt: Aborting.
      abort() was called at PC 0x40148a20 on core 0

      ELF file SHA256: 0000000000000000

      Backtrace: 0x400886dc:0x3ffbfa30 0x40088959:0x3ffbfa50 0x40148a20:0x3ffbfa70 0x40086e6d:0x3ffbfa90 0x4017aecf:0x3ffbc280 0x4014a31b:0x3ffbc2a0 0x4008b119:0x3ffbc2c0 0x4008996a:0x3ffbc2e0

      posted in Core 2
      L
      Leo05
    • LittleFS problem with M5core2 and PIO

      Hi,

      Here is my platformio config:

      [env:m5stack-core2]
      platform = espressif32
      board = m5stack-core2
      framework = arduino
      board_build.filesystem = littlefs
      monitor_speed = 115200
      lib_deps =
      ottowinter/ESPAsyncWebServer-esphome@^2.1.0
      m5stack/M5Core2@^0.1.0
      lorol/LittleFS_esp32@^1.0.6

      With that config, I cannot upload files in memory. it always save the file as spiffs.

      Auto-detected: /dev/ttyUSB0
      Uploading .pio/build/m5stack-core2/spiffs.bin
      esptool.py v3.1
      Serial port /dev/ttyUSB0
      Connecting....
      Chip is ESP32-D0WDQ6-V3 (revision 3)
      Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
      Crystal is 40MHz
      MAC: 84:cc:a8:5f:ea:08
      Uploading stub...
      Running stub...
      Stub running...
      Changing baud rate to 460800
      Changed.
      Configuring flash size...
      Auto-detected Flash size: 16MB
      Flash will be erased from 0x00c90000 to 0x00ffffff...
      Compressed 3604480 bytes to 155100...
      Writing at 0x00c90000... (10 %)
      Writing at 0x00ca61ce... (20 %)
      Writing at 0x00cbe455... (30 %)
      Writing at 0x00cd3e90... (40 %)
      Writing at 0x00ce9a6c... (50 %)
      Writing at 0x00cff565... (60 %)
      Writing at 0x00d13a71... (70 %)
      Writing at 0x00d2bf09... (80 %)
      Writing at 0x00d4a5ce... (90 %)
      Writing at 0x00d7257e... (100 %)

      It upload succesfully but then fail to access the file from the server.

      .pio/libdeps/m5stack-core2/LittleFS_esp32/src/lfs.c:1076:error: Corrupted dir pair at {0x0, 0x1}
      E (6257) esp_littlefs: mount failed, (-84)
      E (6261) esp_littlefs: Failed to initialize LittleFS
      [E][LITTLEFS.cpp:90] begin(): Mounting LITTLEFS failed! Error: -1

      posted in Core 2
      L
      Leo05
    • RE: Connecting relay to Core2

      Thank you very mcuh for the fast answer Felix!

      You are right, got one relay working with GIPO19 and digitalWrite(19, HIGH)

      But no succes with GPIO27, voltage does not change to 3.3V with digitalWrite(27, HIGH)... strange

      There is only 2 free GPIO to use? because I have 2 relays to connect but also one line with DS18B20 sensors and another with a water flowmeter.

      posted in General
      L
      Leo05
    • Connecting relay to Core2

      Hi,

      I have an issue connecting relay to my Core2.

      Here is my schematic:

      0_1633079302949_Capture d’écran_2021-10-01_11-08-03.png

      Nothing happen when changing PIN21 state...

      Is G21 the good PIN to use?

      I tried G15 and G12 too, without succes using this command:

      pinMode(12, OUTPUT);
      digitalWrite(12, HIGH);

      What am I doing wrong?
      Which pins are available for my need, and what are the numbers to use in digitalWrite?

      Thanks for your help

      posted in General
      L
      Leo05
    • RE: External WiFi Antenna?

      @lukasmaximus Same question here, but which module use to add an external wifi antenna. I need a longer range.

      posted in Modules
      L
      Leo05
    • RE: Core2 Module and extension board stacking?

      @m5stack Thanks to take it into consideration.
      I received my Core2 today. Trying to plug the PLC circuit after removing the bottom seems difficult. On the left side there is a metallic thing (motor?) that push the circuit, and pin headers are really short.

      About headers, you sell SMT mount connector in your shop but I think they are 2.5mm long (like the old modules one's)? right? on the micro-module they are 3.5mm (total height 5.84).
      For makers like me, if we want to build modules prototype, where can we find compatible trough hole or SMT connectors? I search and found nothing? any ref?

      posted in Cores
      L
      Leo05