Navigation

    M5Stack Community

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

    kotobuki

    @kotobuki

    0
    Reputation
    5
    Posts
    941
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    kotobuki Follow

    Posts made by kotobuki

    • How to prepare a firmware for M5Burner v3.0

      Hi,

      I want to deploy my custom firmware. I have submitted firmware in the past, but it seems that the format has been changed (it was .zip but now .bin only).

      https://github.com/kotobuki/M5Stack-HID-Input-Framework-for-xR-firmware

      As a trial, I exported a .bin file by Sketch > Export compiled binary then specified the .bin file but got no luck.

      Where is the document explaining how to prepare the firmware for use in the User Custom tab of M5Burner v3.0?

      posted in SOFTWARE
      K
      kotobuki
    • RE: The range of values from an ANGLE between directly connected to PORT B and connected to PORT A via PbHUB is different

      @m5stack said in The range of values from an ANGLE between directly connected to PORT B and connected to PORT A via PbHUB is different:

      ESP32 and mega328 has different ADC resolution

      Thank you very much for your reply.

      Yes, the ADC module on mega328 has a 10-bit resolution, whereas ESP32 has a 12-bit resolution. If this issue is just a resolution issue, the result should be 0 - 1023 instead of 15 - 745 or 0 - 715. If nobody can reproduce this issue, the PbHUB may be broken...

      posted in Units
      K
      kotobuki
    • The range of values from an ANGLE between directly connected to PORT B and connected to PORT A via PbHUB is different

      Hi,

      I'm testing my PbHUB with my M5GO and ANGLE, and I have a question.

      When I connect the ANGLE to port B of the M5GO, the range of values from the ANGLE is between 0 and 4095.

      However, when I connect the ANGLE to port A via the PbHUB of the M5GO, the range of values from the ANGLE is between 15 and 745 (when connected to between ch0 and ch3) or 0 and 715 (when connected to between ch4 and ch5).

      I confirmed with both Arduino and UIFlow. Is this normal, or my PbHUB seems to be broken?

      from m5stack import *
      from m5ui import *
      from uiflow import *
      import time
      import unit
      
      setScreenColor(0x222222)
      pbhub0 = unit.get(unit.PBHUB, unit.PORTA)
      
      label0 = M5TextBox(10, 10, "Text", lcd.FONT_DejaVu18, 0xFFFFFF, rotate=0)
      
      while True:
        label0.setText(str((str('ANGLE: ') + str((pbhub0.analogRead(0))))))
        wait_ms(100)
        wait_ms(2)
      

      Best,
      Shigeru

      posted in Units
      K
      kotobuki
    • Can't launch electron-m5burner-v2-eletron on macOS Catalina (10.15.5)

      Hi,

      I just downloaded M5Burner v2 from https://m5stack.com/pages/download, unzipped, and tried to launch. However, I got an error message like 'The application "electron-m5burner-v2-eletron" can't be opened'. I also tried unzipping with The Unarchiver and could open the app, then got error messages as follows (an excerpt).

      Application Specific Information:
      dyld: launch, loading dependent libraries

      Dyld Error Message:
      Library not loaded: @rpath/Electron Framework.framework/Electron Framework
      Referenced from: /Applications/electron-m5burner-v2-eletron.app/Contents/MacOS/electron-m5burner-v2-eletron
      Reason: no suitable image found. Did find:
      /Applications/electron-m5burner-v2-eletron.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: file too short
      /Applications/electron-m5burner-v2-eletron.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: stat() failed with errno=1

      M5Burner v1.0.1 has been working fine in the same environment. Could you please let me know if you know anything about this issue.

      BTW, I found an article that seems to be related to this issue. https://medium.com/cacher-app/getting-your-electron-app-working-on-macos-catalina-10-15-63e53f397da2

      Thanks,
      Shigeru

      posted in SOFTWARE
      K
      kotobuki
    • RE: M5StickC HAT PIN control in UIFlow

      Hi,

      I want to utilize the HAT pin in UIFlow to add a digital sensor. Are there any plans to support the HAT pin in UIFlow? Though I can code in the Arduino environment, I want to go with UIFlow if possible. Because UIFlow is easy to deploy and let non-experts tinker.

      Thanks.

      posted in UIFlow
      K
      kotobuki