Hot answers tagged

16 votes

CH340 Nano avrdude: stk500_getsync() not in sync resp=0xa4

Arduino has recently changed to using a different bootloader on their official Nano boards that communicates at 115200 baud rather than the previous 57600 baud. Support for these new boards was added ...
user avatar
  • 3,834
6 votes

Press the Windows key using "keyboard.press();"

They Keyboard.press() command accept modifiers per the documentation. You may need to do multiple press() commands before releasing. For example, if you want to launch File Explorer you could use: ...
user avatar
  • 161
4 votes

My Arduino isn't showing up on my computer. What should I do?

Linux Getting Arduino and Arduino-like boards working properly under Linux can be a troublesome task if you are not familiar with how Linux works. So I am going to introduce you to some of the basic ...
4 votes

Cannot upload sketch to Arduino Nano

When using a cheap knockoff Nano, it seems that in the newer versions of the Arduino IDE (at least in 1.8.8), you may need to select "ATmega328P (Old bootloader)" from the Processor options under the ...
user avatar
  • 274
3 votes

Unknown USB Device (Device Descriptor Request Failed) - Win 10

SMD soldering is not easy but here is the fix. Continuity achieved!
user avatar
  • 61
3 votes

Press the Windows key using "keyboard.press();"

Looking at the list of the HID keyboard codes (page 53), the keys you are looking for have a code of E3 (Keyboard Left GUI) or E7 (Keyboard Right GUI). Unluckily the Keyboard::press function (you can ...
user avatar
  • 2,658
3 votes
Accepted

Read the value of a register in arduino

To convert my comments to an answer: You can use the register names directly. They are defined in the boards/chips core. To read them, simply use the names in your calculations. Write to the ...
user avatar
  • 13.8k
3 votes

Seeing consistent serial data loss over USB, have ruled out hardware and rx/tx software. What's left?

The driver board for your "Lasersaur" appears to be based around the Adafruit Trinket Pro. That board, on Adafruit's website, is deprecated, with the following warning: Deprecation Warning: The ...
user avatar
  • 102k
2 votes

Arduino Nano - Unknown USB device

I found the issue! There is a bug in the Arduino hardware: https://ketturi.kapsi.fi/2014/04/how-to-fix-moody-arduino-nano/ You need to bridge pins 25 and 26 of the FTDI chip (located at the back of ...
user avatar
  • 341
2 votes
Accepted

How can I easily see which COM port is used by Arduino?

Start | Control Panel | System | Device Manager | Ports (COM & LTP). Watch the list change as you plug / unplug the Arduino. The new port is the Arduino.
user avatar
2 votes

Arduino Nano Update failure - avrdude: stk500_recv(): programmer is not responding

The Arduino.cc developers changed the bootloader on official Arduino Nanos to communicate at a different speed. Try setting Tools → Processor → ATmega328P (Old Bootloader)
user avatar
  • 231
2 votes

My Arduino isn't showing up on my computer. What should I do?

Windows Ok, the first thing you need to do is identify the kind of board you have. I don't mean is it an Uno, a Mega, or one of Intel's brief forays into the Arduino world - I mean what kind of USB ...
2 votes
Accepted

Project structure to build for PC and Arduino

I haven't done it yet, but you could do the following things to get a somewhat close approximation: Make three different projects, one for the PC (only), e.g. Visual Studio, and one for Arduino (with ...
user avatar
2 votes

After burning bootloader, Windows 10 doesn't recognize the USB device

You need a number of things to be true before the (new) bootloader will work: The hardware needs to be wired correctly You have used an appropriate crystal as the clock You have installed the correct ...
user avatar
  • 35.1k
2 votes

Run python in Windows OS installed in micro SD card which is read by Arduino microcontroller board

With some Arduino boards, yes. You want a board like the Yun (unfortunately retired now, but there are probably others similar) which has a MIPS SoC on it that runs Linux (specifically OpenWRT). The ...
user avatar
  • 102k
2 votes

Cannot upload sketch to Arduino Nano

I've seen this error a few times and renaming the serial port fixed the problem in my case. I documented the steps in detail in Tip #4 of this blog post: https://gyorgybalassy.wordpress.com/2020/10/16/...
user avatar
2 votes
Accepted

why of 2 identical micro-controllers, only one can connect to a given device?

Other than a software issue, there is no reason it shouldn't work. Only thing may be identical Bluetooth names or ids. Clear the device from windows and try again. I have some cheap Bluetooth obd 2 ...
user avatar
  • 420
2 votes

How compile an Arduino program for a desktop PC

If you want to run the Arduino sketch on your desktop, you just have to implement the Arduino core library for your PC. It may not be as bad as it sounds. If your program makes only minimal use of ...
user avatar
  • 36.2k
1 vote
Accepted

Cannot upload sketch to Arduino Nano

Firstly, you have a clone not a genuine Arduino Nano. They use a different USB chip and require different drivers. Install the CH340 drivers. Secondly your cable is bad. It sounds like one with no ...
user avatar
  • 102k
1 vote

Can I run arduino on Windows Embedded Compact 2013?

What OS is running on two different devices exchanging messages/signals, does not matter. What matters is the protocol. You can use a lot of different ones: Wireless: IR (infrared) RF (radio), ...
user avatar
1 vote

Accidentally plugged in Arduino Uno before installing software, now it's not recognized by Windows 10, only powered by usb port

You can always remove a unknown device in device manager (yellow exclamation point), reinstall the software, then plug the device in.
user avatar
1 vote

Accidentally plugged in Arduino Uno before installing software, now it's not recognized by Windows 10, only powered by usb port

You do not need to install drivers in Windows 10 (unless you have a CH340G based Chinese clone, in which case it wouldn't have detected before installing the drivers). Windows 10 has its own CDC/ACM ...
user avatar
  • 102k
1 vote
Accepted

Windows stops recognizing Arduinos

After a couple of hours I figured out what was happening so I will write all my analysis here for anyone having some of my problems. First, a list of my components: -USB TTL ship, used to upload ...
user avatar
1 vote
Accepted

Upload of sketch with avrdude stuck only outside of IDE

@per1234 was correct: Note that the auto-reset is initiated when the computer opens the serial port at 1200 baud and then closes it From Arduino.cc In practise, this means that avrdude first has ...
user avatar
1 vote

Communication between Raspberry PI (Windows IOT) and Arduino with ESP8266

Its possible to do something similar, but you could reduce the cost even more and drop the Arduinos if you can get FreeRTOS to work on ESP-8266. These links gives you a brief guide to using the ...
user avatar
  • 5,595
1 vote

Communication between Raspberry PI (Windows IOT) and Arduino with ESP8266

Is it possible to get the same kind of serial communication over WIFI? Not precisely, no - but TCP sockets are a similar concept. You would be best programming the ESP8266 directly to implement a ...
user avatar
  • 102k
1 vote

Identify connected PC per Arduino

No you cannot. Arduino communicates to pc via UART so there must be a host which can send or receive the data. You have to install software on the host computer which can send and receive data to the ...
user avatar
1 vote

Arduino Nano Update failure - avrdude: stk500_recv(): programmer is not responding

Sorry for posting this as an answer, I don't have enough rep to write comments yet. 1) Have you tried different USB cables? A dodgy USB cable could power the Nano just fine, giving the impression ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible