Hi folks
So I bought this new Arduino Nano Every and started from one of the many tutorials. I hooked up the Arduino to my PC using the micro-USB cable and started coding. First, blinking the on-board LED, works. Then sending commands via USB serial (I use HTerm, Putty or the Serial Manager) to turn on/off the LED, works. Then I went on to receive data from Arduino... nope. I just can not receive anything from Arduino.
The following super simple sketch does not work, but just the communication Arduino->PC (USB Serial)
int serIn;
void setup() {
Serial.begin(9600);
while(!Serial){}
}
void loop() {
if(Serial.available()) {
Serial.print("Arduino heard you say: ");
//keep reading and printing from serial untill there are bytes in the serial buffer
while (Serial.available()>0){
serIn = Serial.read();
Serial.print(serIn);
}
Serial.println();
}
delay(1000);
}
What is wrong there?
I used both Arduino 2.0.0-rc3 and VisualStudio Code with Platformio. Nothing. I tried turning on/off CTS RTS (in Hterm thats easy). Nothing.
Everything else seems to work, is my board broken?
I had a similar problem with the RP2040 connect when I first tried to use it. It turned out I was using a faulty USB cable! So I'd maybe try replacing your cable
The other thing I would do is try a much simpler code first, maybe something like
It just means I tried sending data from Arduino to PC by Serial.write / Serial.print / Serial.println.
I have the impression everything seems to be working (I can at least toggle all pins and receive via Serial.read) except for the transmit path.
I now do this. No luck.
Thing is: the RX led is lighting up when I send data from the console to the Arduino. But the TX never lights up. This is a hint that the cable actually is not the problem but that the uC never actually sends something? (I replaced the cable in the meantime - with no luck)
OK. I got it. I had to get out my scope and found that the Q1 (Level translating FET) was not soldered well enough. Looks like cold solder joint - this must be a manufacturing problem. I'm up and communicating now. Thanks for your inputs.
Where did you purchase your Nano Every from? This is not the first time I see reports of poor manufacturing of Arduino boards, interested if there is a pattern