Hi,
I was wondering if this is the right connection diagram for using nRF2401
sensor.
Thanks for your inputs.
Hi,
I was wondering if this is the right connection diagram for using nRF2401
sensor.
Thanks for your inputs.
It’s completely wrong. Look at the SFE code samples.
Leon
No. I connected as the sample code has shown.
They are RF transceivers. So I connected like this.
On sample code, it defines as
#define TX_CE PORTBbits.RB0
#define TX_CS PORTBbits.RB1
#define TX_CLK PORTBbits.RB3
#define TX_DATA PORTBbits.RB4
#define RX_CE PORTAbits.RA2
#define RX_CS PORTAbits.RA3
#define RX_CLK PORTAbits.RA4
#define RX_DATA PORTAbits.RA1
#define RX_DR PORTAbits RA0
Here are the connections I use:
;CE - RA6 output
;CS - RA0 output
;DR1 - RA3 output
;CLK1 - RA1 output
;DATA - RA2 input/output
You only need one set of I/Os. The example has two nRF2401s connected to the same PIC.
Leon
Ah… maybe it’s a different sample code.
So I have my RF pins in correct position, right?
Thanks leon.