Hi Everyone,
I am very new to Arduino and Linux.
I installed IDE,
I connected Arduino Uno to my laptop,
I launched IDE,
I opened Blinking sketched.
I tried to upload it to Arduino however I got Error Message:
Serial port not selected.
Board at null is not available
I know that the topic closed in 2021, however I still miss something.
Can anyone help me?
I followed this guide.
Hi @msiou. In order to gather more information that might help us to troubleshoot your problem, I'm going to ask you to run the lsusb command from the command line and share the output.
Click and drag the mouse to select all the output in the terminal window.
Press Ctrl+C.
This will copy the selected text to the clipboard.
Open a forum reply here by clicking the Reply button.
Click the </> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the output is correctly formatted.
Press Ctrl+V. This will paste the output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Click the Reply button to post the output.
Please let me know if you have any questions or problems while following those instructions.
Thank you so much for your detailed (step-by-step) response.
I connected the Arduino Uno
I provide you with the lsusb results:
siou@siou:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04f2:b5f7 Chicony Electronics Co., Ltd HD WebCam
Bus 001 Device 003: ID 04ca:3016 Lite-On Technology Corp.
Bus 001 Device 002: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Oops. I left that most important step out of my instructions! I'll make sure to remember it the next time.
OK, I don't see anything there that could be the Uno.
Make sure the USB cable is completely plugged into both the Arduino board and the PC.
If that doesn't help, you may have a damaged/defective or charge-only USB cable. Try a different cable.
Either of the above can result in the power connections being made (and thus LED lights on the board), but no data connections (and thus no port for the board).
The Arduino is powered Up normally.
Green LED - Steady ON
LED orange Light - Blinking ON/OFF once per second.
Port still grey out.
Not able to upload sketch.
Serial Monitor response:
Arduino: 1.8.9 (Linux), Board: "Arduino Uno"
Board at null is not available
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
One cable is used by a functional Microphone.
The other one by a functional Printer.
I know about that issue and I am highly alerted.
Maybe you are right.
I will try with a third one the sooner.
Disconnect then plug back your Arduino couple times. You can try different USB ports, just in case.
Then immediately use the dmesg command.
Copy the last few lines (or whole last page) and paste it here.
OK, so it is ATmega16u2, it normally runs a usb-serial firmware, but can be reprogrammed.
Here is a quick way to check if this chip is working and can connect to the PC:
Connect the Arduino.
Briefly short the RESET and GND pins marked with red in this picture
Check for activity with dmesg and/or lsusb.
If nothing gets detected, then you have a hardware issue. It may be the USB ports, cables, board traces, or the chip itself...