Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Popular
    • All categories
    • Official Updates
    • Events
    •      Review
    •      Campaign
    • Features Wish List
    • General
    •      Anouncements
    •      Forum Rules (!!!!READ THIS FIRST BEFORE POSTING!!!!)
    •      News and Blog posts
    • PRODUCTS
    •      Modules
    •      Units
    •      FAQS
    •      Cores
    •          Core2 for AWS
    •          M5Stack Fire
    •          M5stack Grey
    •          M5 Stick/StickC
    •          M5GO
    •          FACES Kit
    •          M5Stick V
    •          Core 2
    •      Bases
    •      Atom
    • PROJECTS
    • SOFTWARE
    •      UIFlow
    •          Lessons and Guides
    •          Bug Report
    •          Custom Blocks
    •      Arduino
    •          Lessons and Guides
    •      Micropython
    •          Lessons and Guides
    •      M5EZ
    •      ESP - IDF
    • Global Communities
    •      Русскоязычный форум
    •      Foro español
    •      Deutsches Forum
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month

    • C

      Core2 how to know the current battery level
      Core 2 • • Carles B.

      7
      0
      Votes
      7
      Posts
      164
      Views

      R

      @pensive Thank you for running that test! I thought that's how it worked but didnt have time to get around testing it. The idea I had was to integrate either the time on or approx consumption and store it using the "preferences" library. The library saves whatever to the non-volatile memory so you wouldnt need the SD card. There was a write up of the libaray on the forums here: https://community.m5stack.com/topic/1496/storing-settings-in-the-memory-of-the-core So the two ideas: track how long the device has been on, update a preference with the time, subtract time on from the 5 hours 40 mins to get time remaining. It wont always be accurate, but probably close enough for most uses. Calculate the current consumption based on screen/wifi/bluetooth/etc being on, integrate all that and compare to total mah of the battery. (This would have a lot of factors, but could probably get you closer if you figured all them out.) I think the first one is the "easiest", do you have any thoughts?
    • P

      Core2 BtnA, BtnB and BtnC not working with m5button library
      Core 2 • • Pensive

      5
      0
      Votes
      5
      Posts
      67
      Views

      P

      thanks for the help @felmue - ive got it working now - i think i must have been pretty tired because I have no idea how all 3 attempts failed. It works with .waspressed and by attaching a handler to events for the M5.BtnA - I have no idea what I was doing wrong all 3 times. I found one issue - it was a silly mistake in my handler logic :D but this does not explain .ispressed not working before. Maybe its something to do with a lack of sensitiviity as well - but the important thing is - they do work and I've got it working. But trying to make a button bigger all the way down to 280 does not seem to work - which is a shame becasue I have to make 2 declarations to the handler. but thats ok. Thank you
    • C

      Fire - Core2 and module Lora
      Modules • • Carles B.

      4
      0
      Votes
      4
      Posts
      91
      Views

      C

      Thanks for your information and link @felmue My initial idea was to buy two TTGO LoRa32 but I preferred these two cores because I saw that they had Lora modules. For the moment I'm going back to the NodeMCU that I find much more comfortable and in a few months I will look at the M5Stack again. Thank you for your time Carles
    • B

      Separate firmware from M5burner
      UIFlow • • BricoMS

      4
      0
      Votes
      4
      Posts
      87
      Views

      If your on mac the downloaded firmwares can be found by right clicking M5Burner selecting "Show Package contents" then clicking through to Contents > Resources > Packages > fw then you will find the firmware files in each respective core folders. I don't have a linux machine handy at the moment but perhaps the folder structure is similar
    • O

      Core2 with Visual Studio Code
      Core 2 • micropython • • ondrej1024

      4
      0
      Votes
      4
      Posts
      109
      Views

      O

      Thanks, I will also have a look at Thonny.
    • G

      M5Paper UI Framework Sample Project
      PROJECTS • • grundprinzip

      3
      1
      Votes
      3
      Posts
      118
      Views

      G

      @fonix232 Thanks! For me the exercise is much more exploring how the epaper display works when drawing the different components and how to optimize partial updates. I will have a look at the projects you mentioned and see if I can find some inspiration!
    • C

      How to remove the small white board labeled CORE 2.
      Core 2 • • Carles B.

      3
      0
      Votes
      3
      Posts
      94
      Views

      C

      Thanks again @world101 I have seen it. But I think it would have to be in the model documentation, if it is I missed it. Have a nice day Carles
    • R

      How to flash tasmona or anything to M5Stack ATOM Lite using esptool?
      Units • • romeokienzler

      3
      0
      Votes
      3
      Posts
      51
      Views

      @romeokienzler said in How to flash tasmona or anything to M5Stack ATOM Lite using esptool?: after hard_r^Cet Just to point out a possible issue, it looks I like you have a Control-C in your command by mistake. Is that a copy/paste error?
    • A

      COLOR_TCS3472 on Atom Lite cannot find sensor
      PRODUCTS • • Alban_T

      2
      0
      Votes
      2
      Posts
      5
      Views

      Hello @Alban_T the sketch you linked is for M5Stack devices. M5Atom Lite is a bit different. For instance: I assume you modified #include <M5Stack.h> to #include <M5Atom.h>. did you also adapt the M5.begin() call to enable I2C? E.g. M5.begin(true, true, true) - the second true enables I2C on Atom Lite. is your sensor connected to the proper GPIOs? E.g. SDL - GPIO25 and SCL - GPIO21. excerpt from M5Atom.cpp as reference: void M5Atom::begin(bool SerialEnable , bool I2CEnable , bool DisplayEnable ) { if( _isInited ) return; _isInited = true; if( I2CEnable ) { Wire.begin(25,21,10000); } Hope this helps. If not, feel free to post the full sketch. Good luck. Felix
    • T

      About power supply of M5stack
      FAQS • • takero

      2
      0
      Votes
      2
      Posts
      43
      Views

      Please strictly follow the power supply voltage specifications we use. 5V
    • need help converting text to int (CORE2)
      UIFlow • • Arno

      2
      0
      Votes
      2
      Posts
      35
      Views

      T

      X = int("x")
    • B

      Can't upload with esptool.py to M5Atom on macOS Big Sur
      SOFTWARE • • blackketter

      2
      0
      Votes
      2
      Posts
      22
      Views

      B

      Also, I updated the CP210x Macintosh OS VCP Driver to v6 and that didn't help.
    • L

      How to control the speed of 180 degree steering gear in uiflow
      Global Communities • • Lvdada

      2
      0
      Votes
      2
      Posts
      40
      Views

      J

      ?
    • G

      M5Paper Canvas Rendering Artifacts
      PRODUCTS • • grundprinzip

      2
      0
      Votes
      2
      Posts
      55
      Views

      M

      My question is, if the behavior is required or an artifact of the integration with the driver? I think this is required. When actually transferring data to the screen, this is done 4 pixels at a time. Shouldn't the library simply forbid creating a canvas that is not a multiple of 4? Probably, yes.
    • J

      Alguien sabe como identificar de forma clara los pines del M5Stack Basic??
      Foro español • • joja

      2
      0
      Votes
      2
      Posts
      42
      Views

      C

      @joja En este link puedes ver la comparativa de los pines entre el Stack y el Core2, gentileza de @felmue Saludos Carles
    • F

      [M5Paper] Ideas/recommendations for a revision or V2 model
      Features Wish List • m5paper • • fonix232

      2
      2
      Votes
      2
      Posts
      76
      Views

      good points ! replace the (useless) temp/humidity sensor with a speaker/piezo to create a form of tactile feedback for the touchscreen ('click') or a general 'bleep' . a led indicator when device is on (switchable)
    • B

      1.7.2 uiflow menu speed (core2)
      Bug Report • • BricoMS

      2
      0
      Votes
      2
      Posts
      43
      Views

      B

      Adding investigation, this seems to happen only if you upload to the core2 an empty project.
    • P

      M5Paper and BME280 Sensor
      PROJECTS • • Powersoft

      2
      0
      Votes
      2
      Posts
      55
      Views

      P

      Make an improvement in the main call routine. The return value of getBME280 is a boolean. now it is possible to check whether a BME280 is connected correctly. bool getBME280(TwoWire *theWire, double *t, double *p, double *h) { _i2c = theWire; /* check of BME280 is avilable */ uint8_t value = read8(0xD0); if (value == 0x60) // BME280 detected { reset_BME280(); // Reset BME280 write8(BME280_REGISTER_CONTROLHUMID,(uint8_t)0x01); // Select control humidity register write8(BME280_REGISTER_CONTROL, (uint8_t)0x27); // Select control measurement register write8(BME280_REGISTER_CONFIG, (uint8_t)0xA0); // Select config register readCoefficients(); // Read coefficients from BME280 *t = get_Temperature(); // Get temperature *p = get_Pressure()/100.0; // Get pressure *h = get_Humidity(); // Get Humidity return true; } else { return false; // No BME280 detected } } Cheers, Jan
    • M

      M5Paper: Screenshot function
      Cores • • murraypaul

      2
      1
      Votes
      2
      Posts
      69
      Views

      P

      Thank you for this. I was looking for this! Cheers, Jan
    • P

      [M5Stack] BLE Beacon RSSI 0
      SOFTWARE • • peperone92

      1
      0
      Votes
      1
      Posts
      35
      Views

      No one has replied