Navigation

    M5Stack Community

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

    Topics created by liemph

    • The external DC input voltage for BaseX module
      Modules • • liemph

      1
      0
      Votes
      1
      Posts
      656
      Views

      No one has replied

    • Testing Lego+ Base and Suggestion
      Bases • • liemph

      4
      0
      Votes
      4
      Posts
      1394
      Views

      @m5stack Thanks. I am now experimenting with Base X.
    • Bug? uiFlow 1.4.5 Stick C IMU ypr[] (getX and getY) values are weird.
      Bug Report • • liemph

      6
      0
      Votes
      6
      Posts
      1750
      Views

      @ipodlux For the time being, I stopped using uiFlow (or Python) for IMU related project. It is not reliable and it is slow. Use Arduino IDE, you will have a much faster code and reliable result.
    • Issue with Port C (UART) of M5Stack Fire (Finger unit OK but GPS No Good)
      M5Stack Fire • • liemph

      6
      1
      Votes
      6
      Posts
      2191
      Views

      @liemph Same problem here :-( https://forum.m5stack.com/topic/1930/gps-unit-at6558
    • How to get the magnetometer values from M5Stack Fire by UIFlow?
      UIFlow • • liemph

      1
      0
      Votes
      1
      Posts
      620
      Views

      No one has replied

    • How to use two ENV units with PaHUB (UIFlow)
      Units • • liemph

      12
      0
      Votes
      12
      Posts
      3590
      Views

      from m5stack import * from m5ui import * from uiflow import * import hat import unit import hat setScreenColor(0x111111) pbhub0 = unit.get(unit.PBHUB, unit.PORTA) hat_pir0 = hat.get(hat.PIR) label0 = M5TextBox(13, 8, "PIR Hat", lcd.FONT_Default,0xFFFFFF, rotate=0) label1 = M5TextBox(12, 63, "PbHUB", lcd.FONT_Default,0xFFFFFF, rotate=0) label2 = M5TextBox(34, 34, "0", lcd.FONT_Default,0xFFFFFF, rotate=0) label3 = M5TextBox(0, 83, "+Light Unit", lcd.FONT_Default,0xFFFFFF, rotate=0) label4 = M5TextBox(26, 109, "0", lcd.FONT_Default,0xFFFFFF, rotate=0) while True: label2.setText(str(hat_pir0.state)) label4.setText(str(pbhub0.analogRead(0))) wait(1) wait_ms(2)
    • I2C_Keyboard_Interrupt sample is not working.
      Arduino • • liemph

      5
      0
      Votes
      5
      Posts
      2100
      Views

      @ecasti said in I2C_Keyboard_Interrupt sample is not working.: According to several forum, Wire library require interrupt itself while any further interrupt is disabled during ISR call , so this example cannot work . Only way to make working should be moving outside wire.read() function inside a proper function registered on Wire.onReceive call ( that i'm pretty sure get called from a proper interrupt ). will make some test Hopefully, you will find the solution. Honestly, I have no time to dig further. Good luck.
    • Unstable program uploading to M5Stack Fire.
      M5Stack Fire • • liemph

      5
      1
      Votes
      5
      Posts
      1709
      Views

      @ollie said in Unstable program uploading to M5Stack Fire.: Liemph, thanks for sharing your observations. I am totally new user of M5Stack Fire. My goal is to use it for teaching and for that reason, I would like to keep it simple and use only UIFlow and not to use Arduino or external Python tools. In your case, why did you prefer Arduino over UIFlow? My experience was that after many hours of changing the IDE versions and M5SF firmware, I was not able to download any code. After switching to flow.m5stack.com and selecting the latest M5SF firmware I was able to download and do it without USB cable. PS. In your case study, I believe that the explanation is in the hardware reset when you are changing the bases. For the last few days, using the Arduino IDE I developed my codes related to IMU with my Fire and got frustrated since the Fire did not respond at all (blank LCD). I tried the same codes on M5Stack Grey and they worked perfectly. I think something was wrong with my Fire. Then I burned my Fire with the UIFlow firmware and for the time being, the Fire works well. But I have to use the Singapore server since the one provided by the server in China is not stable. Now I am learning the new graphical language.
    • How to connect a unit with UART connection to M5Stack Fire?
      Units • • liemph

      1
      0
      Votes
      1
      Posts
      688
      Views

      No one has replied

    • Controlling the FACES II base by just connecting a serial cable ? Youtube
      Bases • • liemph

      2
      0
      Votes
      2
      Posts
      1224
      Views

      V

      I don't think he means controlling the faces II base itself, I'm sure he means you can communicate with a module that uses serial comms mounted on the base using a grove cable from a separate m5stack core (with a serial port or pins). The grove port on the m5stack will supply the power for the module on the base and serial tx/rx data will be transferred over the cable instead of directly over the internal M-BUS. Which is how it will usually work with a stack of modules under a m5stack core. I'm not sure if this "remote" serial cabled comms is actually very useful in the real world. Edit: I just realised that the faces finger board uses serial (uart), so you could put a fingerprint faces board on the faces base and communicate with it over blue port c using pins 16/17 from a separate m5stack core.
    • Is there an easy way to connect M5Stack or M5Stick-C to old Lego Mindstorms Motors and Sensors (Robotic Invention)
      Modules • • liemph

      20
      0
      Votes
      20
      Posts
      6230
      Views

      The encoder signal is displayed very accurately and also evaluated very precisely. Of course also with the NXT motors and EV3 motors. I will see that I make a video the days once again where you can see how precisely he drives the set values. @liemph I will then connect a NXT motor and run it on different values of the encoder! The GlideWheel PF and RCX motor controller for NXT or EV3 cannot be mounted directly on the old motors, because it is designed for the power motors (on these it is mounted with two pins), but you can mount it somewhere in the system on the shaft of the motor. So you can make an encoder motor out of any Lego motor.
    • Is it possible to connect M5Stack Fire units (I2C) to M5Stick C (via groove port)?
      M5 Stick/StickC • • liemph

      2
      0
      Votes
      2
      Posts
      797
      Views

      @liemph yeah. most I2C Unit M5SticKC can use, you can in our github find some example about it. github link: https://github.com/m5stack/M5StickC/tree/master/examples/Unit
    • Is it possible to dock M5Stack Fire to FACES ?
      Modules • • liemph

      3
      0
      Votes
      3
      Posts
      1205
      Views

      @ajb2k3 said in Is it possible to dock M5Stack Fire to FACES ?: There shouldn't be any problems using the fire on the Faces base as it is still a core. Yep there is no problem at all. I have fire and ita fine with face. Now i have also new face bottom with just arrive. So clasic face finally got 2 extra ports.