Author Topic: Arduino Mini Pro & ESP8266 & NRF24L01 connection does not work  (Read 754 times)

0 Members and 1 Guest are viewing this topic.

Offline panossTopic starter

  • Frequent Contributor
  • **
  • Posts: 325
  • Country: gr
Arduino Mini Pro & ESP8266 & NRF24L01 connection does not work
« on: December 23, 2018, 11:22:07 am »
I want to make a RF connection using:
-transmitter: Arduino Mini Pro & NRF24L01
-receiver: ESP8266 & NRF24L01
With nRF24L01.h RF24.h libraries made by TMRh20

This is the transmitter 's code:
Code: [Select]

    /*
    * Arduino Wireless Communication Tutorial
    *     Example 1 - Transmitter Code
    *               
    * by Dejan Nedelkovski, [url=http://www.HowToMechatronics.com]www.HowToMechatronics.com[/url]
    *
    * Library: TMRh20/RF24, [url]https://github.com/tmrh20/RF24/[/url]
    */
    #include <SPI.h>
    #include <nRF24L01.h>
    #include <RF24.h>

    RF24 radio(9, 10); // CE, CSN
    const byte address[6] = "00001";
    void setup() {
      radio.begin();
      radio.openWritingPipe(address);
      radio.setPALevel(RF24_PA_MIN);
      radio.stopListening();
    }
    void loop() {
      const char text[] = "Hello";
      radio.write(&text, sizeof(text));
      delay(1000);
    }

And thisis how Arduino mini pro and NRF24L01 are connected:
NRF24L01   Arduino mini pro
VCC                VCC
GND               GND
CSN               10
CE                   9
SCK                 13
MOSI              11
MISO              12

NRF24L01 has a 47uF electrolytic capacitor between VCC & GND.
Have I done it ok on the transmitter side? (later on I 'll post the receiver 's details, after we clear out the transmitter is ok)
Any help is welcome.
« Last Edit: December 23, 2018, 11:24:04 am by panoss »
 

Offline hussamaldean

  • Supporter
  • ****
  • Posts: 266
  • Country: iq
 
The following users thanked this post: panoss


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf