Skip to content
  • Blog
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Community Forum

  1. Home
  2. Categories
  3. General Discussion
  4. Wemos D1 mini w/RN-2903 using v1.1 board consumes 3-5 ma

Wemos D1 mini w/RN-2903 using v1.1 board consumes 3-5 ma

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 4.0k Views 2 Watching
  • 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.
  • T Offline
    T Offline
    tbalon
    wrote on last edited by
    #1

    Hi,

    I ordered a few of the v1.1 boards from this URL
    https://github.com/hallard/WeMos-RN2483

    I'm using an RN2903 (f/w from 0.8.4 Feb 2017) with a Wemos
    D1 mini using software serial to communicate with the Lora chip.

    The device functions well but I can't seem to figure out why it is
    consuming 5ma when it enters deep sleep. If I disconnect the
    D1 from the board and power it I can see that power consumption
    drops to 0 when it enters deep sleep. I tested deep sleep with it
    disconnected from the board and it works as expected. Sleeps
    drawing very little current and wakes fine.

    I know the RN2903 uses about 2-3 ma when idle. It to drops to
    zero when it enters deep sleep. However, when I mate the D1 to the
    board, the total sleep current is around 5ma.

    I'm wondering if in the process of going into deep sleep the D1 using
    software serial is somehow waking the RN chip up ? Still, the RN only
    uses 2-3 ma, so I'm at a loss at why this is using so much power.

    I'm powering the device using the 3.3V input on the board. Given the
    high sleep current I'm only getting 20 days or so use with my 3200ma
    battery.

    Any ideas or hints on how to debug this would be appreciated.

    1 Reply Last reply
    • T Offline
      T Offline
      tbalon
      wrote on last edited by
      #2

      My suspicion was right...
      It seems that when using software serial with the jumpers set to pins 13 and 15, the RN2903 wakes up when the D1 mini goes to sleep. Unlike the hwd UART RX pin, the software serial RX pin (GPIO 15) goes low when the D1 enters deep sleep. This is somehow is causing the RN2903 to wake up.

      1 Reply Last reply
      • T Offline
        T Offline
        tbalon
        wrote on last edited by
        #3

        If I change the RX pin used by software serial from GPIO 15 to GPIO 0 (which has an internal pull-up) then the RN2903 says sleeping when the D1 mini goes into deep sleep.

        I can always jumper the board but it seems odd that the board which was designed for a D1 mini with RN2XX3 doesn't work with software serial using the layout for gpio 13 as TX and GPIO 15 RX...

        1 Reply Last reply
        • R Offline
          R Offline
          rin67630
          wrote on last edited by
          #4

          Thank you for sharing your experience.

          1 Reply Last reply
          • CharlesC Offline
            CharlesC Offline
            Charles
            wrote on last edited by
            #5

            @tbalon GPIO13/GPIO15 have been used to remap hardware serial on these pins (and do not interfere with original TX/RX ones), like that you can keep hardware serial, changing pins is done with

            Serial.swap()
            

            Did you tried that one?

            1 Reply Last reply

            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
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            1

            Online

            5.8k

            Users

            565

            Topics

            5.3k

            Posts

            Top Topics

            Popular Tags

            teleinfo
            25 topics
            arduino
            19 topics
            remora
            16 topics
            esp8266
            10 topics
            arduipi
            10 topics
            raspberry
            8 topics
            wifinfo
            7 topics
            broadcast
            7 topics
            Copyright © 2022 Charles-Henri Hallard | Return to blog page | Powered by NodeBB
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Blog
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups