Welcome to the Arduino forums.
The people here want to help you but to do that we need certain bits of information. Without the correct information it is difficult or impossible to give you the help and advice you need. To help us to help you please read General guidance below and How to use this forum and provide the information asked for. .
Being new here you might think this is asking too much or having rules for the sake of rules, that is not the case. If you don’t follow the guidelines all that happens is there is a long exchange of message while we try to get you to tell us what we need in order to help you, this is frustrating for you and frustrating for us.
Common mistakes for people posting here the first time:
Not posting any code while expecting us to work out what is wrong with your code; we are not telepathic and can only find problems in code we can see.
Posting a snippet of code in the belief that the problem is in the code snippet. It is almost always the case that the problem is not where you think it is but elsewhere in the code, hence we need all the code.
Not correctly formatting code. Before posting code use Tools / auto format at the top of the IDE, or use control T. Once you’ve done that use edit / copy for forum.
Posting code without code tags (</>), these are explained in the instructions linked to above. Using code tags makes the code easier to read. Not using code tags means some of the code gets interpreted as HTML with the result that it is displayed with smiley faces and other stuff that should not be there.
Not being clear about what is expected from code or what happened instead. Code ALWAYS works, that is the nature of code. Whether it does what you expect is a different thing altogether. We need to know what you expected the code to do and what happened instead.
Asking for complete code; we are not here to write code for you, we are here to help you if you get stuck writing code yourself. If you really want someone to write code for you please click on ‘report to moderator’ and ask them to move this to ‘Gigs and Collaborations’ and indicate how much you are willing to pay.
The language of electronics is a schematic or circuit diagram. Long descriptions of what is connected to what are generally useless. A schematic is a drawing of what connects to what, please make one and photograph it. We don’t mind if it’s hand drawn, scruffy and does not use the correct symbols. We do mind if you don’t at least try to post a schematic. Most images will self-attach to the bottom of your post but if it doesn’t Please read How to post an image
Posting links to other sites where code or photos or schematics are hosted. Most of us will not follow such links, partly because of the risk that they hold malware or other unwanted content, partly to maintain everything on this site for the benefit of future users looking for an answer to a similar question and partly because we feel that if you want our help you should provide everything we need on this site not expect us to go hunting elsewhere for it. Exceptions are where you may be asked for a specific link such as a datasheet or product etc. However don’t post links to “similar” items only the ones you have there or want advice about.
Not being clear about what is being asked, for example not asking a question at all or asking a vague question like ‘please help’ or some such thing. The same if you don’t follow somebody’s answer. Ask them to explain a little more and be clear you did not quite understand the answer you were given.
Those of us answering questions have a wide variety of backgrounds and electronics knowledge, some though working in electronics, some through electronics as a hobby, some both. Most of us are not trained as teachers so probably miss the finer points of how to teach and explain things effectively. We are not, with the rare exception, employees or representatives of Arduino.
Please also remember we are volunteers doing this for free in our spare time and are more inclined to help people who make it easy for us to provide help by providing the information we ask for.
We only know about you what you tell us; we need to know your level of experience with electronics or microcontrollers, if we don’t know then we can’t tailor our answer to your level of knowledge. We also don’t know if you have problems with English or language or communications in general unless you tell us. We can be sympathetic about problems we know about, but if you don’t tell us we don’t know.
- Check you have a COMMON GROUND where required.
- Where possible use USB 2.0 ports or a USB 2.0 POWERED HUB to rule out USB 3.0 issues.
- Try other computers where possible.
- Try other USB leads where possible.
- You may not have the correct driver installed. CH340/341 or CP2102
- There may be a problem with the board check your wiring first.
- Remove any items connected to pins 0 and 1.
- close any other serial programs before opening the IDE.
- Ensure you turn off any additional security / antivirus just to test.
- There may be a problem with the PC try RESTARTING it.
- You may be selecting the wrong COM port.
- Avoid cloud/network based installations where possible OR ensure your Network/Cloud software is RUNNING.
- Clear your browsers CACHE.
- Close the IDE before using any other serial programs.
- Preferably install IDE's as ADMINISTRATOR or your OS equivalent
Arduino specific boards
- CH340/341 based clones do not report useful information to the "get board info" button.
- NANO (Old Types) some require you to use the OLD BOOTLOADER option.
- NANO (New Types) See the specific sections in the forum.
- NANO (New Types) Install your board CORE's.
- Unless using EXTERNAL PROGRAMMERS please leave the IDE selection at default "AVRISP mkII".
- Boards using a MICRO usb connector need a cable that is both DATA and CHARGE. Many are CHARGE ONLY.
CREATE editor install locations.
- On macOs ~/Applications/ArduinoCreateAgent-1.1/ArduinoCreateAgent.app/Contents/MacOS/config.ini
- On Linux ~/ArduinoCreateAgent-1.1/config.ini
- On Windows C:\Users[your user]\AppData\Roaming\ArduinoCreateAgent-1.1
Performing the above actions may help resolve your problem without further help.
Language problem ?
Try a language closer to your native language:
- 中文 (Chinese)
- Deutsch - German
- Español - Spanish
- Français - French
- অসমীয়া, বাংলা, बड़ो - India
- Italiano - Italian
- Nederlands - Dutch
- Portugues - Portuguese
- Россия - Russia
- Scandinavia Swedish, Suomi - Finnish, Norsk - Norwegian
Thanks to all those who helped and added to this list.