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. Hardware
  3. Arduino Nano power related issue

Arduino Nano power related issue

Scheduled Pinned Locked Moved Hardware
8 Posts 4 Posters 2.5k 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.
  • P Offline
    P Offline
    punter9
    wrote on last edited by punter9
    #1

    I'm betting somebody on here knows the answer. I am powering my nano via pin 30 with a 9v input. My node is a relay. It powers up and registers on domoticz. It won't however switch the relay.

    Neat part is if I plug in the usb cable it will switch the relay with all the same code etc.....what is the deal here?

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      Been discussed here a few times. Power the relay separately (not through the Arduino board).

      1 Reply Last reply
      0
      • P Offline
        P Offline
        punter9
        wrote on last edited by punter9
        #3

        it is powered seperately, should have mentioned that. regardless it works with usb and not with pin 30. Power supply is 9V 2A

        AWIA 1 Reply Last reply
        0
        • P punter9

          it is powered seperately, should have mentioned that. regardless it works with usb and not with pin 30. Power supply is 9V 2A

          AWIA Offline
          AWIA Offline
          AWI
          Hero Member
          wrote on last edited by
          #4

          @punter9 said:

          it is powered seperately, should have mentioned that. regardless it works with usb and not with pin 30. Power supply is 9V 2A

          How is it connected? can you share a photo or at least the wiring?

          1 Reply Last reply
          0
          • P Offline
            P Offline
            punter9
            wrote on last edited by punter9
            #5

            I have a 9v power supply with a + and - wire. I have wired the nano pin 30 and the relay vcc to the + wire of the power supply. Same goes with the negative, wiring the ground nearest to pin 30 on the nano to the - wire on the power supply and the gnd on the relay to the - wire on the power supply.

            the mysensors radio is on the 3.3v pin and ground on the board

            SparkmanS 1 Reply Last reply
            0
            • P punter9

              I have a 9v power supply with a + and - wire. I have wired the nano pin 30 and the relay vcc to the + wire of the power supply. Same goes with the negative, wiring the ground nearest to pin 30 on the nano to the - wire on the power supply and the gnd on the relay to the - wire on the power supply.

              the mysensors radio is on the 3.3v pin and ground on the board

              SparkmanS Offline
              SparkmanS Offline
              Sparkman
              Hero Member
              wrote on last edited by
              #6

              @punter9 Can you post a link to the relay module that you are using?

              Cheers
              Al

              1 Reply Last reply
              0
              • P Offline
                P Offline
                punter9
                wrote on last edited by
                #7

                link text

                I switched the relay power to come off the 5v pin on the board and replaced the nano board with another and it is working. The old one seems to have died.

                SparkmanS 1 Reply Last reply
                0
                • P punter9

                  link text

                  I switched the relay power to come off the 5v pin on the board and replaced the nano board with another and it is working. The old one seems to have died.

                  SparkmanS Offline
                  SparkmanS Offline
                  Sparkman
                  Hero Member
                  wrote on last edited by
                  #8

                  @punter9 Given it's a 5 volt module, powering it with 9V is not a good idea. The specs on the Songle relay indicate that it draws about 90mA. The official Nano has a 500mA 5V regulator so if you don't have too much else connected, that should be fine. If you are using a Nano clone, then take a look at the specs for the regulator it uses.

                  Cheers
                  Al

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  11

                  Online

                  11.7k

                  Users

                  11.2k

                  Topics

                  113.1k

                  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