No connection between Ubuntu 18.04 and Arduino [duplicate]












1
















This question already has an answer here:




  • Uploading code to arduino gives me the error: “avrdude: ser_open(): can't open device ”/dev/ttyACM0“: Permission denied”

    1 answer



  • How to install latest Arduino IDE?

    1 answer




There's no connection between Arduino and my computer.
When I upload a program, I get the error message:



avrdude: ser_open(): can't open device "/dev/ttyS0": Permission denied
An error occurred while uploading the sketch


Anybody knows the problem and the solution?



Thanks.










share|improve this question









New contributor




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











marked as duplicate by Kulfy, N0rbert, karel, Eric Carvalho, Elder Geek 2 days ago


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.




















    1
















    This question already has an answer here:




    • Uploading code to arduino gives me the error: “avrdude: ser_open(): can't open device ”/dev/ttyACM0“: Permission denied”

      1 answer



    • How to install latest Arduino IDE?

      1 answer




    There's no connection between Arduino and my computer.
    When I upload a program, I get the error message:



    avrdude: ser_open(): can't open device "/dev/ttyS0": Permission denied
    An error occurred while uploading the sketch


    Anybody knows the problem and the solution?



    Thanks.










    share|improve this question









    New contributor




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











    marked as duplicate by Kulfy, N0rbert, karel, Eric Carvalho, Elder Geek 2 days ago


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















      1












      1








      1









      This question already has an answer here:




      • Uploading code to arduino gives me the error: “avrdude: ser_open(): can't open device ”/dev/ttyACM0“: Permission denied”

        1 answer



      • How to install latest Arduino IDE?

        1 answer




      There's no connection between Arduino and my computer.
      When I upload a program, I get the error message:



      avrdude: ser_open(): can't open device "/dev/ttyS0": Permission denied
      An error occurred while uploading the sketch


      Anybody knows the problem and the solution?



      Thanks.










      share|improve this question









      New contributor




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













      This question already has an answer here:




      • Uploading code to arduino gives me the error: “avrdude: ser_open(): can't open device ”/dev/ttyACM0“: Permission denied”

        1 answer



      • How to install latest Arduino IDE?

        1 answer




      There's no connection between Arduino and my computer.
      When I upload a program, I get the error message:



      avrdude: ser_open(): can't open device "/dev/ttyS0": Permission denied
      An error occurred while uploading the sketch


      Anybody knows the problem and the solution?



      Thanks.





      This question already has an answer here:




      • Uploading code to arduino gives me the error: “avrdude: ser_open(): can't open device ”/dev/ttyACM0“: Permission denied”

        1 answer



      • How to install latest Arduino IDE?

        1 answer








      arduino






      share|improve this question









      New contributor




      efl 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




      efl 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








      edited Jan 14 at 17:59









      wjandrea

      8,50742259




      8,50742259






      New contributor




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









      asked Jan 14 at 17:50









      eflefl

      61




      61




      New contributor




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





      New contributor





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






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




      marked as duplicate by Kulfy, N0rbert, karel, Eric Carvalho, Elder Geek 2 days ago


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






      marked as duplicate by Kulfy, N0rbert, karel, Eric Carvalho, Elder Geek 2 days ago


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
























          1 Answer
          1






          active

          oldest

          votes


















          1














          Your user currently doesn't have permissions to access the device. To gain those permissions, simply add your user to the dialout group (replace userName with your user name):



          sudo usermod -a -G dialout userName


          You need to log out and back in for the changes to take effect.






          share|improve this answer






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Your user currently doesn't have permissions to access the device. To gain those permissions, simply add your user to the dialout group (replace userName with your user name):



            sudo usermod -a -G dialout userName


            You need to log out and back in for the changes to take effect.






            share|improve this answer




























              1














              Your user currently doesn't have permissions to access the device. To gain those permissions, simply add your user to the dialout group (replace userName with your user name):



              sudo usermod -a -G dialout userName


              You need to log out and back in for the changes to take effect.






              share|improve this answer


























                1












                1








                1







                Your user currently doesn't have permissions to access the device. To gain those permissions, simply add your user to the dialout group (replace userName with your user name):



                sudo usermod -a -G dialout userName


                You need to log out and back in for the changes to take effect.






                share|improve this answer













                Your user currently doesn't have permissions to access the device. To gain those permissions, simply add your user to the dialout group (replace userName with your user name):



                sudo usermod -a -G dialout userName


                You need to log out and back in for the changes to take effect.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 14 at 18:30









                danzeldanzel

                1,849713




                1,849713















                    Popular posts from this blog

                    數位音樂下載

                    When can things happen in Etherscan, such as the picture below?

                    格利澤436b