🤖Have you ever tried Chat.M5Stack.com before asking??😎

Subcategories

  • 5 Topics
    23 Posts
    H
    thank you so much for sharing! this looks cool. I am pretty new to micropython for M5Stack. May I ask which IDE you primarily use to do Micropython programming?
  • [Solved] IMU - MPU9250

    4
    0 Votes
    4 Posts
    9k Views
    felmueF
    Hi @F3l1x you are very welcome. Happy Stacking! Felix
  • Any simulator/emulator to test code before burning it on M5Stack?

    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • [SOLVED] Arduino IDE on Windows won't flash

    4
    0 Votes
    4 Posts
    9k Views
    lukasmaximusL
    No drivers needed for stickC and atom on linux, but you need to know what you're doing to allow access to the usb, e.g. add permission for non root user, this could be especially tricky if using linux in a virtual machine.
  • "Timed out waiting for packet header"

    6
    0 Votes
    6 Posts
    15k Views
    F
    Getting worse...M5burner won't even erase now Erase now esptool.py v2.5.0 Serial port COM26 Connecting........_ Detecting chip type... It stays there for ever Pliz someone help me ?!
  • Detect charging on M5StickC?

    2
    0 Votes
    2 Posts
    5k Views
    world101W
    @sbussinger Yes. With uiFlow: [image: 1598897437459-screen-shot-2020-08-31-at-2.01.03-pm-resized.png] Or Arduino: https://docs.m5stack.com/#/en/api/axp192_m5stickc https://github.com/m5stack/M5StickC/blob/master/examples/Basics/AXP192/AXP192.ino
  • Saving data to an SD card.

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • Proper way to clear LCD screen on M5StickC?

    4
    0 Votes
    4 Posts
    18k Views
    m5stackM
    The cursor position will follow the printing of the screen content, so you have to operate the cursor. more API information you could refer this page. https://docs.m5stack.com/#/en/arduino/arduino_home_page
  • M5CAM board in Arduino

    6
    0 Votes
    6 Posts
    14k Views
    K
    @m5stack With M5Cam is there a menu config example to make this work correctly. I have tried many configurations and it reboots on load . Any suggestions would be great, I have had it working with the firmware you supply but cannot get the menu config working. Thanks Rebooting... ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0030,len:4 load:0x3fff0034,len:7500 load:0x40078000,len:15364 load:0x40080400,len:4832 entry 0x400806a0 I (29) boot: ESP-IDF v4.3-dev-472-gcf056a7d0 2nd stage bootloader I (29) boot: compile time 17:27:20 I (29) boot: chip revision: 1 I (33) boot_comm: chip revision: 1, min. bootloader chip revision: 0 I (40) qio_mode: Enabling default flash chip QIO I (46) boot.esp32: SPI Speed : 80MHz I (50) boot.esp32: SPI Mode : QIO I (55) boot.esp32: SPI Flash Size : 4MB I (59) boot: Enabling RNG early entropy source... I (65) boot: Partition Table: I (68) boot: ## Label Usage Type ST Offset Length I (76) boot: 0 factory factory app 00 00 00010000 003c0000 I (83) boot: 1 nvs WiFi data 01 02 003d0000 00004000 I (91) boot: End of partition table I (95) boot_comm: chip revision: 1, min. application chip revision: 0 I (102) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x1af514 (1766676) map I (723) esp_image: segment 1: paddr=0x001bf53c vaddr=0x3ffb0000 size=0x00adc ( 2780) load I (724) esp_image: segment 2: paddr=0x001c0020 vaddr=0x400d0020 size=0x2ddd4 (187860) map I (795) esp_image: segment 3: paddr=0x001eddfc vaddr=0x3ffb0adc size=0x02154 ( 8532) load I (798) esp_image: segment 4: paddr=0x001eff58 vaddr=0x40080000 size=0x00404 ( 1028) load I (802) esp_image: segment 5: paddr=0x001f0364 vaddr=0x40080404 size=0x10724 ( 67364) load I (847) boot: Loaded app from partition at offset 0x10000 I (847) boot: Disabling RNG early entropy source... I (859) psram: This chip is ESP32-D0WD E (859) psram: PSRAM ID read error: 0xffffffff E (859) spiram: SPI RAM enabled but initialization failed. Bailing out. I (864) cpu_start: Failed to init external RAM; continuing without it. I (871) cpu_start: Pro cpu up. I (875) cpu_start: Starting app cpu, entry point is 0x40081740 I (867) cpu_start: App cpu up. I (897) cpu_start: Pro cpu start user code I (897) cpu_start: Application information: I (897) cpu_start: Project name: recognition_command_line I (904) cpu_start: App version: v0.9.3-46-g2470e47 I (910) cpu_start: Compile time: Jul 25 2020 17:53:11 I (916) cpu_start: ELF file SHA256: aabc8d81184a741d... I (922) cpu_start: ESP-IDF: v4.3-dev-472-gcf056a7d0 I (928) heap_init: Initializing. RAM available for dynamic allocation: I (935) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (941) heap_init: At 3FFB45F0 len 0002BA10 (174 KiB): DRAM I (948) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (954) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (960) heap_init: At 40090B28 len 0000F4D8 (61 KiB): IRAM I (967) spi_flash: detected chip: gd I (971) spi_flash: flash io: qio I (976) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (986) sccb: pin_sda 25 pin_scl 23 I (1126) camera: Detected OV2640 camera I (1126) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1126) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1136) gpio: GPIO[18]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1146) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1156) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1166) gpio: GPIO[34]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1176) gpio: GPIO[35]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1186) gpio: GPIO[17]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1196) gpio: GPIO[22]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1206) gpio: GPIO[26]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1216) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (1226) camera: Allocating 1 frame buffers (15 KB total) I (1226) camera: Allocating 15 KB frame buffer in OnBoard RAM I (1366) app_process: Get one frame in 34 ms. Item psram alloc failed. Size: 230400 x 1 matrix3du item alloc failed. Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled. Core 1 register dump: PC : 0x400d8d45 PS : 0x00060330 A0 : 0x8008a43c A1 : 0x3ffc08d0 A2 : 0x3ffb8288 A3 : 0x00000003 A4 : 0x00000000 A5 : 0x00000140 A6 : 0x000623d6 A7 : 0x000000f0 A8 : 0x800d8d24 A9 : 0x3ffc08b0 A10 : 0x3ffb83cc A11 : 0x00000001 A12 : 0x00000000 A13 : 0x00038404 A14 : 0x00000000 A15 : 0x00000001 SAR : 0x00000004 EXCCAUSE: 0x0000001c EXCVADDR: 0x00000014 LBEG : 0x400885f9 LEND : 0x40088609 LCOUNT : 0xfffffff8 Backtrace:0x400d8d42:0x3ffc08d0 0x4008a439:0x3ffc0950 ELF file SHA256: aabc8d81184a741d
  • M5Stack Faces II Led drive

    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • M5 Atom Lite built-in LED?

    arduino
    4
    0 Votes
    4 Posts
    10k Views
    N
    Got it! Thank you!
  • AS3935 Franklin Lightning Sensor

    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • 'Serial2' was not declared - Error compiling with Arduino IDE

    arduino esp32
    3
    0 Votes
    3 Posts
    15k Views
    qlionQ
    Hi Just add HardwareSerial Serial2(2); under #include <Arduino.h> in /Users/matthias/Documents/Arduino/libraries/M5Stack/src/LoRaWan.h
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    83 Views
    No one has replied
  • 0 Votes
    2 Posts
    3k Views
    m5stackM
    it `s just normal
  • Uploading to M5 Atom in Arduino?

    4
    0 Votes
    4 Posts
    10k Views
    lukasmaximusL
    Select esp 32 pico kit from the board list (both M5stickC and atom use this chip) and select 115200 as the baud rate. if your device doesn't show up in the listed ports you may need to install the cp210x serial com port driver
  • Compile error - ImportError: No module name serial

    4
    1
    0 Votes
    4 Posts
    9k Views
    ajb2k3A
    The compiler cannot find wire.h which is needed for serial communication. please add wire.h
  • How to display picture

    5
    0 Votes
    5 Posts
    16k Views
    K
    @powersoft Maybe you find it interesting to know that there is a way of compiling a picture into your code so that you do not need an SD-card. This could make your solution more simple. To do: Download the UTFT-library from Rinky Dink Electronics (http://www.rinkydinkelectronics.com/library.php?id=51) Extract the download and use the Tools\Imageconverter565.exe to convert the image to a .c file (select AVR board) Open the .c file and change the line '#include <avr/pgmspace.h>' into '#include<pgmspace.h>' Insert the following lines in the file (the values should be the same as the image, 320x240 is max for M5Stack): const uint16_t imageWidth = 320; const uint16_t imageHeight = 240; Rename the .c file into .h (e.g. logo.c into logo.h) and place the file in the folder where the .ino-file for your project is In your Arduino-program add the following line in the top (or the other filename you have chosen) #include <M5Stack.h> #include "logo.h" In your Arduino-program add the following line in the 'setup'-function: M5.Lcd.setSwapBytes(true); In your Arduino-program add the following line in the place where you want to show the image: M5.Lcd.pushImage(0, 0, logoWidth, logoHeight, logo); I have included a link to a small demo-file on the following page: https://info.kosternet.nl/doku.php?id=publiek:m5stack
  • ATOM Matrix leds blink very shortly at random (solved by workaround)

    5
    0 Votes
    5 Posts
    12k Views
    K
    Hi @robalstona , @lukasmaximus and @hague , First of all, thanks for your very quick response! I found out what seems to be the problem; I was using the M5Atom.h to control the leds, and somewhere in the M5.Update() the flickering sometimes occurred. The problem was indeed solved using the fastled library. The device works exactly as I was hoping now. For this I needed to remove M5Atom.h, because indeed some functions and variables overlap. Thanks again for pointing me in the right direction. Greetings from a very happy Geert :-)
  • How to increase SPIFFS size with arduino

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • (SOLVED)SD Uploader can't flash new code

    2
    0 Votes
    2 Posts
    5k Views
    C
    I solved like that: with M5Burner flash a different firmware in the stack like uiflow and than flash again lovian firmware.. tnks