🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • [SOLVED] GNSS on Core2: BMM150 issue when using M5 events

    3
    0 Votes
    3 Posts
    2k Views
    U
    @felmue A million thanks! This was my issue. Your solution works like a charm. Thank you!
  • Voltmeter Documentation: Schematic Missing

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • M5 Dial how waterproof is it?

    2
    0 Votes
    2 Posts
    1k Views
    ajb2k3A
    Its not waterproof at all.
  • LoRaWan And M5 Fire hardware modification

    lora fire lorawan
    5
    0 Votes
    5 Posts
    13k Views
    W
    For anyone wondering, this thread is for the old Version 1.0 of the https://docs.m5stack.com/en/module/comx_lorawan, and NOT the Version 2.0 https://docs.m5stack.com/en/module/comx_lorawan868_2.0. In the 2.0 version there are DIP switches to direct the GPIO pins as required.
  • M5 PoECAM-W Stream help

    8
    0 Votes
    8 Posts
    4k Views
    C
    @mikecre said in M5 PoECAM-W Stream help: Do i need to use the piece? There is nothing magic about the small extra board. it should be same if you connected your jump wires like this: [image: 1714120438676-1ab3c7b3-0c83-4cfb-84e6-a49a963caf4b-untitled-diagram.jpg]
  • UHF RFID module and Arduino Nano 33 BLE Sense

    1
    0 Votes
    1 Posts
    947 Views
    No one has replied
  • M5GO3 Bottom - how turn on leds on with micropython?

    2
    0 Votes
    2 Posts
    1k Views
    felmueF
    Hello @sedir you can use the RGB blocks (in Hardware) to control the 10 RGB LEDs in the M5GO3 Bottom. UIFlow2 Project Zone example: M5CoreS3_M5G03Bottom_RGB_UIFlow2.0.4 Thanks Felix
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    19 Views
    No one has replied
  • Unable to read data from GNSS Module with Core 2

    15
    0 Votes
    15 Posts
    10k Views
    U
    For information to future readers, this morning one device Core2+GNSS suddenly started to work without any changes. The other one (same hw/sw) is now able to see satellites (between 11 to 14) but is totally unable to get a fix. ~~I wanted to use the magnetic gyroscope (BMM150) as well, but the data seems crazy and I cannot get any heading from them. Moreover, since this morning, the BIM270 initialisation is not more working. So I give up this module and I will use another GPS solution.~~ Edit: thanks to M5Stack Support, the GNSS modules work fine now. The magnetic gyroscope BMM150, as other magnetometer requires a proper calibration to be used.
  • Display 13.2 Module load and view pattern, png, jpeg

    1
    0 Votes
    1 Posts
    832 Views
    No one has replied
  • No display on the screen on first use

    1
    0 Votes
    1 Posts
    901 Views
    No one has replied
  • Unit-Synth: question on MIDI_IN

    2
    0 Votes
    2 Posts
    1k Views
    felmueF
    Hello @mcolan according to the SAM2695 datasheet used in Unit-Synth MIDI_IN is a 5 V tolerant input. Thanks Felix
  • Help with AIN4-20mA units

    4
    0 Votes
    4 Posts
    2k Views
    D
    Further to my post. I have two modules working on an ESp32 but i need to get them working on a ESP8266. I know the libraries have been written with ESP32 in mind I have got the code to compile for ESp8266 but when loaded it return only 255 or 65535 for the ADC values or i2c address Can anyone advise on what changes to make to the libraries Thanks
  • M5 Stamp C3 -> Asign hardware pins for SPI

    7
    0 Votes
    7 Posts
    6k Views
    F
    Hello Felix, After reviewing everything, I have discovered that the issue lies in the initialization performed in the Arduino_ST7789 library. In the Arduino_ST7789.cpp file, SPI.begin(); is used when to utilize hardware SPI, it should be initialized with SPI.begin(TFT_SCLK, TFT_MISO, TFT_MOSI, TFT_CS); "// Constructor when using hardware SPI. Faster, but must use SPI pins // specific to each board type (e.g. 11,13 for Uno, 51,52 for Mega, etc.) // Parece que solo vale para 4-wire. Adaptar a 3-wire. Arduino_ST7789::Arduino_ST7789(int8_t dc, int8_t rst, int8_t cs) : Adafruit_GFX(ST7789_TFTWIDTH, ST7789_TFTHEIGHT) { _cs = cs; _dc = dc; _rst = rst; _hwSPI = true; //THIS LINE APPLY HARDWARE SPI _SPI9bit = false; _sid = _sclk = -1; }" After call "// Initialization code common to all ST7789 displays void Arduino_ST7789::commonInit(const uint8_t *cmdList) {......." in this part into "if(_hwSPI) { // Using hardware SPI #if defined (SPI_HAS_TRANSACTION) //SPI.begin(); //THIS LINE IS BAD FOR HARDWARE INIT SPI.begin(TFT_SCLK, TFT_MISO, TFT_MOSI, TFT_CS); // BY ME mySPISettings = SPISettings(48000000, MSBFIRST, SPI_MODE2); // BY ME" Always in the file.ino define pins: " #define TFT_MISO -1 #define TFT_MOSI 7 #define TFT_SCLK 6 #define TFT_CS 5 #define TFT_DC 4 #define TFT_RST 0 " call with: "Arduino_ST7789 tft = Arduino_ST7789(TFT_DC, TFT_RST, TFT_CS); //for display with CS pin // <--- MODO SPI HARDARE (4-wire)" In summary... I think that It wasn't working because the SPI was not initialized with the pin parameters and Mode 2 (function 2 of the IO_MUX) that activates pins 4, 5, 6, 7 (see page 169 of the ESP32-C3 datasheet). In the schematic, it can be seen that M5stack associates the SPI with pins 19, 20, 21, 22, 23, 24 in Mode 0 (function 0 of the IO_MUX), which needs to be initialized correctly... For drawing text or lines, etc., using Software SPI isn't a problem. However, if images, fillscreen();, or other graphical elements are displayed, then Hardware SPI is necessary (not necesary 48Mhz, i put in the code), or else everything will be very slow on the screen. datasheet: https://www.espressif.com/sites/default/files/documentation/esp32-c3_technical_reference_manual_en.pdf Schematic M5Stack Stamp C3: https://docs.m5stack.com/en/core/stamp_c3 I am happy!! It works now!!. Thank you for your time and attention. Best regards,
  • CORES3 with NB-IOT

    4
    0 Votes
    4 Posts
    2k Views
    felmueF
    Hello @markpro glad to hear you got it working. BTW: GPIO1 is already used on port A (I2C). But that is fine as long as you do not need external I2C as well. Thanks Felix
  • WebServer errors - Core Basic + LAN 13.2 (W5500)

    10
    0 Votes
    10 Posts
    6k Views
    felmueF
    Hello @kokany interesting... and thank you for sharing. Thanks Felix
  • Problems with the GPS-Module

    8
    1 Votes
    8 Posts
    16k Views
    M
    Hi the solution is Turning of the PSRAM in tools in the arduino IDE. Also you need to go outside for signal. If you have "no gps connection" try to switch the tx and rx pin in the ss.begin()
  • Need Help Using M5StickCPlus.h with M5StickC Plus2

    2
    0 Votes
    2 Posts
    2k Views
    felmueF
    Hello @lucascastro28 at least two things you'll need to adapt are the LCD backlight and the power hold. Please see this thread. Thanks Felix
  • STAMP-C3 problem with Serial2

    2
    0 Votes
    2 Posts
    2k Views
    H
    Solved I don't why I have been klinging on to Serial2, it got me in all kind of testing out, but the solution is to use Serial 1.
  • M5Dial and MS VisualStudio/PlatformIO

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied