🤖Have you ever tried Chat.M5Stack.com before asking??😎
  • Changing the screen when you turn on the M5stack core2

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Issue with Analog Voltage Measurement on Core2

    3
    0 Votes
    3 Posts
    5k Views
    F
    @felmue Now got some useful readings of Volts using the following code. Not sure about accuracy due to logarithmic scale. I've tested it with an AA 1,5 battery as input signal, connecting GND and ADC pin 32. As I already use a GPS and an expansion board, so at the moment SDA pin 32 at Core2 unit is the only available choice. My code: execute: from machine import ADC adc=ADC(32) adc.atten(ADC.ATTN_11DB) while true (with blockly), execute: signal = int(adc.read()) if signal == 4095: signal = 0 percentage = float(signal / 4095 / 100) volts = float(3.9 * percentage * 100) label2 show volts (with blockly) Now getting 0 at idle connection and +- 1.5 V when testing it with an AA battery as analog signal.
  • MQTT and Json

    1
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • M5stack core2 :ImportError: cannot import name 'Serial' from 'serial'

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Writing and re-writing text?

    7
    0 Votes
    7 Posts
    12k Views
    D
    @macsbug Thank you!
  • M5STACK CORE2 wifi password

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • High speed / animation on Core 2 display

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • M5Stack Core 2 appears to be bricked

    7
    0 Votes
    7 Posts
    11k Views
    D
    I was finally able to Erase and get things back to normal.
  • Core 2 and ADC Input

    6
    0 Votes
    6 Posts
    11k Views
    D
    @bschwahn I would think a digital sensor would be much more accurate and easy to use than an analog one. Once you figure out what library you need for the protocol e.g. this might help https://randomnerdtutorials.com/esp32-multiple-ds18b20-temperature-sensors/
  • Pulse sensor connection

    4
    0 Votes
    4 Posts
    6k Views
    ajb2k3A
    Yes you will need to make your own wiring harness but in UIFLow it should be directly compatible.
  • unable to read from DS18B20 sensors

    3
    0 Votes
    3 Posts
    4k Views
    2
    @felmue This was it: works with work(around)! Thanks so much. Steve.
  • How to use GPIO34 on Core2?

    core 2 gpio34
    3
    0 Votes
    3 Posts
    5k Views
    _
    Thanks!
  • Core2, BLE, serial monitoring stops after power-cycle

    8
    1 Votes
    8 Posts
    12k Views
    M
    Well, that didn't take too long to work how much of a muppet I am! It turns out, there's nothing wrong. If I'm powering the Core2 off and on, the USB connection does not re-start properly. No matter what code/sketch I upload. I think is coming down to a driver/PC issue! I should really have looked at this problem using a completely different computer! Needless to say, it's not specific to this code (above), but a problem elsewhere! DOH!
  • Core2 power button broken

    4
    0 Votes
    4 Posts
    6k Views
    ajb2k3A
    I think there is a design issue with the buttons as I have seen a few places (not just m5stack) that have these fail, I also have one failed.
  • MicroPython

    2
    0 Votes
    2 Posts
    5k Views
    W
    Hey good afternoon I am trying to use also the LVGL and its charts on the Core2. I have the version 1.9.2 installed. I have created an example, which should work. The API documentation i have linked, documents other functions as implemented. import lvgl as lv chart = lv.chart(lv.scr_act()) chart.set_size(200, 150) chart.set_type(lv.chart.TYPE.LINE) # Line Mode chart.set_point_count(20) chart.set_y_range(lv.chart.AXIS.PRIMARY_Y,0,120) chart.set_style_local_line_width(lv.chart.PART.SERIES,0,1) #Line Width of Dataserie 0 chart.set_style_local_size(lv.chart.PART.SERIES,0,1) # Point Width ser1 = chart.add_series(lv.color_hex(0x000000)) # Add data serie chart.set_next(ser1,1) # Set next points on ser1 chart.set_next(ser1,2) chart.set_next(ser1,10) chart.set_next(ser1,10) chart.set_next(ser1,10) chart.set_next(ser1,10) chart.set_next(ser1,10) chart.set_next(ser1,30) chart.set_next(ser1,70) chart.set_next(ser1,110) Late response, i know, but i hope it helps you. Best regards
  • m5list on Core2

    m5list core2 micropython
    1
    0 Votes
    1 Posts
    4k Views
    No one has replied
  • Core2 Battery Question

    5
    0 Votes
    5 Posts
    5k Views
    H
    @ajb2k3 thank you very much.
  • SD cart mount failed

    3
    0 Votes
    3 Posts
    7k Views
    M
    Glad you got things working, out of interest, are you running with tasks/threads? I'm working on a project that is reading and writing to an SD card, and luckily I've not had this problem yet. But I may implement what you've found just to be extra safe.
  • Random restarts of the M5Stack Core 2 (code/backtrace included)

    3
    0 Votes
    3 Posts
    6k Views
    M
    I don't know if you got this sorted, but we're not really supposed to user core 0, as this can cause panics. That's advice from Espressif. Also, adding in a delay @felmue said should really help in allowing the thread to free-up some cycles.
  • 0 Votes
    2 Posts
    3k Views
    IAMLIUBOI
    Hi @mbunds Thanks for feedback and sorry for this,actually the UIFlow desktop version not updated for a while,we are aim for web UIFlow current, and plan release the new UIFlow(we call it UIFlow 2.0).