Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
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
  1. Home
  2. Troubleshooting
  3. [ProMini] Blue LED on Pin 13 wont turn off

[ProMini] Blue LED on Pin 13 wont turn off

Scheduled Pinned Locked Moved Troubleshooting
13 Posts 4 Posters 3.6k Views 3 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.
  • mfalkviddM Offline
    mfalkviddM Offline
    mfalkvidd
    Mod
    wrote on last edited by
    #4

    I keep the led13 on my battery-powered units. It is useful for basic troubleshooting and the power used is small enough to be ignored.

    1 Reply Last reply
    1
    • S sundberg84

      @rollercontainer - could be, some bootloaders use this led to indicare its ready.
      Arduino Pro Mini bootloader for example blinks if its loaded and waiting for a sketch to be uploaded. Depends on which bootloader you use and how that is coded.
      But once you upload a sketch on the original bootloader it does not blink (unless there is radio traffic - ie signals going to and from the nrf24l01+ on pin 13.

      R Offline
      R Offline
      rollercontainer
      wrote on last edited by
      #5

      @sundberg84 Thanks a lot for opening my eyes!

      I moved the radio to soft spi and now it works like intended.

      #define MY_DEBUG
      #define MY_RADIO_NRF24
      // RobotDyn Pro Mini 3,3V 8Mhz has blue LED on Pin13 which is used by radio and will be lit all the time.
      // Therfore, I moved the radio as it is done for the ethernet gateway.
      #define MY_SOFTSPI
      #define MY_SOFT_SPI_SCK_PIN 14  // Analog 0
      #define MY_SOFT_SPI_MOSI_PIN 15 // Analog 1
      #define MY_SOFT_SPI_MISO_PIN 16 // Analog 2
      #define MY_RF24_CE_PIN 5
      #define MY_RF24_CS_PIN 6
      
      #define SKETCH_NAME __FILENAME__
      #define SKETCH_DATE __DATE__
      #define MY_NODE_ID 70
      #define MY_PARENT_NODE_ID 0
      #define MY_REPEATER_FEATURE false
      
      1 Reply Last reply
      0
      • B Offline
        B Offline
        boozz
        wrote on last edited by
        #6

        @rollercontainer

        And you opened my eyes with the soft-spi remark. I just realized this could be an option to connect a LCD to a pro-mini as some kind of temperature indicator for multiple sensors. This is still on my wish-list.

        • outside temperature (low, high, current).
        • multiple room temperatures
        • etc..

        Thanks,

        BR,

        Boozz

        1 Reply Last reply
        0
        • R Offline
          R Offline
          rollercontainer
          wrote on last edited by
          #7

          How about an I2C Display? Two wires on A4 &A5...

          1 Reply Last reply
          2
          • S Offline
            S Offline
            sundberg84
            Hardware Contributor
            wrote on last edited by
            #8

            Going OT now - but @boozz here is an example of my i2c lcd (A4 + A5).
            https://www.openhardware.io/view/23/In-wall-LCD-SwitchScene-controller-for-MySensors

            Controller: Proxmox VM - Home Assistant
            MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
            MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
            RFLink GW - Arduino Mega + RFLink Shield, 433mhz

            B 1 Reply Last reply
            0
            • S sundberg84

              Going OT now - but @boozz here is an example of my i2c lcd (A4 + A5).
              https://www.openhardware.io/view/23/In-wall-LCD-SwitchScene-controller-for-MySensors

              B Offline
              B Offline
              boozz
              wrote on last edited by
              #9

              @sundberg84

              Thanks for the example, I'll have a look at it and yes we're going OT now. :grin:

              BR,

              Boozz

              1 Reply Last reply
              0
              • R Offline
                R Offline
                rollercontainer
                wrote on last edited by
                #10

                no problem, my fault was solved. Feel free to capture the thread ^^

                1 Reply Last reply
                0
                • mfalkviddM Offline
                  mfalkviddM Offline
                  mfalkvidd
                  Mod
                  wrote on last edited by mfalkvidd
                  #11

                  Another thing that's slightly OT... How much more power does soft spi use compared to hardware spi? Is it more or less than the led?

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    rollercontainer
                    wrote on last edited by
                    #12

                    Excellent question. I dont know.

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      rollercontainer
                      wrote on last edited by
                      #13

                      Here are some scientific messurements: http://cc.oulu.fi/~kmikhayl/site-assets/pdfs/2012_NTMS.pdf

                      Table on last page says: SoftSPI consumes about double the electricity of a Hardware SPI on a PIC system. So, desoldering the LED is the thing to do.

                      Thx for the hint.

                      1 Reply Last reply
                      0

                      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


                      27

                      Online

                      12.0k

                      Users

                      11.2k

                      Topics

                      113.4k

                      Posts


                      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • MySensors
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular