Arduino r4 not working

Arduino r4 error when compiling (exit status 1) and also shows up on device manager as
"Intel_Sensor"

Welcome to the forum

More details required

Please post your full sketch and the full error message, using code tags for both

void setup() {

// put your setup code here, to run once:

pinMode(2, INPUT);

Serial.begin(9600);

}

void loop() {

// put your main code here, to run repeatedly:

if(digitalRead(2)== HIGH)

{

Serial.println("On");

}

else

{

Serial.println("Off");

}

}

Trying to understand how a compiler error relates to device manager?

no it shows up as Intel_Sensor with ? sign and shows driver not found on device manager

but it verifies just fine in ide

So, do you get an error when compiling or an error when uploading ?

Which COM port did you select in the IDE if one was not created when you plugged in the board ?

only when uploading , one was created when the board was plugged in(com 3)
also shows up in device manager as USB serial device (com3)

To be clear, when you plug in the board COM3 is created and you have that selected in the IDE and you have also selected Arduino R4 WiFi as the board

Please turn on verbose reporting for uploads in IDE Preferences, try uploading again, copy the full error from the IDE and post it in a new reply, using code tags when you do

but when i click update drivers in Intel_Sensor it shows up as could not find drivers both for arduino ftdi usb drivers and wch drivers

Does the "Intel_Sensor" device only show up when you plug in the board ?

no it stays after i remove the cable but its the only device in other devices

FQBN: arduino:renesas_uno:unor4wifi
Using board 'unor4wifi' from platform in folder: C:\Users\DELL\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0
Using core 'arduino' from platform in folder: C:\Users\DELL\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0

Detecting libraries used...
Using cached library dependencies for file: C:\Users\DELL\AppData\Local\arduino\sketches\C460481CCA58C2347CFDD4C6A071C9FF\sketch\sketch_aug24a.ino.cpp.merged
Generating function prototypes...
Using cached sketch with function prototypes.
Compiling sketch...
Using previously compiled file: C:\Users\DELL\AppData\Local\arduino\sketches\C460481CCA58C2347CFDD4C6A071C9FF\sketch\sketch_aug24a.ino.cpp.o
Compiling libraries...
Compiling core...
Using previously compiled file: C:\Users\DELL\AppData\Local\arduino\sketches\C460481CCA58C2347CFDD4C6A071C9FF\core\tmp_gen_c_files\pin_data.c.o
Using previously compiled file: C:\Users\DELL\AppData\Local\arduino\sketches\C460481CCA58C2347CFDD4C6A071C9FF\core\tmp_gen_c_files\common_data.c.o
Using previously compiled file: C:\Users\DELL\AppData\Local\arduino\sketches\C460481CCA58C2347CFDD4C6A071C9FF\core\tmp_gen_c_files\main.c.o
Using previously compiled file: C:\Users\DELL\AppData\Local\arduino\sketches\C460481CCA58C2347CFDD4C6A071C9FF\core\variant.cpp.o
Using precompiled core: C:\Users\DELL\AppData\Local\arduino\cores\arduino_renesas_uno_unor4wifi_2b70f870144f6baa8493fea3cecd01cd\core.a
Linking everything together...
"C:\\Users\\DELL\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -Wl,--gc-sections --specs=nosys.specs -w -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o "C:\\Users\\DELL\\AppData\\Local\\arduino\\sketches\\C460481CCA58C2347CFDD4C6A071C9FF/sketch_aug24a.ino.elf" "-LC:\\Users\\DELL\\AppData\\Local\\arduino\\sketches\\C460481CCA58C2347CFDD4C6A071C9FF" "-LC:\\Users\\DELL\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.6.0\\variants\\UNOWIFIR4" "-TC:\\Users\\DELL\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.6.0\\variants\\UNOWIFIR4/fsp.ld" "C:\\Users\\DELL\\AppData\\Local\\arduino\\sketches\\C460481CCA58C2347CFDD4C6A071C9FF\\sketch\\sketch_aug24a.ino.cpp.o" "C:\\Users\\DELL\\AppData\\Local\\arduino\\sketches\\C460481CCA58C2347CFDD4C6A071C9FF\\core\\tmp_gen_c_files\\common_data.c.o" "C:\\Users\\DELL\\AppData\\Local\\arduino\\sketches\\C460481CCA58C2347CFDD4C6A071C9FF\\core\\tmp_gen_c_files\\main.c.o" "C:\\Users\\DELL\\AppData\\Local\\arduino\\sketches\\C460481CCA58C2347CFDD4C6A071C9FF\\core\\tmp_gen_c_files\\pin_data.c.o" "C:\\Users\\DELL\\AppData\\Local\\arduino\\sketches\\C460481CCA58C2347CFDD4C6A071C9FF\\core\\variant.cpp.o" -Wl,--whole-archive -Wl,--start-group "C:\\Users\\DELL\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.6.0\\variants\\UNOWIFIR4/libs/libfsp.a" "C:\\Users\\DELL\\AppData\\Local\\arduino\\sketches\\C460481CCA58C2347CFDD4C6A071C9FF/..\\..\\cores\\arduino_renesas_uno_unor4wifi_2b70f870144f6baa8493fea3cecd01cd\\core.a" -Wl,--no-whole-archive --specs=nano.specs -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group "-Wl,-Map,C:\\Users\\DELL\\AppData\\Local\\arduino\\sketches\\C460481CCA58C2347CFDD4C6A071C9FF/sketch_aug24a.ino.map"
"C:\\Users\\DELL\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-objcopy" -O binary -j .text -j .data "C:\\Users\\DELL\\AppData\\Local\\arduino\\sketches\\C460481CCA58C2347CFDD4C6A071C9FF/sketch_aug24a.ino.elf" "C:\\Users\\DELL\\AppData\\Local\\arduino\\sketches\\C460481CCA58C2347CFDD4C6A071C9FF/sketch_aug24a.ino.bin"
"C:\\Users\\DELL\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-objcopy" -O ihex -j .text -j .data "C:\\Users\\DELL\\AppData\\Local\\arduino\\sketches\\C460481CCA58C2347CFDD4C6A071C9FF/sketch_aug24a.ino.elf" "C:\\Users\\DELL\\AppData\\Local\\arduino\\sketches\\C460481CCA58C2347CFDD4C6A071C9FF/sketch_aug24a.ino.hex"
"C:\\Users\\DELL\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-size" -A "C:\\Users\\DELL\\AppData\\Local\\arduino\\sketches\\C460481CCA58C2347CFDD4C6A071C9FF/sketch_aug24a.ino.elf"
Sketch uses 52000 bytes (19%) of program storage space. Maximum is 262144 bytes.
Global variables use 6740 bytes (20%) of dynamic memory, leaving 26028 bytes for local variables. Maximum is 32768 bytes.
Performing 1200-bps touch reset on serial port COM3
"C:\Users\DELL\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.9.1-arduino5/bossac" -d --port=COM3 -U -e -w "C:\Users\DELL\AppData\Local\arduino\sketches\C460481CCA58C2347CFDD4C6A071C9FF/sketch_aug24a.ino.bin" -R
Set binary mode
Send auto-baud
Set binary mode
No device found on COM3
Failed uploading: uploading error: exit status 1

I suspect that the "Intel_Sensor" has nothing to do with your problem

Are you using the IDE menu to set the port and board or the drop-down that shows a list of ports and boards ?

i have selected com 3 in both of them and uno r4 wifi

Try this

  • double click the reset button on the board
  • the onboard LED should start to fade up and down in brightness
  • if so, try the upload again

i just tried it but nothing happens

At which point does nothing happen ?
button double click or upload ?

Please confirm that the board you have is a genuine Arduino R4 WiFi.

when i click the button none of the lights blink or toggle but the on light is always on also how can i find out if it its genuine

Did you click the button or double click the button ?

You can upload a 'photo of the top of the board as a start.

Where did you buy it from ? Can you please post a link ?