Navigation

    M5Stack Community

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

    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
    • RE: Pin Header and Sockets: Part-Numbers

      I ask M5stack support, here is their answer:

      "The 30-Pin connector we are using is a customized one. The pin height with 3mm is no problem to be compatible."

      posted in FAQS
      L
      Leo05
    • RE: Pin Header and Sockets: Part-Numbers

      Hello,

      Does anyone find a solution to this?
      I am ordering a circuit at PCBway but they can't order components at M5stack, and I do not find male header anywhere.

      It looks like it is a SAMTEC connector (low profile), see picture.
      http://suddendocs.samtec.com/catalog_english/ftsh_smt.pdf

      But lead style A is 3.05mm (pin height), mesuring the one I have is 2.5mm.
      Not sure 3mm will fit the femelle (too long)?

      Thanks

      posted in FAQS
      L
      Leo05
    • PLC Proto Industrial, USB cable for programming

      Hello,

      I am using the PLC for a project.

      When the PLC is connected to 12V power supply, is it safe to connect Core to computer with USB cable?

      Will the full project, assembled Core on PLC work with only Core on USB (without 12V power supply on PLC).

      And last question, what is the BAT pin on PLC circuit?

      Thank you!

      Will Core charge internal battery when the only power supply is 12V on PLC?

      posted in Modules
      L
      Leo05
    • RE: IIOT-Dual Switch datasheet

      @m5stack I will use this module too, and need more informations. Can you provide schematic for this circuit? what relay do you use?

      posted in PRODUCTS
      L
      Leo05
    • PLC M12 schematic

      Hi,

      I am creating a circuit based on PLC M12 module.
      Is there any plans available (gerber, bom..) to download to avoid recreate it?

      Thanks

      posted in Modules
      L
      Leo05
    • RE: How to connect DS18B20 - Which pins are available?

      @efried Found solution here : https://community.m5stack.com/post/1394

      Add dacWrite (25,0); into the void loop

      posted in FAQS
      L
      Leo05
    • RE: Noise on speaker

      @calin Thanks!
      Precision: dacWrite (25,0); must be in the void loop

      posted in PRODUCTS
      L
      Leo05
    • Best pins for sensors and relays

      Hi,

      I have a project with:

      • 1 DS18B20 sensor (3 wires)
      • 2 water flow meters (3 wires)
      • 2 relays

      I will probably use the M5 PLC module to prototype the circuit.

      What is for you the best pins to use for sensors and relays?

      Thanks

      posted in M5stack Grey
      L
      Leo05
    • RE: Custom module production

      @lukasmaximus I send it to support@m5stack.com on Nov 1.
      Tahnk you for your answer, I will recontact, not urgent.
      I understand the workload! you made a great product everyone want ;)

      posted in Modules
      L
      Leo05
    • Custom module production

      Hi there!

      I contact M5stack weeks ago, but never got an answer...

      Does M5stack propose custom prototyping and production?

      I need to produce a module for M5stack, with PT100 sensors connectors and relay. My prototype made with PCL is running fine, now I want to produce and distribute it.

      And about coding, does M5stack propose custom coding?

      Thank you

      posted in Modules
      L
      Leo05