Interfacing nRF24L01 with PIC16F886

mikroC, mikroBasic and mikroPascal PRO for Microchip’s 8-bit PIC MCUs.
Post Reply
Author
Message
RAY1
Posts: 3
Joined: 18 Jul 2020 16:14

Interfacing nRF24L01 with PIC16F886

#1 Post by RAY1 » 18 Jul 2020 16:19

Can any one help me with this I would like to know if anyone has done this before i want to use this in my home.

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: Interfacing nRF24L01 with PIC16F886

#2 Post by jovana.medakovic » 24 Jul 2020 14:08

Hi,

I suggest you look at our nRF C/T/S click boards and on our LibStock you can find examples:
https://libstock.mikroe.com/projects/vi ... ck-example
https://libstock.mikroe.com/projects/vi ... ck-example
https://libstock.mikroe.com/projects/vi ... ck-example

Also, I recommend you read the learning article about this wireless module:
https://www.mikroe.com/blog/unappreciat ... less-radio

Kind regards,
Jovana

RAY1
Posts: 3
Joined: 18 Jul 2020 16:14

Re: Interfacing nRF24L01 with PIC16F886

#3 Post by RAY1 » 03 Aug 2020 13:27

So thankful to you for your kind reply, but still I'm unable to receive data on the TX side can you tell me what possibly i could have done wrong. I literally did everything your reply stated but still no luck. I took these many days just analyzing these codes but couldn't. Plz your help is very much appreciated.

Thanks in advance Sir.

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: Interfacing nRF24L01 with PIC16F886

#4 Post by jovana.medakovic » 05 Aug 2020 13:08

Hello,

Could you provide me with more details?
Are you using some of our click boards, or you have only the module?
Which development system you are using? Send me a picture of your connections.
Did you try to use our examples from the LibStock?

Kind regards,
Jovana

RAY1
Posts: 3
Joined: 18 Jul 2020 16:14

Re: Interfacing nRF24L01 with PIC16F886

#5 Post by RAY1 » 05 Aug 2020 13:26

Sir,

I just have the nrf24l01 module with PIC16F886/887 I have tried with both of these micro-controllers But nothing happens , Yes i can provide you the connections pictures, I'm sure you wont be able to know to what pin I have made the connections thus for the clarity I'm also attaching the code
PIC16F887+&+nRF24L01.zip
Code
(5.94 KiB) Downloaded 84 times
for further clarification.

I have copied it from web only. So can you plz let me know what possibly i have done wrong.

On the receiver side I have connected a lcd 16x2.
Attachments
Conn
Conn
WhatsApp Image 2020-08-05 at 5.50.30 PM.jpeg (77.89 KiB) Viewed 1735 times
Conn
Conn
WhatsApp Image 2020-08-05 at 5.50.44 PM.jpeg (83.32 KiB) Viewed 1735 times

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: Interfacing nRF24L01 with PIC16F886

#6 Post by jovana.medakovic » 06 Aug 2020 11:13

Hi,

As I can see, you don't use our click board, you are using only the module, so in that case, I can only suggest you read the datasheet of this module and try to use our examples.
Regarding the connections, you can also see our schematic of these click boards which I sent you in the last post.

Also, I suggest you start from the basics -- run a simple LED blink project on your MCU to see if it's working and if you configured the clock correctly.

Kind regards,
Jovana

Post Reply

Return to “PIC PRO Compilers”