Very weird NRF24L01

Hi guys,
It's a long story but I'll try to make it short.
I have a project of making a boat to clean the surface of the sea, and I need to make a custom radio controller based on the NRF24l01. At first, when I tried with 2 Arduinos (Uno and Mega), I was able to transmit and receive a char variable. Then I tried to send a data package, but I didn't manage to. Then, I tried an ESP32 DevKit V1, and I didn't manage to send a char variable or a data package, but the Serial Monitor of the receiver (Mega2560) was going blank. Then I got an STM32F103C8T6, wich I soldered weirdly (each pin on it's own, but the soldering metal was randomly shaped when cold, and I'm pretty sure I overheated the board when soldering, but it was working properly), and the connection was unstable, It must send a char variable every second, but it was sending randomly, then I tried the NRF24l01 adapters, with a 10uF capacitor soldered to it, but still not working properly. Then, I tried the NRF24L01 back on the Arduinos, at first it worked, it sent a variable every second, but then it was going randomly like with the STM32, and finally it did not work. Yesterday, to check if I damaged the modules, I tried to make it a BLE module, and it worked, so the modules are not dead. Earlier today, I tried Robin2's tutorial for the NRF24L01, on the Arduino Uno (Transmitter)'s Serial Monitor, I got

Data Sent Message 0 Tx failed

all the time, and on the Mega (Receiver)'s Serial Monitor, I got

Data received

But It did not print the message received, sometimes it prints some random characters. So what can I do !?

A great place to investigate:
LowPowerLab | Low Power IoT Systems

For Arduino, I have found this link of value:
nrf24l01 | Search Results | LowPowerLab

Felix has a great solution by sending and receiving struct binary data.
ACK using send/receive Struct example (lowpowerlab.com)

If you want specific help here, you have to provide specific information.

Like what !?

You would know if you read the link I gave you. Haven't you been on the forum for a while?

I think I just provided the hardware that I have, for the code I just put a link to Robin2's tutorial, and for the schematics for the Arduino Uno and Mega, the SPI pins are known, and I connected the CE to pin 7 and CSN to pin 8 (wich I then put in the code before uploading

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