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
    •      UiFlow 2.0
    • Global Communities
    •      Русскоязычный форум
    •      日本語フォーラム
    •      Foro español
    •      Deutsches Forum
    •      简体中文论坛
    •          项目分享
    •          提问专区
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All Time
    • Day
    • Week
    • Month

    • R

      StickC Plus + PaHUB + 3 Ultrasonic I2C units
      Units • • robot_alf

      33
      0
      Votes
      33
      Posts
      2371
      Views

      G

      Anyone got any more thoughts? My intension is to raise it as a bug (I think we've exhausted our best ideas).
    • D

      Power Supply of COM.LTE (SIM7600)
      Modules • • DanK

      16
      0
      Votes
      16
      Posts
      1182
      Views

      Hello @DanK actually there is an AMS1117 version with exactly the output voltage you measured: 2.85 V - coincidence? From the AMS1117 datasheet - feature list: Three Terminal Adjustable or Fixed Voltages* 1.5V, 1.8V, 2.5V, 2.85V, 3.3V and 5.0V But yes, the input voltage is probably on the low side. Thanks Felix
    • A

      M5 Tough UART Communication
      General • • Alee35

      12
      0
      Votes
      12
      Posts
      913
      Views

      S

      @gavin67890 In M5Tough, there is an external board called M5Tough EXT board in which we connect the 24VDC supply. This 24VDC supply is then converted to 5VDC and then it goes to ESP32 through the 5VDC pin on the main board. If i dont make the output_power = false, then the 5VDC pin stays high on the main board and also on the EXT board (from external supply) which does not allow ESP32 to switch on. So if we make it false, then the main board 5VDC output becomes low and then it can be driven by the external supply from the M5 Tough EXT board. This is the only way to power up the M5Tough using 24VDC supply. I am not sure about core2 though. Now i figured that in this scenario, the UART doesnt get disabled. It keeps working, but the sensor communication doesnt work. To my surprise, if i disconnect the sensor while the power is on and reconnect it, the sensor start communicating. I feel that somehow, ESP32 doesnt like that the sensor is powered up before the ESP32 is initialized as both the sensor and ESP32 are getting powered by the same external 5VDC supply. Now the only option for me is to setup a GPIO pin to drive a mosfet which would then power up the Sensor after ESP32 is initialized. But i feel there must be a much simpler way to do this via programming.
    • K

      Display Module 13.2 issues
      Modules • • Karlrs

      9
      0
      Votes
      9
      Posts
      503
      Views

      K

      @gavin67890 Thanks Gavin, i will have a play when i get a chance, shame really as i was looking forward to a larger screen on the M5 but if nothing else i now have something else to play with!!
    • N

      Help Creating a Timer
      General • • Nastyone

      5
      0
      Votes
      5
      Posts
      260
      Views

      N

      @csierra67 said in Help Creating a Timer: Hi Adie, Two comments. The accuracy of any timer at the 1/100th second level is difficult to assess. You would need a reference timer and connect the start and stop signal both to this timer and to the M5stack /ESP32 based on timer Absence of a sytem clock. Actually there is one M5 Core 2, its RTC but it reports only seconds, minutes, hours, days.. On the other entry level Core models, there is none but you can add an RTC units that will provide the functionality Csierra67 @csierra67 Thank you again. I believed the RTC is just a link to an outside website for the data so not suitable for system timing references ..but probably wrong. Considering they promote the use of the M5Stack system for light industrial application a reliable link to the processor clock in 'ms' is vital but clearly my expectations are a little high of the Core2 having moved from learning the Arduino platform. Just for reference the below is the code I was trying to port across to the Core2 albeit it uses a relay and electro magnet for ball release where as I am now trying to move to servo release. Thanks again for your comments and sort of confirming the the Core 2 and me is a combination not up to much :). Kind regards Adie // Grove - LCD RGB Backlight - Version: Latest #include <Wire.h> #include "rgb_lcd.h" rgb_lcd lcd; const int colorR = 255; const int colorG = 0; const int colorB = 0; uint32_t btn_tStart, btn_tStartOld, sensor_tStart, tStart_ballRelease; const byte pinBtn = 2, // pin number button connected to. pinSensor = 3, // pin number sensor connected to. pinRelay = 4, // pin number relay connected to. debounceTimeBtn = 5; // debounce time for button. msec bool pinBtnState = true, // instantanious button state (noisy!) pinBtnStateOld = true, // btnStateDb = true, // debounced button state last loop btnStateDbOld = true, // debounced button state this loop btnLatch = false, // btnLatchOld = false, // sensorStateDbOld= true, // debounced sensor state last loop sensorStateDb = true, // debounced sensor state this loop ballDetected = false; void setup() { Serial.begin(9600); pinMode(pinBtn ,INPUT_PULLUP); pinMode(pinSensor ,INPUT_PULLUP); pinMode(pinRelay ,OUTPUT); //set up the LCD's number of columns and rows: lcd.begin(16,2); lcd.setRGB(colorR, colorG, colorB); lcd.print("Press Start"); btn_tStartOld = 0; } void loop() { // read inputs and debounce. debounceBtn(); //debounce button signal sensorStateDb = digitalRead(pinSensor); //debounce not required // make decisions and set outputs doStuff(); //update loop states for next round. btnStateDbOld = btnStateDb; sensorStateDbOld = sensorStateDb; } void debounceBtn() { pinBtnState = digitalRead(pinBtn); // get state of pin 2 if(pinBtnStateOld != pinBtnState) { btn_tStart = millis(); // reset db timer pinBtnStateOld = pinBtnState; // now they are equal, won't enter } // here again unless pin state changes if (millis() - btn_tStart > debounceTimeBtn) // db timer has elapsed { btnStateDb = pinBtnState; // button state is valid } } void doStuff(){ if(btnStateDb != btnStateDbOld && btnStateDb == true) // btn pressed { btnLatch = !btnLatch; // toggle latch digitalWrite(pinRelay,btnLatch); // set relay on/off if(btnLatch) { lcd.clear(); lcd.setCursor(0, 0); lcd.print("Magnet On"); //Serial.println("Magnet Energised"); ballDetected = false; // reset latch } else { tStart_ballRelease = millis(); lcd.setCursor(0, 0); lcd.print("Ball Released "); //Serial.println("ball released"); } } if(sensorStateDb != sensorStateDbOld && !sensorStateDb && !btnLatch && !ballDetected) // sensor sensed. { Serial.println("msecs since ball release: "+ String(millis()-tStart_ballRelease)); lcd.setCursor(0, 0); lcd.print("Ball Detected"); lcd.setCursor(0, 1); lcd.print(millis()-tStart_ballRelease); ballDetected = true; // set latch } }
    • J

      Cant Get RS485 TTL Convertor Working
      Modules • • jkeyser

      5
      0
      Votes
      5
      Posts
      187
      Views

      J

      @gavin67890 I was able to get it working with 32/33 just by assigning with uart1 = machine.UART(1, tx=32, rx=33) which it looks like is the same the guy did in the video
    • N

      Core 2 using servo 2 and setting M- BUS power mode in UIFLOW
      General • • Nastyone

      5
      0
      Votes
      5
      Posts
      235
      Views

      N

      @gavin67890 Thank you again, very much appreciated
    • M

      M5Stack Basic V2.7: can't install library M5Stack
      Cores • • maze2904

      5
      0
      Votes
      5
      Posts
      423
      Views

      M

      @teastain Hi Terry, et al thx 1M for your effort helping me! I've just found the work around: As per "M5Stack Library won't install on Arduino IDE", CitrusPeel identified the issue: The package's name "MODULE_GRBL13.2" in library.properties should be "MODULE_GRBL_13.2" (underline instead of space before 13.2). So download M5Stack unzip it edit file "library.properties", line to "depends=M5Family,M5Module-4Relay,MODULE_GRBL_13.2,M5_BMM150" zip it and install zipped library restart IDE update now performed flawless @m5stack: awaiting M5Stack (0.4.6) to be released soon, as not all users having the knowledge on how to apply this "patch". Cheers, Marcus
    • C

      UI Flow 1.12.4
      UIFlow • • csierra67

      5
      0
      Votes
      5
      Posts
      327
      Views

      C

      I found it, on my installation, it is actually a submenu of the extreme right icon Thanks again, you put me on tracks
    • Stamp-S3 randomly starts drawing 500mA.
      Modules • • Bram

      5
      0
      Votes
      5
      Posts
      352
      Views

      @bram The EN is the Reset input and is pulled up normally, and brought down to reset the ESP. While it does seem odd that it is 5V, mine does the same thing! My (ahem) LilyGO T-Display S3 Reset pin is at 3.3, which makes more sense. -Terry
    • A

      Arduino using GROVE B as I2C
      M5Stack Fire • • alpaka

      4
      0
      Votes
      4
      Posts
      122
      Views

      A

      @felmue BTW i forgot to mention that I also removed those nasty magnets as they disturb the used magnetometer. The metal screws where also replaced with plastic made.
    • [CoreS3] I2C doesn't work...
      Arduino • • Amedee

      4
      0
      Votes
      4
      Posts
      145
      Views

      @felmue That was the problem Thank you very much!
    • B

      M5Stack ENV III
      ESP - IDF • • bl0__

      4
      0
      Votes
      4
      Posts
      192
      Views

      B

      Thank you very much for your reply! I will look into UI Flow.
    • M

      m5tough UIFlow2.0 Alpha 24. mqtt. first-timer needs some guidance
      UiFlow 2.0 • • Maasi

      4
      0
      Votes
      4
      Posts
      271
      Views

      You need two devices, one set as AP and one as STA for it to work. What error are you getting when set to STA?
    • G

      Changing from Wifi to NB-Iot using a U111 Module
      General • • GAZZZ6

      4
      0
      Votes
      4
      Posts
      410
      Views

      Hello @GAZZZ6 I didn't realize you are looking for an UIFlow solution. UIFlow has a configuration flag which allows to connect via modem instead of WiFi. However that option only seems to be implemented for M5Stack devices with can stack COM.X modules. I've tried to enable that option for M5Station, but it is ignored and the connection goes through WiFi still. Thanks Felix
    • P

      Lora868 Module and Cardkb
      Modules • • PK_Pippin

      3
      0
      Votes
      3
      Posts
      102
      Views

      P

      @felmue said in Lora868 Module and Cardkb: Thank you for your reply. Will try the Ext Port for Core 2 module as that looks like it might work. Thanks again.
    • J

      Read from EEPROM hangs
      UIFlow • • JeffDG

      3
      0
      Votes
      3
      Posts
      185
      Views

      J

      Sounds good! When is 1.12.5 expected to be available?
    • A

      SIM7080G Module speed and stability
      Arduino • • alan-zhang

      3
      0
      Votes
      3
      Posts
      226
      Views

      M

      @alan-zhang said in SIM7080G Module speed and stability: I've tested the SIM card from a phone and it's 1MB/s download and upload. Your phone might be using 3g/4g/5g/LTE and not NB-Iot or Cat-M. In fact Ive never seen a phone that uses NB-Iot or Cat-M (Doesn't mean they might not exist though) M5Stack does sell an LTE module if you want LTE speeds though.
    • C

      Unable to roll back from UIFlow2
      UiFlow 2.0 • • ciconde

      3
      0
      Votes
      3
      Posts
      186
      Views

      @felmue This is how I de-bound devices.
    • K

      M5 Tough Can't Dim Screen
      General • • KirkThomas1

      3
      0
      Votes
      3
      Posts
      192
      Views

      K

      SOLVED. Controlling LCD voltage directly works like a charm. Thanks Felix :-)