Arduino uno R4 wifi

Hello,

Brand new user, so i was trying to understand how to use my arduino for my class project, and after isntalling some libraries and saying yes to install to everything, my arudino gets recognized as an Lolin S3 and The RX light just keeps flashing and i am not able to upload anything to it.

Welcome to the forum

Which board have you got selected in the IDE ?

Arduino R4 WIFi

Then I don't understand what you mean by

Where are you seeing that ?

Please post the details, including the code you are trying to upload (using code tags), and the complete error messages. The built in Blink example is a good place to start.

See the "How to get the best out of this forum" post for instructions.

That problem just went away, but RX light still flashing

I am still not clear what the problem was

Try uploading the BareMinimum sketch. What happens ?

/*

  • EEPROM Clear
  • Sets all of the bytes of the EEPROM to 0.
  • Please see eeprom_iteration for a more in depth
  • look at how to traverse the EEPROM.
  • This example code is in the public domain.
    */

#include <EEPROM.h>

void setup() {
// initialize the LED pin as an output.
pinMode(13, OUTPUT);

/***
Iterate through each byte of the EEPROM storage.
Larger AVR processors have larger EEPROM sizes, E.g:
- Arduino Duemilanove: 512 B EEPROM storage.
- Arduino Uno: 1 kB EEPROM storage.
- Arduino Mega: 4 kB EEPROM storage.
Rather than hard-coding the length, you should use the pre-provided length function.
This will make your code portable to all AVR processors.
***/

for (int i = 0 ; i < EEPROM.length() ; i++) {
EEPROM.write(i, 0);
}

// turn the LED on when we're done
digitalWrite(13, HIGH);
}

void loop() {
/** Empty loop. **/
}

that sucessfully uploads but stays uploading for long times

Same this sample code stays uplaoding without finishing
#include "Arduino_LED_Matrix.h"

ArduinoLEDMatrix matrix;

void setup() {
Serial.begin(115200);
matrix.begin();
}

uint8_t frame[8][12] = {
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
};

void leftEye(){
//Left eye
frame[1][3] = 1;
frame[1][4] = 1;
frame[2][3] = 1;
frame[2][4] = 1;
}

void wink(){
//Wink with the left eye
frame[1][3] = 0;
frame[1][4] = 0;
frame[2][3] = 1;
frame[2][4] = 1;
}

void rightEye(){
//Right eye
frame[1][8] = 1;
frame[1][9] = 1;
frame[2][8] = 1;
frame[2][9] = 1;
}

void mouth(){
//Mouth
frame[5][3] = 1;
frame[5][9] = 1;
frame[6][3] = 1;
frame[6][4] = 1;
frame[6][5] = 1;
frame[6][6] = 1;
frame[6][7] = 1;
frame[6][8] = 1;
frame[6][9] = 1;
}

void loop(){
leftEye();
rightEye();
mouth();

matrix.renderBitmap(frame, 8, 12);

delay(1000);
wink();

matrix.renderBitmap(frame, 8, 12);
delay(1000);
}

Always use code tags when posting.

Please attempt to upload the Blink example and report back, using code tags to post complete error messages.

how do I do that?

For instructions, read the "How to get the best out of this forum" post, linked at the head of every forum category.

Ok, I am able to select The correct board but still board info Says BN: lolin S3
VID: 0x303A
PID: 0x1001
SN: (null)

Its not responding to anything my arduino uno r4, just has ON led and RX led flashing. The reset buttom doesnt work, plug in and out doesnt do any just keep flashing Rx led

Sorry, the tiny bits of information you have posted make no sense.

Did you download the board package for the Arduino Renesas UNO R4 boards? Its looks like you are seeing the ESP32 that is used as the USB to Serial bridge on the R4 board.

yes, did downloaded Renesas Uno R4, but I downloaded a library for wifi chip Avison_ESP8266 and Arduino uno wifi dev ed library. I dont what did but i think got firmwave for another board installed into it. And now it thinks is a lolin s3 and i cant even upload anything to it any more

Which board do you have selected in the Arduino IDE? It should be Arduino UNO R4 WiFi, regardless of what the port might be identifying it as.

Also, there are three similiar board names, Arduino UNO WiFi, Arduino UNO Wifi Rev2, and Arduino UNO R4 Wifi. Those boards are completely incompatible with each other as far as the WiFi section is concerned, so a sketch meant for one will generally not run on either of the others.

uno r4 wifi

What happens if you try to upload the example found at File > Examples > Examples for Arduino UNO R4 WiFi > LED_Matrix > MatrixIntro?

Sketch uses 51648 bytes (19%) of program storage space. Maximum is 262144 bytes.
Global variables use 6776 bytes (20%) of dynamic memory, leaving 25992 bytes for local variables. Maximum is 32768 bytes.

SAM-BA operation failed
Failed uploading: uploading error: exit status 1