Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Peter
    3. Posts
    P
    • Continue chat with Peter
    • Start new chat with Peter
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by Peter

    • m5stick c plus battery will not charge

      I bought a couple of M5Stick C Plus a few months ago and now I want to put them into operation. Unfortunately, the battery does not charge. A 68 ohm resistor between bat and 3.3 volts does not help either.
      Does anyone have a tip on this?

      The voltage at PIN BAT is 2 mV. When I connect a LiIon battery there, it will be charged.
      Looks like a cold solder joint. Is something like this known. It is so with all 4 tested devices.

      posted in M5 Stick/StickC
      P
      Peter
    • Solved - lcd.xxx() don't work

      I have accessed the M5Stick C Plus display in Micropyton with lcd.print() in the past. Suddenly this does not work anymore.
      from m5stack import *
      from m5ui import *
      from uiflow import *
      lcd.clear()
      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      NameError: name 'lcd' isn't defined
      Can someone explain me how to use the internal M5Stack Micropython commands again.
      As IDE I use Thonny.

      After a restart of Thonny, it works again.

      posted in Micropython
      P
      Peter
    • RE: M5Core detects pressure on key A even if the key was not pressed at all.

      @felmue

      The tip has hit the problem. I have implemented a query of the key A in the callback routine after 1 ms. Only if the key is still pressed the routine is executed. Otherwise nothing is done. Now there are no more key presses from the ghost.

      Thanks

      posted in Cores
      P
      Peter
    • RE: M5Core detects pressure on key A even if the key was not pressed at all.

      @felmue
      Thank you for the information.

      I will have a look at the links. At first glance it might fit.

      Peter

      posted in Cores
      P
      Peter
    • M5Core detects pressure on key A even if the key was not pressed at all.

      I discovered by accident that the M5Core sends out a command via MQTT, even if the associated button was not pressed at all. Has anyone ever observed something similar. What can be the reason. It only occurs with key A.

      I have written a program to control my marquee in UIFlow. Here is the resulting Micropython code:

      def buttonA_wasPressed():
        global temp, prog_name, lfd_nummer, version, data_update, balkon, wohn_zimmer, testraum, message
        m5mqtt.publish(str('whg/balkon/markiese/strg'),str(lfd_nummer))
        lab_status.setText(str(lfd_nummer))
        lab_status.show()
        lfd_nummer = (lfd_nummer if isinstance(lfd_nummer, Number) else 0) + 1
        pass
      btnA.wasPressed(buttonA_wasPressed)
      

      Unfortunately, the indentations are swallowed. Is there a way to format code?

      Peter

      posted in Cores
      P
      Peter
    • RE: Zoll was muss ich beachten

      alternativ kannst Du auch bei [https://www.distrelec.de/de/manufacturer/m5stack/man_msa?no-cache=true&page=1&pageSize=50](link url) bestellen.

      posted in Deutsches Forum
      P
      Peter
    • RE: MQTT mit Mosquitto (Basic Core / Fire) klappt nicht

      Mit UIFlow 1.8.4 habe ich auch keine Probleme. Der Prefix mqtt/ ist bei mir nicht erforderlich. Lag wohl an der Version der IDE.

      posted in Deutsches Forum
      P
      Peter
    • RE: "\n" becomes "\\n"

      @robalstona

      Tnx for the tipp. I'll try it.

      posted in UIFlow
      P
      Peter
    • RE: "\n" becomes "\\n"

      @world101
      Then M5Stack must have taken over the problem.
      I will try again with replacing "\\n" with "\n" with the appropriate text block. But still got to it because my computer had to be reinstalled. I will report back.

      posted in UIFlow
      P
      Peter
    • "\n" becomes "\\n"

      I want to output multiline text. If I enter the text as a literal in the properties of a label, the line break is executed correctly. But if the text with the line break is in a variable \n becomes \\n. This means that the line break is no longer executed. Is this behavior intentional?
      I think it is a bug that should be corrected as soon as possible.

      Thanks a lot

      posted in UIFlow
      P
      Peter
    • RE: Pa.HUB in m5atom

      @iamliubo
      Thank you :)
      I just noticed that it is already implemented. Thank you very much for that. It helps me a lot.

      posted in UIFlow
      P
      Peter
    • RE: More than one of the same units on an I2C-Bus?

      @iamliubo
      Thank you for the information. I was aware of the address change in the hardware. That a corresponding adjustment in the UIFlow Ide is planned fills me with joy.

      posted in UIFlow
      P
      Peter
    • RE: M5Stck C Unit connection with PaHub

      @peter Thanks for the implementation !!!

      posted in Features Wish List
      P
      Peter
    • More than one of the same units on an I2C-Bus?

      For some units the I2C address can be changed, so that several identical units can be controlled via one I2C bus. Unfortunately I have not found a way to change the address in UIFlow or micropython.
      With the PaHUB this can be avoided, but how can I control several PaHUB?
      I am very reluctant to switch to the Arduino IDE. There it seems to work. Why not in Micropython?

      posted in UIFlow
      P
      Peter
    • RE: UIFlow 1.7.3

      @felmue
      Please include the use of the PaHUB in the next release of the M5Stick C/plus and ATOM.
      Peter

      posted in Official Updates
      P
      Peter
    • RE: Pa.HUB in m5atom

      Hallo @papanoel ,
      I had the same problem on M5Stck C. In this link https://community.m5stack.com/topic/2852/not-possible-to-connect-pa-hub-on-m5stack-core2/6 I find a workaround for this problem. It works fine: https://www.peters-bastelkiste.de/m5stick-c-und-atom-units-hinter-pahub-betreiben/ and https://www.peters-bastelkiste.de/m5stick-cplus-als-mehrfach-multimeter/ (in german).

      I hope in the next revision this will be resolved.

      Graetings Peter

      posted in UIFlow
      P
      Peter
    • RE: M5 Simulator

      Eine schöne Sache. Funktioniert aber wohl nur mit der Arduino IDE?

      posted in Deutsches Forum
      P
      Peter
    • M5Stck C Unit connection with PaHub

      The Unit PaHub is available as a connection for the Core models in addition to the pins. Unfortunately, this is not the case with the M5Stick C and ATOM models. I ask to introduce this possibility also with these models. I need it urgently!
      The power supply problem with the M5Stick C models is known to me. But it can be solved easily with side cutters, Soldering iron and USB charger bypass.

      Peter Stöck

      Translated with www.DeepL.com/Translator (free version)

      Here a link to my usage: https://www.peters-bastelkiste.de/m5stick-cplus-als-mehrfach-multimeter/ (only in german)

      posted in Features Wish List
      P
      Peter