he guys i read this topic 100000times but still dont git it and i dont know what to do .. iam trying to make a gesture controlled robot using mpu and two nrf and arduino uno and nano i really cant do it i tried 10000 of ways to get it working also iam filling sad now and really angry ..so if any one can help i asked alot in every where but doesnt help ..my problem is that the two nrrf24 is not working and not communicating but the mpu is working because i tried it separtly and worked so the problem now is in the nrf i think the receiver is when as the tx led is working and it shows "none "or "0" so i think the problem is in the sender so is there any way to know which devise is the problem i tried all the tutorials
really guys iam now confused and disapointed
well how can I help tell you what your problem is, if you don't tell me exactly what your problem is?
haha just kidding...
Can you get the nrf to work at all? This tutorial above was the only thing I could get to communicate. There is a thing to test the nrf module, I think Robin2 made it but not sure I can't find the original link but here is my copy: Note you'll need to set your own CE and CSN pins. (that was something I had difficulty figuring out how to define since I couldn't use the "standard" pins most people used). This just makes sure your nrf is choochin and connected right.
far as I understand, if it's a bunch of zeros something hardware is wrong. If it's a bunch of hex numbers that don't seem to mean anything to you, hardware is fine.
Also, I had issues with the acknowledgment portion causing issues, never figured it out but once I removed the ack part everything worked as expected. I think in my case the Rx was not sending the ack signal properly, not really sure, but I'm controlling with realtime joysticks and I have a 500ms failsafe, so the Ack seemed to waste time for me anyway. Helps to have two serial monitors for that
// 18 Mar 2018 - simple program to verify connection between Arduino
// and nRF24L01+
// This program does NOT attempt any communication with another nRF24
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
#include <printf.h>
#define CE_PIN 49
#define CSN_PIN 53
const byte thisSlaveAddress[5] = {'R','x','A','A','A'};
RF24 radio(CE_PIN, CSN_PIN);
char dataReceived[10]; // this must match dataToSend in the TX
bool newData = false;
void setup() {
Serial.begin(9600);
printf_begin();
Serial.println("CheckConnection Starting");
Serial.println();
Serial.println("FIRST WITH THE DEFAULT ADDRESSES after power on");
Serial.println(" Note that RF24 does NOT reset when Arduino resets - only when power is removed");
Serial.println(" If the numbers are mostly 0x00 or 0xff it means that the Arduino is not");
Serial.println(" communicating with the nRF24");
Serial.println();
radio.begin();
radio.printDetails();
Serial.println();
Serial.println();
Serial.println("AND NOW WITH ADDRESS AAAxR 0x41 41 41 78 52 ON P1");
Serial.println(" and 250KBPS data rate");
Serial.println();
radio.openReadingPipe(1, thisSlaveAddress);
radio.setDataRate( RF24_250KBPS );
radio.printDetails();
Serial.println();
Serial.println();
}
void loop() {
}
then now i put this code in one only arduino and one nrf ...what is the circuit
and lokk at the seconf nb
ioam using uno so there is no pin 56
he guys i read the robin2 tutorial 100000times but still dont get it and i dont know what to do .. iam trying to make a gesture controlled robot using mpu and two nrf and arduino uno and nano i really cant do it i tried 10000 of ways to get it working also iam filling sad now and really angry ..so if any one can help i asked alot in every where but doesnt help ..my problem is that the two nrrf24 is not working and not communicating but the mpu is working because i tried it separtly and worked so the problem now is in the nrf i think the receiver is when as the tx led is working and it shows "none "or "0" so i think the problem is in the sender so is there any way to know which devise is the problem i tried all the tutorials.. iknow that i posted alot of tobics about it but its because i didnt find a way to fix the proplem so if any one can help plz because iam now confuse and really mad ...nb i bridged the diode in the arduino nano because it is dead but the arduino is not dead and iam not using external power suplly iam using only the usb
here is the thing iam trying to follow . plz take a look
another nb : i had to change the ce and csn pins in the code from (7.8) to (8.7)
but in the connection they are the same (7.8) because without changing them the serial monitor shows nothing not even 'none'
Other post/duplicate DELETED
Please do NOT cross post / duplicate as it wastes peoples time and efforts to have more than one post for a single topic.
Continued cross posting could result in a time out from the forum.
Could you also take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.
TOPIC SPLIT
PLEASE DO NOT HIJACK / NECRO POST !
Could you take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.
Please follow the forum rules, do not engage in threadnapping and do not post the same question multiple times.
Thank you.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.