🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    UiFlow 2.0 discuss(how-to, bug, feature request or sometings)

    UiFlow 2.0
    69
    178
    172.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      flex
      last edited by

      problem with some m5Burner version 3 on OSX:

      different versions where released on the website but they are all identified 3.0.0, which is confusing...

      • the one of April 9 2022, which doesn't work with atomS3
      • the one of January 13 2023 which works

      you should increased the last one to 3.0.1 to avoid any confusion for long time users

      Thanks

      Pascal

      1 Reply Last reply Reply Quote 0
      • F
        flex
        last edited by

        Hi,
        Could you unlock from UIFlow 2 the capability to code in micropython…
        Thanks

        ajb2k3A 1 Reply Last reply Reply Quote 1
        • ajb2k3A
          ajb2k3 @flex
          last edited by

          @flex What do you mean as you can work direct in micropython without UIFlow using REPL

          UIFlow, so easy an adult can learn it!
          If I don't know it, be patient!
          I've ether not learned it or am too drunk to remember it!
          Author of the WIP UIFlow Handbook!
          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

          F 1 Reply Last reply Reply Quote 1
          • ajb2k3A
            ajb2k3
            last edited by

            @IAMLIUBO With the S3's having the internal USB adapter, the S3's can now act as USB drives.
            Can we get a UF2 boot loader so that Stamp and Atom S3's can now be programmed like Microbit and Circuitpython devices (USB storage devices.)

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            1 Reply Last reply Reply Quote 1
            • F
              flex @ajb2k3
              last edited by

              @ajb2k3
              UIFlow make it easier to upload and test code through the cloud and also to draft the screen UI on the atomS3

              F ajb2k3A 2 Replies Last reply Reply Quote 0
              • F
                flex @flex
                last edited by

                @flex
                And also rhrough the uIFlow cloud it is ok to develop through an ipad as it doesn’t offer USB-C to serial

                1 Reply Last reply Reply Quote 0
                • ajb2k3A
                  ajb2k3
                  last edited by

                  @IAMLIUBO Error with the TOF Unit with Alpha7

                  Connected to Serial Port!
                  
                  >>> 
                  >>> import gc
                  >>> gc.collect()
                  >>> 
                  paste mode; Ctrl-C to cancel, Ctrl-D to finish
                  === import os, sys, io
                  === import M5
                  === from M5 import *
                  === from hardware import *
                  === from unit.tof import ToF
                  === from unit import *
                  === title0 = None
                  === label0 = None
                  === i2c0 = None
                  === tof_0 = None
                  === def setup():
                  ===   global title0, label0, i2c0, tof_0
                  ===   i2c0 = I2C(0, scl=Pin(1), sda=Pin(2), freq=100000)
                  ===   tof_0 = ToF(i2c0)
                  ===   M5.begin()
                  ===   title0 = Widgets.Title("Title", 3, 0xFFFFFF, 0x0000FF, Widgets.FONTS.DejaVu18)
                  ===   label0 = Widgets.Label("Text", 23, 58, 1.0, 0xffffff, 0x222222, Widgets.FONTS.DejaVu18)
                  ===   title0.setText('TOF Unit')
                  ===   label0.setFont(Widgets.FONTS.DejaVu9)
                  === def loop():
                  ===   global title0, label0, i2c0, tof_0
                  ===   M5.update()
                  ===   label0.setText(str(((str('Distance: ') + str((tof_0.get_distance()))))))
                  === if __name__ == '__main__':
                  ===   try:
                  ===     setup()
                  ===     while True:
                  ===       loop()
                  ===   except (Exception, KeyboardInterrupt) as e:
                  ===     try:
                  ===       from utility import print_error_msg
                  ===       print_error_msg(e)
                  ===     except ImportError:
                  ===       print("please update to latest firmware")
                  === 
                  === 
                  === 
                  Traceback (most recent call last):
                    File "<stdin>", line 28, in <module>
                    File "<stdin>", line 23, in loop
                    File "driver/vl53l0x.py", line 521, in get_distance
                  AttributeError: 'VL53L0X' object has no attribute 'range'
                  

                  UIFlow, so easy an adult can learn it!
                  If I don't know it, be patient!
                  I've ether not learned it or am too drunk to remember it!
                  Author of the WIP UIFlow Handbook!
                  M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                  1 Reply Last reply Reply Quote 0
                  • F
                    flex @flex
                    last edited by

                    @flex @IAMLIUBO @ajb2k3
                    bug in "get UTC time" and "get system uptime in seconds" for AtomS3 and UIFlow2/micropython 1.19.1 is probably related to a confusion handling Unix time 1970 and Unix time 2000 (as 30 years difference returned)

                    1 Reply Last reply Reply Quote 1
                    • teastainT
                      teastain @IAMLIUBO
                      last edited by

                      @iamliubo can someone from M5Stack please check the AtomS3 GitHub “Issues”.
                      I have one outstanding and another question to ask, but no one is there?

                      Cheers, Terry!

                      100% M5Stack addict with several drawers full of product!

                      IAMLIUBOI 1 Reply Last reply Reply Quote 0
                      • ajb2k3A
                        ajb2k3 @flex
                        last edited by

                        @flex Some people and groups cant use the cloud platform and so local programming like with the microbic and RPI is needed for them

                        UIFlow, so easy an adult can learn it!
                        If I don't know it, be patient!
                        I've ether not learned it or am too drunk to remember it!
                        Author of the WIP UIFlow Handbook!
                        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          sgu @ajb2k3
                          last edited by

                          @ajb2k3 said in UiFlow 2.0 Alpha verison discuss(how-to, bug, feature request or sometings):

                          @flex Some people and groups cant use the cloud platform and so local programming like with the microbic and RPI is needed for them

                          This is true. If you build an internal application for a company on the internal network, the devices will not have cloud access or they have to switch always the wlan.
                          A Desktop uiflow version is still a good alternative to the cloud version !

                          1 Reply Last reply Reply Quote 1
                          • S
                            sgu
                            last edited by

                            Ui Flow 2.0 looks nice. But it lacks functionality.
                            Tested with a new Core S3 and wanted to test out the built in Camera. But how to do it either in micropython or with blockly ?

                            Once you start selling the devices, the software must be ready and support all features of the device.

                            In my case I wanted to test the camera if it is possible to use the built in camera as a barcode reader, this would be a great application.

                            Second question to uiflow 2.0: Where have the examples gone ?
                            Even as an experienced programme, the demos are a good starting point for testing out a device or a unit.

                            Third question: How about the support of the stackable-modules for the Core S3 ? How to access them in the UiFlow 2.0 ? can we reuse the modules for the older M5 Stack models ?

                            ajb2k3A IAMLIUBOI 2 Replies Last reply Reply Quote 0
                            • ajb2k3A
                              ajb2k3 @sgu
                              last edited by

                              @sgu UIFLOW2 and the S3 generation are in alpha test only. From what I can see there are some issues with the pins that could mean that modules won’t work. There are no examples because none have been made yet. I am working on documentation but as UIFlow is in alpha and prone to change then documentation is slow going including the documentation of the various API’S buried in the firmware.

                              UIFlow, so easy an adult can learn it!
                              If I don't know it, be patient!
                              I've ether not learned it or am too drunk to remember it!
                              Author of the WIP UIFlow Handbook!
                              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                              1 Reply Last reply Reply Quote 0
                              • DR_Froggy_rDD
                                DR_Froggy_rD
                                last edited by DR_Froggy_rD

                                Hi there,
                                I tried to do something but uiflow2 is somehow confusing:
                                I was able to burn uifllw 2.0 on my atom s3 thank to adam!
                                Now I wanted to play with it: so I changed the bacground colour! this worked.
                                Now I was looking to other option as he one found for the stick C plus (IMU and so on) but those are0_1687691175164_uiflow2_ no option.png not available for the atoms3...
                                0_1687691191201_uiflow1_ all options.png the second picture is from uiflow where all hardware options are listed... even the remote + options which is very promissing to me if I achieve that. but I cannot delete all at once...I cannot see the end of the window so I cannot delete everything...or clear to start from scratch on microsoft edge...
                                boring somehow0_1687691546600_graph tempersture options.png

                                1 Reply Last reply Reply Quote 1
                                • ajb2k3A
                                  ajb2k3
                                  last edited by

                                  You need to click on "Hardware" under the picture of the Atom S3, then click on the hardware option to use it.IMU is there and was working.

                                  UIFlow, so easy an adult can learn it!
                                  If I don't know it, be patient!
                                  I've ether not learned it or am too drunk to remember it!
                                  Author of the WIP UIFlow Handbook!
                                  M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                                  1 Reply Last reply Reply Quote 0
                                  • DR_Froggy_rDD
                                    DR_Froggy_rD
                                    last edited by DR_Froggy_rD

                                    I see- the page view was cropped too tight..
                                    I did reset those now I see those...
                                    this is idiotic but ar least I can get it now.
                                    I wanted to get the remote +
                                    Will it be enable in the future?

                                    1 Reply Last reply Reply Quote 0
                                    • ajb2k3A
                                      ajb2k3
                                      last edited by

                                      alas, I don't know

                                      UIFlow, so easy an adult can learn it!
                                      If I don't know it, be patient!
                                      I've ether not learned it or am too drunk to remember it!
                                      Author of the WIP UIFlow Handbook!
                                      M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                                      1 Reply Last reply Reply Quote 0
                                      • DR_Froggy_rDD
                                        DR_Froggy_rD
                                        last edited by

                                        @ajb2k3 said in UiFlow 2.0 Alpha verison discuss(how-to, bug, feature request or sometings):

                                        alas, I don't know
                                        what people use instead?

                                        1 Reply Last reply Reply Quote 0
                                        • IAMLIUBOI
                                          IAMLIUBO @sgu
                                          last edited by

                                          @sgu said in UiFlow 2.0 Alpha verison discuss(how-to, bug, feature request or sometings):

                                          Ui Flow 2.0 looks nice. But it lacks functionality.
                                          Tested with a new Core S3 and wanted to test out the built in Camera. But how to do it either in micropython or with blockly ?

                                          New firmware support camera now :-)

                                          Once you start selling the devices, the software must be ready and support all features of the device.
                                          In my case I wanted to test the camera if it is possible to use the built in camera as a barcode reader, this would be a great application.

                                          Now it only supports basic functions such as image display, and does not support high-level functions such as recognizing barcodes.

                                          Second question to uiflow 2.0: Where have the examples gone ?
                                          Even as an experienced programme, the demos are a good starting point for testing out a device or a unit.

                                          We will add the example as soon as possible. Considering that it is still in the alpha stage, we still need to do the final API review. In short, we will add the example as soon as possible.

                                          Third question: How about the support of the stackable-modules for the Core S3 ? How to access them in the UiFlow 2.0 ? can we reuse the modules for the older M5 Stack models ?

                                          Yeah, any module or uint or hat will support in uiflow2.0, just need a little time to made this, sorry for this, we will do our best.

                                          S 1 Reply Last reply Reply Quote 0
                                          • IAMLIUBOI
                                            IAMLIUBO @teastain
                                            last edited by

                                            @teastain said in UiFlow 2.0 Alpha verison discuss(how-to, bug, feature request or sometings):

                                            @iamliubo can someone from M5Stack please check the AtomS3 GitHub “Issues”.
                                            I have one outstanding and another question to ask, but no one is there?

                                            This issue? Seem fixed, thanks for report this!

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post