Navigation

    M5Stack Community

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

    felmue

    @felmue

    74
    Reputation
    372
    Posts
    939
    Profile views
    3
    Followers
    2
    Following
    Joined Last Online
    Location Switzerland

    felmue Follow

    Posts made by felmue

    • RE: 2 Relay on PaHub

      Hello @mad23

      have you considered using the 4 relay unit?

      Thanks
      Felix

      posted in Arduino
      felmue
    • RE: 2 Relay on PaHub

      Hello @mad23

      I'd say so, yes, but I don't have a Pb.Hub so I cannot say for sure, sorry.

      @all: maybe somebody who owns a Pb.Hub can help out here?

      Thanks
      Felix

      posted in Arduino
      felmue
    • RE: Connecting to a LoraWAN Gateway with Core2 and Module LoRa868

      Hello @paul-k

      how far did you get? Is the M5Core2 talking to the LoRa module?

      Keep in mind that the LoRa module was designed for M5Stack (Fire, Gray, etc.) and some GPIOs have changed from M5Stack to M5Core2. You can find a comparison here.

      I don't have the LoRa module, but from looking at the schematic this should be the GPIO mapping:

      LoRa      <-> M5Core2 <-> Name

      GPIO18  <-> GPIO18   <-> SCK
      GPIO23  <-> GPIO23   <-> MOSI
      GPIO19  <-> GPIO38   <-> MISO
      GPIO5    <-> GPIO33   <-> CS
      GPIO26  <-> GPIO26   <-> RST
      GPIO36  <-> GPIO36   <-> DIO0 / INT

      Note: on M5Core2 by default GPIO33 is used as external I2C (SCL) on the Groove port A. Luckily external I2C is not enabled by default so that should not interfere. Just keep in mind that you cannot use the LoRa module and external I2C.

      Thanks
      Felix

      posted in Modules
      felmue
    • RE: JoyC won't work with newer M5StickCPlus

      Hello @teastain

      getting it to compile is probably as easy as replacing #include <M5StickC.h> with #include <M5StickCPlus.h>. The bigger issue is the larger screen size which will need to be adapted properly. If and when M5Stack engineers will fix that I have no idea. Sorry.

      Thanks
      Felix

      posted in Units
      felmue
    • RE: Using the Set Bit Block

      Hello @uppermill

      try to set var1 to 0 before setting the bit.

      var1 = 0
      var2 = (var1 | (0x01 << 0))
      

      Thanks
      Felix

      posted in UIFlow
      felmue
    • RE: 2 Relay on PaHub

      Hello @mad23

      Pa.Hub is an I2C extension hub so unless your relays use I2C (which I doubt) you cannot use a Pa.Hub to connect and switch two relays.

      Did you mean Pb.Hub?

      Thanks
      Felix

      posted in Arduino
      felmue
    • RE: SoftwareSerial, how do I convert those projects to use the hardware serial on the M5?

      Hello @pipy71

      On M5Stack (Fire, Gray, Basic) the red Groove port A is only usable for I2C communication. The reason is that the same GPIOs (21, 22) are used internally for I2C communication with the IP5306 and therefore cannot be reprogrammed to be used as serial port.

      Please also check out Pin Map for red Groove Port A here.

      For serial communication you'd need a M5GO Bottom (or Bottom2) which provides you with the blue Groove port C.

      Thanks
      Felix

      posted in General
      felmue
    • RE: m5paper charging issues?

      Hello @sj3fk3

      I am currently running a discharge experiment where I measure the battery voltage with a multimeter and compare the value to what M5.getBatteryVoltage() returns.

      M5Paper is in deep sleep and I wake it from time to time and check the values.
      So far the values are quite comparable. You can find the data here.

      The battery in my M5Paper is a 3.7V type with an end charging voltage of 4.35V. You'll find some additional information in the above link.

      Thanks
      Felix

      posted in PRODUCTS
      felmue
    • RE: Fire - Core2 and module Lora

      Hello @Carles-B

      yeah, I cannot say for sure if the LoRa module would actually fit as I don't have one to try.

      Good luck with your experiments and thank you very much for your donation. I appreciate it.

      Thanks
      Felix

      posted in Modules
      felmue
    • RE: Deep Sleep with MicroPython

      Hello @koichirose

      here is how I managed to get M5StickC Plus into deep sleep using MicroPython:

      p37 = machine.Pin(37, mode = machine.Pin.IN, pull = machine.Pin.PULL_UP)
      p37.irq(trigger = machine.Pin.WAKE_LOW, wake = machine.DEEPSLEEP)
      machine.deepsleep(20000)
      

      It wakes up from deep sleep either after 20 seconds or when button A is pressed.

      Thanks
      Felix

      posted in M5 Stick/StickC
      felmue