How to Write Basic Library for NRF24L01 PART 3 || Receive DATA || SPI STM32

  Рет қаралды 17,519

ControllersTech

ControllersTech

Күн бұрын

Пікірлер: 36
@vishnusankarankutty7077
@vishnusankarankutty7077 3 жыл бұрын
Thank you so much sir , this was really helpful . Like NRF , most of us are facing difficulty in understanding LoRa modules and their libraries. So it will be really helpful if you could post a similar dedicated series for LoRa.
@edvinass3804
@edvinass3804 Жыл бұрын
Hey guys, if its not working for you, you can try to check the spi settings, the boud rate must be the same for Rx and Tx and check the data size, make it the same for both TX and RX equal to 8 bits. It worked for me, a noob mistake, but im happy it works now, good luck!
@nguyen-vt8zy
@nguyen-vt8zy 5 ай бұрын
How did you fix the error?
@manoftheday1
@manoftheday1 3 жыл бұрын
Thank you so much sir, please get more modules sir for you to be able to complete the other functions of the module, God will provide for you thanks.
@ashas2090
@ashas2090 Жыл бұрын
It was a helpful set of sessions. Can you please explain how to handle Interrupts as well.?
@willson8246
@willson8246 3 жыл бұрын
Reall good videos for all 3 parts.
@Zelan666
@Zelan666 3 жыл бұрын
Thank you for your videos! I have setted up the transmitter part of the project (data is sended, led is blinking 1 hz), but i cant receive any data on the receiver side. The ststus register is allways 0xE - all pipes are empty. What can be the problem?
@Zelan666
@Zelan666 3 жыл бұрын
I have solved my problem. In NRF24_RxMode i configured pipe 0 (instead of pipe 1) and then made changes in function uint8_t isDataAvailable (int pipenum) - if ((status&(1
@WBrianez90
@WBrianez90 3 жыл бұрын
@@Zelan666 i have this issue but changing pipe nums still the same "0x0e error"... so i have the TX sending messages OK but the RX does not receive yet (i already test my both modules as TX and both works)
@narasimmanm1500
@narasimmanm1500 Жыл бұрын
Awsome Explanation...Thank you so much sir, this was very useful. this same NRF Module(in build antenna) with obstacle and without obstacle how much range it will cover.
@marcinn3668
@marcinn3668 Жыл бұрын
I can't grasp the bit at @5.50. The code checks if status&(pipeline
@ControllersTech
@ControllersTech Жыл бұрын
You have to individually read it. Let's say you have received data in P1, P3 and P5. You have to first check the status with P1, then write 1 in the RX_DR to clear it. Since the data is available in 2 more pipes, it will again set to 1. You repeat this process until all the reads are done. Check the last point ('c') on page 59 of the datasheet
@DucNguyen-rr2ug
@DucNguyen-rr2ug 9 ай бұрын
@@ControllersTech little bit late here, my question is what if the data occur on pipe 3, we still get 1 from the function isDataAvailable, isnt that a fault
@electrobrains
@electrobrains 2 жыл бұрын
can you make a video with nrf and multiple joystick control,please
@michaczajka3854
@michaczajka3854 Жыл бұрын
Yeah! Thats what im working on right now, some help would be cool.
@bandamsuryaprakash7782
@bandamsuryaprakash7782 Жыл бұрын
Thank you so much sir, this was very useful. Can you make a similar video for a mems sensor(gyroscope,accelerometer,magnetometer) in a similar manner.
@ControllersTech
@ControllersTech Жыл бұрын
There already are videos covering adxl345 and mpu6050
@urichaplin1424
@urichaplin1424 2 ай бұрын
I tried to use this code to transmit to USB-NRF24L01 module from AliExpress and it not work. Can you correct it for standard protocol ?
@nguyen-vt8zy
@nguyen-vt8zy 5 ай бұрын
​@ControllersTech I don't know why I don't satisfy the condition if( isDataAvailable(1) == 1) and the value STATUS register is 0
@miguelramirez-ie6ij
@miguelramirez-ie6ij Жыл бұрын
Hi @ControllersTech I'm facing a problem with the Receiver module , when I'm debug always run into the void error_handler (in the main.c) , I don't know why could you please help me with some Tip , Good vibes from Mexico!! PD: you are awesome bro , I recommend always all your videos in my university
@minhnhutnguyen1942
@minhnhutnguyen1942 2 жыл бұрын
Thank you so much . but i have a problem , how address esbtalish for pipe 2 and pipe 3 to receive data. in function RxMode
@binztran3249
@binztran3249 3 жыл бұрын
What is the current on your transmitter module? The current on my transmitter module is about 100uA, the receiver module is 15mA. Right or wrong? LED on my transmitter does not blink. Plz help
@VarunVh2014
@VarunVh2014 2 жыл бұрын
Check your nrf transmit function where config register is setup. Change " config=config&(0xF2) " . This will always make config=0x00 because intialy config is set to 0x00. And your transmitter will never work. Struggled a little to find this 🪲.
@nguyen-vt8zy
@nguyen-vt8zy 5 ай бұрын
@@VarunVh2014 My receiver don't active, please help me
@dhruvsharma6031
@dhruvsharma6031 3 жыл бұрын
sir why you did set channel no. 10 in rx mode Please reply
@ControllersTech
@ControllersTech 3 жыл бұрын
So that we can receive data, which the transmitter is sending on channel 10
@dhruvsharma6031
@dhruvsharma6031 3 жыл бұрын
@@ControllersTech can i use arduino as receiver and stm32 discovery as transmitter
@ControllersTech
@ControllersTech 3 жыл бұрын
How does that matter ? You are using NRF for communication. As long as the channel and baud rate are same, you can use whatever you want.
@dhruvsharma6031
@dhruvsharma6031 3 жыл бұрын
But sir arduino use char data type as receiving data type and we are using uint8_t data type as sending data type i think that's why arduino doesn't receive anything but garbage data.
@ControllersTech
@ControllersTech 3 жыл бұрын
1. I don't care about Arduino. You ask the person, whose library you are using. 2. Data is transmitted as ascii. So you should manage it accordingly. 3. Check tha baud rates and other setup, like acknowledgement and data length etc..
@nguyen-vt8zy
@nguyen-vt8zy 5 ай бұрын
receiver donnot active
@OnyekaChukwu-k4u
@OnyekaChukwu-k4u 11 ай бұрын
My RECEIVE isn't working, Any help???
@vocvachchannel5191
@vocvachchannel5191 4 ай бұрын
turn on config = config | (1
@faramirchevlonski6152
@faramirchevlonski6152 2 жыл бұрын
How can I do to fit this library in an Arduino Architecture?
@ControllersTech
@ControllersTech 2 жыл бұрын
The process remains same. You need to change how to read and write SPI bus using arduino.
NRF24 Frustration - Radio module doesn't work?
12:46
Electronoobs
Рет қаралды 99 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
WS2812 LED with STM32 || PWM using DMA
29:18
ControllersTech
Рет қаралды 54 М.
Extracting Firmware from Embedded Devices (SPI NOR Flash) ⚡
18:41
Flashback Team
Рет қаралды 601 М.
#8. SPI in STM32 using Registers  || Tx and Rx  || Full-duplex mode
32:19
Raspberry Pi Pico: nRF24L01 over SPI
19:05
Tinker Tech Trove
Рет қаралды 30 М.
NRF24L01 Tips and Tricks - Cheap and Easy Wirless
8:37
Robert Cowan
Рет қаралды 19 М.
Oscilloscopes, Logic Analyzers & More: Meet Red Pitaya
32:44
Electromaker
Рет қаралды 59 М.
Top 5 Beginner PCB Design Mistakes (and how to fix them)
12:52
Altium Academy
Рет қаралды 251 М.
Incremental Encoder and Servo Angle Control in STM32 || PWM
19:39
ControllersTech
Рет қаралды 21 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН