Navigation

    M5Stack Community

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

    dumitru

    @dumitru

    0
    Reputation
    6
    Posts
    188
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    dumitru Follow

    Posts made by dumitru

    • RE: (PM2.5 + SHT30) and ENV III

      @gavin67890 , thank you so much for your reply. Highly valuable information I totally missed when browsing the m5stack website. I was in a rush to get going and I was mixing up modules.
      The https://docs.m5stack.com/en/product_i2c_addr is especially valuable as I was struggling with those IDs.

      My kit was using the SHT30 built into the base, while I was reading the docs and trying the code for the one with the SHT20. Having the exact same physical look was the main cause for my misunderstanding.

      I really appreciate your help! Now I have everything up and running smoothly.

      Thank you!!!

      posted in Modules
      D
      dumitru
    • (PM2.5 + SHT30) and ENV III

      Hello,
      Since the built-in temp/hum sensor of the PM2.5 module is not so accurate (probably due to the proximity with the main board) I am considering using the ENV III module to get the temp and humidity.

      I suppose that the modules use the same I2C address so there will be a conflict if I connect ENVIII to the I2C bus.

      My questios are:
      is there a way to disable the built-in SHT30? Is using PaHUB a solution to have the ENVIII connected while the PM2.5 module is also connected?

      Later edit:
      I am testing using UIFlow , PM2.5 module, PaHub and ENV III.
      While sometimes the app runs fine (only when the ENVIII is in PORT0 of the PaHUB), the values displayed seem to be from the built-in module.
      When I move the ENVIII sensor to another port, the app just crashes with the CRC error message
      0_1695913223086_2023-09-28_17-58-42.png

      0_1695913355997_20230928_164645_resize.jpg

      Thank you!

      posted in Modules
      D
      dumitru
    • RE: PM2.5 Air Quality Kit (PMSA003 + SHT20) - Arduino IDE - Cannot read temperature and humidity

      It works!!
      Thank you for the suggestion @gavin67890!
      The temperature is about 6 over and the humidity is 10% less than what my desk station is showing me, but I am glad that the hardware is ok.
      Now, to inspect the Python code and see where is the problem.
      0_1695909425730_20230928_164927_resize_resize.jpg

      Also, one important aspect I was missing: the GitHub code was trying to read a SHT20 while the PM2.5 (K023-B) has a SHT30.

      posted in Arduino
      D
      dumitru
    • RE: PM2.5 Air Quality Kit (PMSA003 + SHT20) - Arduino IDE - Cannot read temperature and humidity

      @gavin67890 Excellent idea! I will try that. Thank you!

      posted in Arduino
      D
      dumitru
    • Adruino IDE vs VS Code

      I am facing a strange issue and I am sure there must be something I am missing, so I am kindly asking for your assistance.

      I am testing this code: https://github.com/m5stack/M5Stack/tree/master/examples/Unit/PaHUB_TCA9548A

      The PaHub scanner with a M5Core Basic device (the one in the PM2.5 Air quality kit).

      The code uploaded with Arduino IDE works just fine. It displays existing addresses.
      However, the code uploaded with VSCode with Platformio does not. It is not detecting any of the I2C device addresses.

      The plafromio.ini:
      [env:m5stack-core-esp32]
      platform = espressif32
      board = m5stack-core-esp32
      framework = arduino
      lib_deps =
      m5stack/M5Stack@^0.4.6
      closedcube/ClosedCube I2C Driver@^2020.9.8
      closedcube/ClosedCube TCA9548A@^2020.5.21

      I have checked the source code of the libraries used (M5Stack and ClosedCube_TCA9548A) and they seem identical.

      I cannot understand what I a missing.

      Thank you!

      posted in Arduino
      D
      dumitru
    • PM2.5 Air Quality Kit (PMSA003 + SHT20) - Arduino IDE - Cannot read temperature and humidity

      Hello,

      I am struggling with an annoying issue.
      I've just put my hands on an AirQuality Kit. It came with a pre-flashed app, that correctly showed values (the temperature was way hight, but I understand that this is a know fact).
      After playing with UIFlow and nanoFramework, due to some issues I was unable to solve, I returned to the Arduino IDE.

      I have uploaded an app from GIT (for the PM2.5) but it does not show the temperature any more:
      https://github.com/m5stack/M5Stack/blob/master/examples/Modules/PM2.5_PMSA003/PM2.5_PMSA003.ino

      Checking the source code, I noticed the:
      #define SLAVE_ADDRESS 0x40

      However, when I run a scan on the i2c bus, on my m5Stack, I see these ids:
      44
      75
      80
      C4
      F5

      So, I tried 0x40, but no luck. Also, other strange things happen in some situations:
      Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
      Core 1 register dump:
      PC : 0x400d15fa PS : 0x00060730 A0 : 0x800d1713 A1 : 0x3ffb1f30
      A2 : 0x3ffc01a4 A3 : 0x3ffc0640 A4 : 0x00000000 A5 : 0x3ffc0640

      This is the KIT: https://docs.m5stack.com/en/base/pm2.5

      Is there some place from where I can get the source code for the app that was originally on the device?

      posted in Arduino
      D
      dumitru