🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    CORE, RS485 and 2x2RELAY...

    Scheduled Pinned Locked Moved M5GO
    4 Posts 2 Posters 3.3k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cryptospokC Offline
      cryptospok
      last edited by

      I have a simple code that displays the date, time, temperature and humidity data acquired by an RS485 device (XY-MD04), but the console keeps displaying the following messages:

      E (18258813) mqtt_client: esp_mqtt_client_init(800): Memory exhausted
      E (18258814) mqtt_client: Client was not initialized
      E (18258815) mqtt_client: Client was not initialized

      I have a CORE, 2x 2RELAY modules, an M5GO module (Port C), an RS485 converter via Port C and an XY-MD04 humidity and temperature sensor via RS485.

      I'm not even using MQTT...

      How do I know the size of my CORE's memory?
      What is the size of the code I can use, and how do I know it?
      My project is based on activating the relays based on RS485 data readings and timing (RTC). With the same code, sometimes it works, sometimes it presents execution errors.

      I am very, very grateful for any help!

      teastainT 1 Reply Last reply Reply Quote 0
      • cryptospokC Offline
        cryptospok
        last edited by

        Thius is the code:

        uiflow2_block_1731773869116.png

        1 Reply Last reply Reply Quote 0
        • teastainT Offline
          teastain @cryptospok
          last edited by teastain

          @cryptospok

          https://docs.m5stack.com/en/core/basic_v2.7

          ESP32-D0WDQ6-V3
          520KB SRAM,
          Flash 16MB

          Cheers, Terry!

          100% M5Stack addict with several drawers full of product!

          cryptospokC 1 Reply Last reply Reply Quote 0
          • cryptospokC Offline
            cryptospok @teastain
            last edited by

            @teastain thank you!

            1 Reply Last reply Reply Quote 1

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post