Navigation

    M5Stack Community

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

    schotek

    @schotek

    2
    Reputation
    4
    Posts
    811
    Profile views
    1
    Followers
    0
    Following
    Joined Last Online

    schotek Follow

    Posts made by schotek

    • RE: Using the RFID reader => speaker noise

      Hey, guys. I hear the same sound whether we make an RFID module, USB module or GPS module. When communicating with any of them, the sound is heard.

      And in my opinion, it is not the sound from the speaker, because it can be heard even if I turn off the speaker software (and even if I disconnect it completely). The beeping is coming from some components...

      posted in Units
      S
      schotek
    • M5Stick-C: How to set low-power mode on MPU6886?

      My M5Stick-C in deep-sleep-mode lasts more than 20 hours on the internal battery if I wake it up only with the button (to check the status) or with the timer (temperature measurement via ENV-HAT every 15 minutes). However, if I also enable motion wake-up via MPU6886, the endurance drops somewhere towards six hours of sleep - i.e. from 5 mA consumption to 15 mA.

      Has anyone figured out how to reduce power consumption when MPU6886 is active in deep-sleep mode? My intent is to detect impacts (i.e., fairly strong force), not normal lifting.

      I´am using Platformio and CPP with Arduino framework...

      Thanks for any advice!

      posted in M5 Stick/StickC
      S
      schotek
    • COM.X ZigBee module working under Arduino?

      Hi, everybody!

      I can't get the above modules (with Core Gray unit) to communicate with each other. They are not supported in M5Flow yet, the example given for arduino doesn't work no matter what I do.

      Has anyone managed to get this to work and would share any advice?

      Is it possible to create a simple ZigBee gateway (for some zigbee sockets and light bulbs) with this type of module, or is it only usable for "tunneling" a UART port via ZigBee?

      Thanks everyone!

      posted in Modules
      S
      schotek
    • GPS (AT6558) at Thonny editor

      I have code in Micropython to communicate with the GPS unit connected to port A (because I use plain Gray M5Stack unit) and using Thonny editor.

      If I upload code directly to the device a run it from the menu, it works well. But if I try to run it directly from Thonny editor (it uses REPL mode I guess), I got this error:

      Unit: Please change unit gps to other grove
      

      It is very simple code and it looks like this:

      import os
      from m5stack import *
      from m5ui import *
      from uiflow import *
      import unit
      
      setScreenColor(0x222222)
      gps0 = unit.get(unit.GPS, unit.PORTA)
      
      label0 = M5TextBox(92, 85, "Text", lcd.FONT_Default, 0xFFFFFF, rotate=0)
      label1 = M5TextBox(92, 70, "Text", lcd.FONT_Default, 0xFFFFFF, rotate=0)
      
      while True:
        label0.setText(str(gps0.pos_quality))
        label1.setText(str(gps0.satellite_num))
        wait_ms(2)
      

      Do you have any tips?

      posted in Micropython
      S
      schotek