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

Subcategories

  • 7 Topics
    19 Posts
    J
    @pabou try using uiflow to generate the code, then peek copy from there.
  • Atom GPS rx and tx GPIO ports used

    micropython
    3
    0 Votes
    3 Posts
    6k Views
    E
    Thanks Felix
  • WiFi configuration issue

    4
    3
    1 Votes
    4 Posts
    5k Views
    A
    Check out UIFlow: How to try/except for "Connect to Wifi"?
  • M5Stack, Micropython, Fonts

    3
    0 Votes
    3 Posts
    6k Views
    T
    Thanks for the response Flypeek, I've seen both those and nothing works. The M5Stack just reboots.
  • Is it possible to dynamically change the source file for M5Imgbtn?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Newbie at ALL. Be patient.

    8
    0 Votes
    8 Posts
    13k Views
    A
    Found my error. I had flashed the M5 with a program of my own using Arduino. Using the UI Flow firmware, I get the Micropython REPL no problem with screen /dev/ttyUSB0 115200.
  • Getting Microphone Data (decibels) from M5StickC Plus or AtomU

    2
    0 Votes
    2 Posts
    5k Views
    R
    You cannot read data from this microphone via analog read. This microphone is digital and has two digital pins. One of them is clock signal (probably connected to gpio0) which you should drive with 1MHz signal. Second is digital output which give a signal similiar to pwm signal (pulse density modulation) . So only walues which you read are 0V or 3.3V.
  • Inconsistent ADC readings in Micropython and Arduino IDE

    2
    0 Votes
    2 Posts
    3k Views
    I
    Results seem to be very inconsistent between different versions of MicroPython. Running the exact same code in some it works as expected and in others the results are wrong (full results below) My guess is either the code to set attenuation is not working correctly in some versions, or there is some other factor to do with the ADC that is set differently by default on some versions. Aref width val V Arduino IDE esp32 Version 1.0.6 3.30V 4095.00 1840 1.48V UIFlow_StickC_Plus-v1.9.3-plus.bin MicroPython ae8b2b72a-dirty on 2022-03-04; 3.30V 4095.00 0 0.00V M5StickC-Plus with ESP32 UIFlow_StickC_Plus-v1.7.2-plus.bin MicroPython 34c92e7c8 on 2021-01-22: 3.30V 4095.00 0 0.00V M5StickC-Plus with ESP32 uiflow-b061698-esp32-spiram-4mb-20220304.bin MicroPython b061698 on 2022-03-04: 3.30V 4095.00 1849 1.49V M5STACK with ESP32(SPIRAM) github.com/micropython/micropython/ MicroPython ade2720 - 2022-03-09 3.30V 4095.00 1850 1.49V ESP32 module with ESP32 github.com/m5stack/M5Stack_MicroPython MicroPython ESP32_LoBo_v3.2.24 - 2018-09-06 3.30V 4095.00 142 0.11V ESP32 board with ESP32
  • Core2 micropython reference

    2
    1 Votes
    2 Posts
    3k Views
    ajb2k3A
    yes, I have a partial record but have been constantly bugging M5Stack for the API's. You can find the API's in my WIP book located here: https://github.com/Ajb2k3/UIFlowHandbook/blob/master/quickblockref.pdf
  • Switching Mode on M5Stamp pico

    8
    1
    0 Votes
    8 Posts
    8k Views
    felmueF
    Hello @ankit17340 ok, good. One more thing, do you manually put your STAMP into download mode by holding the 'boot' button and pressing 'reset' on your USB UART download setup? If so try the same before clicking the 'Configuration' button in M5Burner. Explanation: changing the configuration uses the same mechanism as burning firmware, just for a tiny part of the flash only holding the settings. Thanks Felix
  • Kickstart with MicroPython and M5Stack support (pycharm)

    2
    0 Votes
    2 Posts
    5k Views
    ajb2k3A
    The firmware is updated monthly but because of Chinese New Year things have been quite. A new firmware is coming out based on Micropython 1.7 but only a test version is available. As to pycharm, never heard of it.
  • TypeError: argument should be bytes, buffer or ASCII string, not 'NoneType'

    10
    0 Votes
    10 Posts
    15k Views
    ajb2k3A
    So I loose the error but have no sign that its connecting, I have a monitor running is VSCode but it show no sign of the core connecting.
  • How to interrupt urequests if it hangs

    3
    0 Votes
    3 Posts
    6k Views
    O
    Yes, watchdog timer could be an idea. The same can be done with a normal timer and calling machine.reset() when it fires. However I was wondering if there was a more graceful way of handling this, e.g. interrupting just the hanging urequests.request() method and then continuing with the program without rebooting the whole device.
  • MicroPython on M5Stamp-C3

    4
    1 Votes
    4 Posts
    8k Views
    B
    @mlindholm would you share the link to that blog post?. Thanks.
  • How to distribute Micropython application as binary flash image ?

    3
    0 Votes
    3 Posts
    7k Views
    O
    Thanks a lot. This seems exactly what I was looking for. Command line is not a problem. Will try it.
  • UDP data transmission

    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • Recent copy of Micropython used?

    1
    1 Votes
    1 Posts
    4k Views
    No one has replied
  • Brightness on m5stickc & core gray?

    2
    0 Votes
    2 Posts
    5k Views
    felmueF
    Hello @dclaar I don't think this has been documented yet - but I could be wrong. But consider this. I have multiple M5Stack (Gray, Basic, Fire) and even with the same brightness setting the actual brightness differs visibly. Thanks Felix
  • Question about comparing time in MicroPython

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Playing wav files from sd card.

    3
    0 Votes
    3 Posts
    8k Views
    H
    @lukasmaximus Hey lukas, on which firmware version did you make this run? I am running it on a M5Core Basic and the unit reboots after the .wav was played once and I hit the button again. I have to uncomment: uos.sdconfig(uos.SDMODE_SPI,clk=18,mosi=23,miso=19,cs=4) to avoid another error still I get the: "sd card not mounted" lcd print. Is there any chance to adapt this patch to a newer firmware version? I have also tried it on a Core2, but it doesn't seem to know any of the I2C modes which you defined. would be great to get this to work again and make/update custom uiflow blocks. Thanks in advance for your reply
  • Capture Button Press UnitV

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