Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. falbriard
    F
    • Continue chat with falbriard
    • Start new chat with falbriard
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    falbriard

    @falbriard

    2
    Reputation
    19
    Posts
    419
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    falbriard Follow

    Posts made by falbriard

    • RE: Issue with Analog Voltage Measurement on Core2

      @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.

      posted in Core 2
      F
      falbriard
    • Issue with Analog Voltage Measurement on Core2

      Under UIflow, I execute the following code on a Core2 device, signal from Port A, pin 32,
      using a Micro-Python execution block:

      from machine import ADC
      adc=ADC(32)
      signal = int(adc.read())

      label1 show signal

      The value obtained is always 4095, even if no voltage is present at the input pin 32.

      Please give me some explanations how to connect and measure an analog signal (V) using the
      M5stack core2 device.

      Regards, Claude

      posted in Core 2
      F
      falbriard
    • RE: uiflow running, but cannot connect to using the api key

      Same situation here with a Core2 device (Location: Brazil, GMT-3, at 14:50, 02/02/2022). Thanks for checking.

      posted in Bug Report
      F
      falbriard
    • RE: Is the https://flow.m5stack.com/ running?

      The UIFlow web site is still down (location Brazil, GMT-3, 02/02/2022 at 10:15). Thanks for checking.

      posted in Bug Report
      F
      falbriard
    • RE: Missing "import module" definition at UIFlow 1.9.0 at new Project

      @felmue Thanks for support, problem solved.

      posted in UIFlow
      F
      falbriard
    • Missing "import module" definition at UIFlow 1.9.0 at new Project

      Using the UIFlow V 1.9.0 at server https://flow.m5stack.com/ at the function "create a new project and clear workspace"
      I'm not able to find the "import module" statement required for operation of the stackable GPS module. I'm able to create the "Init with custom pin TX, RX" statement selecting it from the GPS modules section, but the MicroPython code does not add the required "import module" command. This also creates a run-time error. Reverse edit from the Python syntax to UIFflow also is not allowed. Is this a bug in UIFlow or did I miss something in the GUI flow.

      posted in UIFlow
      F
      falbriard
    • RE: How to connect a NB-IOT unit to M5GoBottom (Core2)

      The H5Go Bottom module implements "HY2.0-4P-PortC(blue)" and by default points to GPIO13 (RXD2) and GPIO14(TXD2). The same pins are already in use by the GPS module part of the M5 Core2 stack (currently set to TX=14, RX=13). Is there a solution to operate both modules in parallel, the NB-IOT (Uart) unit and GPS module?

      posted in Units
      F
      falbriard
    • How to connect a NB-IOT unit to M5GoBottom (Core2)

      For M5GO BOTTOM2 component and available port B what is the UART interface numbering for RX and TX signals?
      Want to connect an NB-IOT unit via an UART cable. I've already allocated pin 13 and 14 for the GPS unit in the stack.

      posted in Units
      F
      falbriard
    • RE: [MQTT-Core] Support for RETAIN

      The MQTT Adafruit forum told me: "An automatic process in order to synchronize the subscriber without any data loss?
      You can - please see this documentation about retained values here:
      [https://io.adafruit.com/api/docs/mqtt.html#retained-values](link url) “

      Checking the Github I've found an open issue about support of the MQTT retain Flag in M5 UIFlow code. See: [https://github.com/m5stack/UIFlow-Code/issues/1](link url)

      My PAHO subscriber client currently displays a zero value in the retain flag returned from the M5 publisher and Adafruit broker. Do you know the status of this issue?

      posted in Features Wish List
      F
      falbriard
    • M5 GPS Unit - Does it support sleep and wakeup mode?

      Wonder if there is a function to control the power of GPS Unit in the M5 stackable unit, by software moving it into a “sleep”, or a “wakeup” mode, by this improving the overall power consumption. During normal operations, the GPS plus the Core2 together consume the battery capacity in less than 3 hours, including a M5GO power base. After this period, a recharge operation is required through the USB “C” cable, which takes around 30 minutes. For mobile use, would be nice to extend the power budget and autonomy of the M5stack.

      posted in Modules
      F
      falbriard