Robin 2 rf24 tutorial not working

I tried Robin 2's simple RF24 tutorial with a nRF24L01+PA+LN to get them to communicate because I've tried many codes and none of them seem to work.

I've tried everything. I have downgraded my library version. I have put a 3.3v reducer. And have put capacitors and nothing seems to work.

When I tried Robin 2's tutorial the receiver keeps on repeating data received very quickly.

I ran Robin 2's test to test the hard ware and have added what I got. The one with only 0x00 (it wouldn’t let me tag the image but the code to test the connection between the rf module and the arduino only said 0x00) is the transmitter and the other one is the receiver. I genuinely don't know what the problem could be and any help at all is appreciated.

I am doing this for a school project to make a plane and if I don't get the transceivers to communicate soon I won't have any time to actually build the plane.

I've also added pictures of my circuits. The first one is the receiver and the second is the transmitter. Any help is appreciated. I've also tried switching the 2 modules and that didn't change anything. I suspect it is some hardware issue.

I'll be replying to messages so if you have an idea just pitch it because I'm getting kinda desperate.



Your photos do not show any connections as such....cannot see what pin numbers on the Arduino or where they connect on the NRF devices.

A schematic would be best (no fritzing)

You will need to include the code you wrote (in code brackets) for both Tx and Rx.

1 Like

Have you put some distance between the two parts meant to communicate with each other?

And… after having tried "everything", is your confidence high that none of your tests destroyed either module?

The last possibility is that one or both was non-functional when placed in your hands.

Getting to "hello world!" with this kind of thing can be frustrating, it is good that you are using software you didn't write or mess with as a first step.

You may want to go beyond Robin2 and find similar tutorials, all of which may indeed make only the same points, but perhaps enough differently so you will see a mistake you are overlooking yet.

Good luck!

a7

From experience, when users have problems with these modules it almost always comes down to a power supply problem.

I note that you are using the high power versions of the RF modules which will exacerbate the problem. They can also problems when the Tx and Rx modules are close together

The best solution to powering the modules is boards like this

The 3.3V converter and associated components are built in

I have tried other tutorials as well. I was thinking that the modules I received might have been burnt out when I got them. I will order some new modules online and see if that fixes anything.

Okay thank you I will try using those. The school has one but it was determined that it was burnt out but I could try getting some online.

Im sorry this is my first post I will do that next time

Do not use the Arduino to power those modules, the results expected are just about what you are experiencing. Get an external power supply. The 9Vpp battery is not really useful in a project like this. A few things to keep in mind.Gil's Crispy Critter Rules, they also apply to Raspberry Pie hardware:
Rule #1. A Power Supply the Arduino is NOT!
Rule #2. Never Connect Anything Inductive to an Arduino!
Rule #3 when first starting out, add a 220R resistor in series with both Input and Output pins. (LarryD)
Rule #4 buy a DMM to measure voltages, currents and resistance. (LarryD)
Violating these rules tends to make crispy critters out of Arduinos.

Photo shows both NRF units powered from external LiPo's and converters.

  • Please confirm wires going to the buck converter are soldered.

  • Please confirm there is a common GND between the Arduino and the module.

  • Confirm the converter is set to 3V3 ?

  • During the confusion in trying to get this to work, you may have damaged the modules.

I have ordered new modules to make sure that’s not the issue, so I will test that soon. I have triple checked everything so that is most likely the issue.

Make sure the voltage going to the modules is only 3V3.

Appears not...I count just 5 cables between Arduino and the NRF in photo #12

There is a common ground on the bread board

Where, the Arduino needs its GND to be connected too ?

  • Your images need to show us all the connections so we can help you.

:thinking:

Haha, I was looking at the green wire thinking it should be black when it dawned on me it isn't a wire at all.

a7

1 Like

I went back and changed it thank you

You went "back" to where?

You changed exactly what "it" ?

"it" is a very unspecific term

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.