Arduino UNO LED half brightness when connected to digital GND but not analog

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I am using an Arduino UNO. When lighting an LED with the switch button on a joystick module, I have two situations:



  • If the LED's cathode is connected to GND on the digital pin side of the Uno, the LED only dimly lights up on button press.

  • If the LED's cathode is connected to GND on the analog pin side of the Uno, the LED fully lights up on button press.

The device is receiving power from my laptop, and I am writing a digital HIGH/LOW to the LED pin (on press/release).



Is this a fault in my board, or is there a (perhaps more enlightening) reason why this is happening?










share|improve this question







New contributor




Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    1
    down vote

    favorite












    I am using an Arduino UNO. When lighting an LED with the switch button on a joystick module, I have two situations:



    • If the LED's cathode is connected to GND on the digital pin side of the Uno, the LED only dimly lights up on button press.

    • If the LED's cathode is connected to GND on the analog pin side of the Uno, the LED fully lights up on button press.

    The device is receiving power from my laptop, and I am writing a digital HIGH/LOW to the LED pin (on press/release).



    Is this a fault in my board, or is there a (perhaps more enlightening) reason why this is happening?










    share|improve this question







    New contributor




    Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I am using an Arduino UNO. When lighting an LED with the switch button on a joystick module, I have two situations:



      • If the LED's cathode is connected to GND on the digital pin side of the Uno, the LED only dimly lights up on button press.

      • If the LED's cathode is connected to GND on the analog pin side of the Uno, the LED fully lights up on button press.

      The device is receiving power from my laptop, and I am writing a digital HIGH/LOW to the LED pin (on press/release).



      Is this a fault in my board, or is there a (perhaps more enlightening) reason why this is happening?










      share|improve this question







      New contributor




      Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I am using an Arduino UNO. When lighting an LED with the switch button on a joystick module, I have two situations:



      • If the LED's cathode is connected to GND on the digital pin side of the Uno, the LED only dimly lights up on button press.

      • If the LED's cathode is connected to GND on the analog pin side of the Uno, the LED fully lights up on button press.

      The device is receiving power from my laptop, and I am writing a digital HIGH/LOW to the LED pin (on press/release).



      Is this a fault in my board, or is there a (perhaps more enlightening) reason why this is happening?







      arduino-uno led digital






      share|improve this question







      New contributor




      Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 3 hours ago









      Wharf Rat

      263




      263




      New contributor




      Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote













          Despite double checking my cables before asking this question, it seems I had connected the LED's cathode to digital pin 13, and not GND. The issue is now resolved. Takeaway: Triple check your cables :)






          share|improve this answer








          New contributor




          Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.

















            Your Answer





            StackExchange.ifUsing("editor", function ()
            return StackExchange.using("schematics", function ()
            StackExchange.schematics.init();
            );
            , "cicuitlab");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "540"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );






            Wharf Rat is a new contributor. Be nice, and check out our Code of Conduct.









             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2farduino.stackexchange.com%2fquestions%2f56151%2farduino-uno-led-half-brightness-when-connected-to-digital-gnd-but-not-analog%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote













            Despite double checking my cables before asking this question, it seems I had connected the LED's cathode to digital pin 13, and not GND. The issue is now resolved. Takeaway: Triple check your cables :)






            share|improve this answer








            New contributor




            Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





















              up vote
              2
              down vote













              Despite double checking my cables before asking this question, it seems I had connected the LED's cathode to digital pin 13, and not GND. The issue is now resolved. Takeaway: Triple check your cables :)






              share|improve this answer








              New contributor




              Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.



















                up vote
                2
                down vote










                up vote
                2
                down vote









                Despite double checking my cables before asking this question, it seems I had connected the LED's cathode to digital pin 13, and not GND. The issue is now resolved. Takeaway: Triple check your cables :)






                share|improve this answer








                New contributor




                Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                Despite double checking my cables before asking this question, it seems I had connected the LED's cathode to digital pin 13, and not GND. The issue is now resolved. Takeaway: Triple check your cables :)







                share|improve this answer








                New contributor




                Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 3 hours ago









                Wharf Rat

                263




                263




                New contributor




                Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Wharf Rat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.




















                    Wharf Rat is a new contributor. Be nice, and check out our Code of Conduct.









                     

                    draft saved


                    draft discarded


















                    Wharf Rat is a new contributor. Be nice, and check out our Code of Conduct.












                    Wharf Rat is a new contributor. Be nice, and check out our Code of Conduct.











                    Wharf Rat is a new contributor. Be nice, and check out our Code of Conduct.













                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2farduino.stackexchange.com%2fquestions%2f56151%2farduino-uno-led-half-brightness-when-connected-to-digital-gnd-but-not-analog%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    Long meetings (6-7 hours a day): Being “babysat” by supervisor

                    Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

                    Confectionery