Navigation

    M5Stack Community

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

    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
    • RE: Invalid values on GPS unit

      M5Stack Core2 and GPS Module (my solution with UIFlow)

      I'm using a stackable GPS unit with external antenna. Under UIFLow I've configured it to TX=14 and RX=13 and its working.

      In order to get decimal return values for location data, which I need to transport into a MQTT publisher protocol, I wrote a conversion function in a “blockly” execute statement interpreted as MicroPython. Yes, yet missing some support for Altitude. Ideas for improvement of the logic are welcome.

      Hope this is helpful (see the code below):

      # GPS location conversion 
      # convert into decimal
      def conversion(inp):
          minus = False
          parts = inp.split('.')
          ddmm = parts[0]
          ss = parts[1]
          last_char = ss[-1]
          if (last_char == 'W') or (last_char == 'S'):
              minus = True
              # remove last character 
              ss = ss[:-1]
          last_two_char = ddmm[-2:]
          mm = last_two_char
          if len(ddmm) == 3:
              dd = ddmm[:1]
          if len(ddmm) == 4:
              dd = ddmm[:2]        
          if len(ddmm) == 5:
              dd = ddmm[:3]
          if minus:  
              dd = int(dd) * -1  
          minf = float(mm + '.' + ss)
          secsmm = minf / 60
          # case South, or West invert 
          if minus: 
              deci = float(dd - secsmm)
          else:
              deci = float(dd + secsmm)
          
          return deci
      posted in Units
      F
      falbriard
    • RE: M5Burner doesn't run with Ubuntu 18.04

      Same situation here. Thanks for checking it.

      posted in Bug Report
      F
      falbriard
    • UIFlow stopped working on a Firefox Browser (Linux)

      Today, after calling the [https://flow.m5stack.com/](link url) URL at the Firefox Browser
      I got a blank screen after 4 seconds load time. At the debug section I see an error as printed below. The Google Chrome browser is working OK with this URL. Thanks for checking:

      SyntaxError: invalid regexp group
      main.ad85a707f9f85bc946af.js:1:3399139

      posted in Bug Report
      F
      falbriard
    • M5Stack GPS module – Screw length for module fixation is too short

      The screws delivered with the M5GO core2 bottom module with 1.5 cm are too short. The four screws should have 2.1 cm to get firmly connected stack. Its very likely that the GPS module will use an extension battery in order to support mobile application scenarios.

      posted in UIFlow
      F
      falbriard
    • UIFlow GPS support / Missing Altitude and Function for Decimal Format

      I ‘m using the M5Stack GPS module with external antenna and Core2 module with an additional battery extension and base unit. The basic GPS function delivered by UIFlow are working OK, but there is a missing readout of the Altitude value. It also would be useful if UI could format the values from NMEA data and convert it into an all decimal notation. Is there any sample how to do this using a MicroPython extension code?

      posted in Features Wish List
      F
      falbriard
    • RE: Core 2 Device and UIFlow updates using Wifi with a running app?

      @felmue Thanks for the detailed instructions. Now able to handle it.

      posted in UIFlow
      F
      falbriard
    • UIFlow server connection unresponsive after reboot of Core2

      Re: Core2 is not a finished product.
      Getting exactly the same error symptom as described above: "The startup menu is shown too briefly and remains unresponsive after rebooting, which results in the Core2 automatically running the last started program, restarts it automatically after any reboot and is totally unresponsive to any connection tentative from UIFlow." Please also check my report: "Core 2 Device and UIFlow updates using Wifi with a running app?"
      .

      posted in PRODUCTS
      F
      falbriard
    • Core 2 Device and UIFlow updates using Wifi with a running app?

      I'm new to M5Stack development and facing an issue with the UIFlow code upload into my M5stack Core2 device. When doing a fresh firmware burn from "M5 Burner", I'm able to watch a successful (green) connection with the server. Once the main application is loaded, then I’m not able anymore to synchronize the Core2 device using Wifi. I’ve tried several procedures like pressing the "C" button but the device is not returning into a network setup mode. Indeed the application starts too quickly to get into the network menu. I’ve validated the APIkey, its OK. Any help how to connect the UIFlow server in order to upload latest application updates, without need of loading a fresh firmware at every update?

      posted in UIFlow
      F
      falbriard
    • RE: Running UIFlow desktop IDE in Linux

      Same issue here, under Ubuntu 17 and 18, freezing UIFlow when opening the file selection menu. There is also an error with M5Stack Burner with an incompatible GLIBC library. Both errors together makes it difficult to use Linux Ubuntu for M5 Stack development tasks. Please assist as Linux Ubuntu is my preferred development platform.

      posted in UIFlow
      F
      falbriard