Good morning you all. I have just recently joined this site, after having problems on the Arduino Forum, with logging in. I'm doing a project with an rc car with Arduino Nano, and the NRF24L01 modules. I was up late last night shortening my wires by crimping and cutting them, to fit onto the NRF24L01. Last week, I also soldered a capacitor to lessen the noise, as a continuation of the former method mentioned. I've used the following codes for the transmitter, and the receiver. The receiver is giving me this error message, "void value not ignored as it ought to be." I'm no expert in coding, although I have taken two classes for it. Please help me fix these codes. Here are the codes:

Transmitter '''//Transmitter coding for the nrf24L01 radio transceiver. //Hello World Example // https://www.electroniclinic.com/

/* pins connections

  • vcc 3.3
  • gnd gnd
  • ce pin9
  • csn pin8
  • sck pin13
  • mosi pin11
  • miso pin12


#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
#define CE_PIN 9
#define CSN_PIN 8

const uint64_t pipe = 0xE8E8F0F0E1LL;

RF24 radio(CE_PIN, CSN_PIN);

char data[] = "Hello World, Electronic Clinic"; 

void setup()

void loop()

 radio.write( data, sizeof(data) );


#include <SPI.h>

#include <nRF24L01.h>

#include <RF24.h>

RF24 radio(9, 8); // CE, CSN

const byte address[6] = "00001";

void setup() {
radio.openReadingPipe(0, address);

void loop() {
if (radio.available()) {
    char text[32] = "";
radio.read(&text, sizeof(text));
  • this is a question and answer site ... it is not a chat forum ... please refrain from including irrelevant information in your post ... problems with arduino forum, length of time crimping wires and when you soldered capacitors have no bearing on the issue ... please ask a specific question, along with relevant information, such as where the capacitor is soldered
    – jsotola
    Aug 26 at 21:37
  • Okay, sorry about that. What should I do to get my code working? I included the error code, so I thought it was clear I need help with the code.
    – Gizmo8
    Aug 27 at 4:58
  • Okay, sorry about that guys, I had the ports mixed up. Ironically I was just studying the radio parts of the code, and someone just mentioned the pipes. The code uploaded, but I can't see the text.
    – Gizmo8
    Aug 27 at 19:44

1 Answer 1


This might be helpful.


I think you need to use the same pipe address for the read/write modules. In your example you are writing to one pipe address (0xE8E8F0F0E1LL;), but then receiving on another address ("00001").

I would suggest you use one of the Arduino sketch examples first, and get the basics working. This will help verify your wiring and configuration. Once that's done, then work on customizing the software for your needs.

I often find that using a "trusted" example application first, I help to remove the uncertainly of the software which helps me resolve wiring and power issues.

I hope this helps yuou

  • Okay, sorry about that, I had the ports mixed up. Ironically I was just studying the radio parts of the code, and you just mentioned the pipes. I was just looking at this. The code uploaded, but I can't see the text. I will try these basic sketches again. I think they didn't work before because of a hardware problem. Thanks.
    – Gizmo8
    Aug 27 at 19:47
  • 1
    Okay, so how do I know which address to use? Sorry, I'm new to radio transceivers and receivers. Does it have something to do with the hexadecimal conversion? It converts to 1000340517089. Does this mean something for the const byte address?
    – Gizmo8
    Aug 27 at 23:06
  • So do the first 5 bits on the converted hexadecimal need to be in the const bit address for the receiver? I'm trying to figure out the lingo now in the tutorial you provided. I'll keep reading it.
    – Gizmo8
    Aug 28 at 2:24
  • I'm just kind of confused on the const byte address [6], in correspondence to the uint64_t, on the receiver. I was reading an article on using the two least significant bits, from the hexadecimal. In that case, should the const byte address [6] = 00001, say const byte address [6] = E1/000E1, or 0x000E1?
    – Gizmo8
    Aug 28 at 10:24
  • Okay, so the Getting Started sketch worked. The problem was I couldn't read anything because of the baud rate. I've noticed my baud rate always has to override 115200. So I change the baud rate to that in the serial monitor. It took a little time to show all of the letters for the transmission though. However, I kept getting "Transmission failed or timed out" on the transmitter end. Then on the receiver end, I kept getting "Radio hardware is not responding". I'm thinking it's because my wires aren't crimped tight enough on the female connector end. It transmits after I wiggle the wire.
    – Gizmo8
    Sep 1 at 8:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.