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.
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.
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
Hi,
Looking for SD updater too, did you find a solutions?
Hi @felmue
No, the example server works fine. You are right, it was probably an issue with csv reading.
Thank you
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
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
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.
Hi,
I have an issue connecting relay to my Core2.
Here is my schematic:
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
@lukasmaximus Same question here, but which module use to add an external wifi antenna. I need a longer range.
@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?