Navigation

    M5Stack Community

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

    microdynasty

    @microdynasty

    2
    Reputation
    9
    Posts
    961
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    microdynasty Follow

    Posts made by microdynasty

    • RE: Using ENV.III UNIT on M5StickC Plus:getting I2C error 19

      Felix,

      I'm only interested in temperature. They are both the same in that regard. SHT30:0x44

      I am concerned it throws the error 19. I thought at least it would connect on the I2C :(

      The ENVIII page states it is compaitilble with UiFlow.

      If you look at the page for: ENV2](https://docs.m5stack.com/en/unit/envII)

      M5 states "This product is EOL now, we've released the updated version ENV III Unit with Temperature Humidity Air Pressure Sensor (SHT30+QMP6988) which is fully compatible with this product."

      I don't mind coding the I2C interface in MicroPython vs Blocky, but I don't know how. I have done write to i2C for the 4-unit relay. But I have never done READ.

      i2c0 = i2c_bus.easyI2C(i2c_bus.PORTA, 0x26, freq=400000)
      i2c0.write_u8(0x11, 0x00)

      posted in Units
      M
      microdynasty
    • Using ENV.III UNIT on M5StickC Plus:getting I2C error 19

      Hello,

      I am trying to get the ENV.iii unit (not hat) to with on the M5 stickC (regular and plus).

      I have got the ENV.ii hat to work fine (but accuracy is not great next to the hot LCD).

      So I thought I would use the UNIT, which happens to be i2c.

      Using UiFLow 1.7.5, 1.8.1 firmware.

      The ENV.iii is not supported in blocky, but the ENV.ii is, and the specs say it is compatible, so...autogenerated code is:

      from m5stack import *
      from m5ui import *
      from uiflow import *
      import unit

      setScreenColor(0x111111)
      env20 = unit.get(unit.ENV2, unit.PORTA)
      lcd.print((env20.temperature), 0, 0, 0xffffff)

      I get an error: "I2C bus error (19)"
      I have tried different M5 stick, different wires, different ENV.iii units.

      Thanks for any help!

      posted in Units
      M
      microdynasty
    • RE: How to power Core 2 from AC100v.

      Well, I have perhaps 30 of the M5 units. All of them power using the AC power USB adaptor.

      My advice is to be sure it has sufficient power (2.5A+)

      posted in Core 2
      M
      microdynasty
    • RE: Lan Module - UIFlow Integration

      Just for FYI, as of this date, the W5500 hardwire ethernet port is not well implemented in MicroPython (use wireless instead). The POE function works fine so you can use it to power your module, but communication is not working on the wired LAN.

      It works fine in Arduino IDE.

      posted in Modules
      M
      microdynasty
    • RE: How to deal with Time DST (daylight saving time) ?

      Not sure if it works for this application, but in another project we used an API from google that returns current time anywhere in the world.

      Also as a general point, UTC+0 (Zulu) time is the way to go. It has no DST, and can be displayed as local time using an API such as the above to get the DST anywhere on earth on any day/time.

      https://developers.google.com/maps/documentation/timezone/get-started

      posted in UIFlow
      M
      microdynasty
    • RE: Lan Module - UIFlow Integration

      Felix,

      Thanks for the reply.

      I am trying to use the LAN (W5500) in MicroPython.

      I am using the M5Stack grey.

      I found the following in the MicroPython language reference, but how to use it in MicroPython for M5, this seems specific to Pyboard?

      import network
      nic = network.WIZNET5K(pyb.SPI(1), pyb.Pin.board.X5, pyb.Pin.board.X4)
      print(nic.ifconfig())

      Thank you.

      posted in Modules
      M
      microdynasty
    • RE: Lan Module - UIFlow Integration

      I am also looking for this answer.

      posted in Modules
      M
      microdynasty
    • RE: Sending data between two M5Stick C plus

      If not WiFi, try BLE or LoRa?

      posted in Arduino
      M
      microdynasty
    • RE: Lan Module - UIFlow Integration

      Also wondering the same. Did you ever find the UiFlow for LAN module?

      posted in Modules
      M
      microdynasty