Arduino nano rf exit code 1

i can not connect my aduino nano rf to my pc it shaws no cam i checkt everything and it was still not working please help me

//  3 Channel Receiver | 3 Kanal Alıcı
//  PWM output on pins D3, D5, D6 (Çıkış pinleri)
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
#include <Servo.h>
int ch_width_1 = 0;
int ch_width_2 = 0;
int ch_width_3 = 0;
Servo ch1;
Servo ch2;
Servo ch3;
struct Signal {
byte throttle;      
byte steering;
byte aux1;
};
Signal data;
const uint64_t pipeIn = 0xE9E8F0F0E1LL;
RF24 radio(10, 9); 
void ResetData()
{
// Define the inicial value of each data input. | Veri girişlerinin başlangıç değerleri
// The middle position for Potenciometers | Potansiyometreler için orta konum
data.steering = 127;   // Center | Merkez
data.throttle = 127;   // Motor Stop | Motor Kapalı
data.aux1 = 0;         // Center | Merkez
}
void setup()
{
  //Set the pins for each PWM signal | Her bir PWM sinyal için pinler belirleniyor.
  ch1.attach(3);
  ch2.attach(5);
  ch3.attach(6);
  //Configure the NRF24 module
  ResetData();
  radio.begin();
  radio.openReadingPipe(1,pipeIn);
  radio.setAutoAck(false);
  radio.setDataRate(RF24_250KBPS);
  radio.setPALevel(RF24_PA_MAX);
  radio.startListening(); //start the radio comunication for receiver | Alıcı olarak sinyal iletişimi başlatılıyor
}
unsigned long lastRecvTime = 0;
void recvData()
{
while ( radio.available() ) {
radio.read(&data, sizeof(Signal));
lastRecvTime = millis();   // receive the data | data alınıyor
}
}
void loop()
{
recvData();
unsigned long now = millis();
if ( now - lastRecvTime > 1000 ) {
ResetData(); // Signal lost.. Reset data | Sinyal kayıpsa data resetleniyor
}
ch_width_1 = map(data.steering, 0, 255, 1000, 2000);     // pin D3 (PWM signal)
ch_width_2 = map(data.throttle, 0, 255, 800, 2200);     // pin D5 (PWM signal)
ch_width_3 = map(data.aux1, 0, 1, 1000, 2000);           // pin D6 (PWM signal)
   // Write the PWM signal | PWM sinyaller çıkışlara gönderiliyor
ch1.writeMicroseconds(ch_width_1);
ch2.writeMicroseconds(ch_width_2);
ch3.writeMicroseconds(ch_width_3);
}

Hi @nelirix. I'm not sure I understood correctly what you mean by "i can not connect my aduino nano rf to my pc it shaws no cam". Please provide a more detailed description of what you mean in a reply on this forum topic to help us to understand it.

Make sure to include:

  • What did you do?
  • What were the results you expected from doing that thing?
  • What were the results you observed that did not match your expectations?

Please also provide the full and exact text of any error or warning messages you might have encountered.

i connected it to the pc but in the com it did not found it

Is this the board you are using?:

yes it is

Please add a forum reply here to tell us which operating system you are using (e.g., "Windows")?

I ask for this information so that we can give you the appropriate instructions for your operating system.

i am using windows 11 pro

Please try this troubleshooting procedure and then report the results:


:red_exclamation_mark: This procedure is not intended to solve the problem. The purpose is to gather more information.


  1. Disconnect the USB cable of the Arduino board from your computer.
  2. Open the Windows Device Manager.
  3. Select View > Devices by type from the Device Manager menus.
  4. Open the "View" menu.
  5. If there is a to the left of the "Show hidden devices" menu item, click on "Show hidden devices" to disable it.
  6. Take note of the contents of the "Other devices" and "Ports (COM & LPT)" sections of the Device Manager tree.
  7. Connect the Arduino board to your computer with a USB cable.
  8. Select Action > Scan for hardware changes" from the Device Manager menus.

Now please reply here on this forum topic with the answers to the following questions:

  • Did you see any new device appear in the Device Manager tree after following those instructions?
  • If you did see a new device, where is it located in the tree, and what is it named?

You can repeat steps 5-8 multiple times if you are not sure.