Тёмный

STM32F4 Discovery board - Keil 5 IDE with CubeMX: Tutorial 24 - NRF24L01 Radio Transceiver 

Mutex Embedded
Подписаться 22 тыс.
Просмотров 30 тыс.
50% 1

This video tutorial shows how to use the NRF24L01 radio transceiver, by sharing a library that I've written for the NRF24. Here is a link for the library files and source code:
github.com/MYaqoobEmbedded/ST...

Наука

Опубликовано:

 

13 ноя 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 175   
@waqarhussain2510
@waqarhussain2510 2 года назад
I struggled with these problems for a long time, and this video is my day. My research work was stuck at a dead end because of a lack of knowledge about STM and nRF24. Great work!!
@therewbb
@therewbb 5 лет назад
Keep up the good work. Hope your company will succeed!
@edimahler
@edimahler 4 года назад
Wonderful tutorial, also helped me, building a bidirectional RF transmission with the NRF24L01+. There's one thing which could be interesting for some of you here, where I was struggeling for a longer time: I tried to use the automatic acknowledge functionality and always after the first transmission it stopped working. Well, the reason was not too abvious for me in the beginning but does make sense now: In order to save battery, I'm always taking away the battery completely from the transmitter after sending my data. This again always resets the internal counter, which is managed by the NRF24L01+ chip internally. When sending a second time, means, by pressing my transmission button again, this counter was then on the same value as before - and the receiver thinks that this was just a repetition of the first signal, and ignors it. So in other words: If you plan to remove the power of the transmitting chip, then you should: a) Use the non-acknowledged single way transmission mode or b) Build your own acknowledge system in Software and use a counter to distinguish between a "retransmission" packet or a new packet. Hope this helps someone? ;-) Greetz and thanks again for the great and well explained tutorial!
@damianwawerek3602
@damianwawerek3602 4 года назад
Great video, well explained and good examples. Thank You.
@projects4996
@projects4996 5 лет назад
Amazing, just keep on Making tutorials on STM32. I am always wating for your video. Gr8 Job 👍.
@mutexembedded2206
@mutexembedded2206 5 лет назад
Thanks :)
@kakmal5
@kakmal5 5 лет назад
Peace be upon you brother, hope your company always a success.
@rishavbhattacharya7937
@rishavbhattacharya7937 4 года назад
Thanks for the library. Just read the previous comments and changed the "Micro Second" code and it worked. For stm32fo use internal timer to generate almost 1us delay. I've used timer3 void NRF24_DelayMicroSeconds(uint32_t uSec) { __HAL_TIM_SET_COUNTER(&htim3,0); __HAL_TIM_ENABLE(&htim3); while(__HAL_TIM_GET_COUNTER(&htim3)
@furkanklc5220
@furkanklc5220 4 года назад
Thank you so much!!! It works :)) Great tutorial:)
@MrNoName38925
@MrNoName38925 3 года назад
Works like a charm. Thank you very much!
@agacdograyan1
@agacdograyan1 5 лет назад
absolute great explanation. Everything worked without problems. Can now build a radio link for my project. Thank Mohamed
@mutexembedded2206
@mutexembedded2206 5 лет назад
Great!
@furkanklc5220
@furkanklc5220 4 года назад
Mustafa hangi stmi kullandın?
@alperengurhan2754
@alperengurhan2754 2 года назад
@@furkanklc5220 ben stm32f103 kullandım bazı hatalar aldım sen yapabildin mi
@devjeetmandal1472
@devjeetmandal1472 5 лет назад
At first i want to thank you for this great library you have provided, which actually does my job easily. But initially this library did not work on my STM32F446 and STM32F767 and i ended up learning about the NRF24 (which is good :) ). Last night i was trying to do some project and i needed a function for delay us. I remembered that you library consist of a delay us function and i tried to implement it and Boom!! I found that your delay us function don't work. And i implemented your libraries again with HAL_Delay(1) for everywhere you used delay us function and everything works just as expected. So if anyone is having problem with this library after all the circuitry part is OK then try to change the delay us function. Regards
@mutexembedded2206
@mutexembedded2206 5 лет назад
Nice spot! You are right, this part of MicroDelay might fail to work with other boards. Thank you, I will correct it.
@devjeetmandal1472
@devjeetmandal1472 5 лет назад
@@mutexembedded2206 you should make a tutorial on microdelay and why it is different for different boards and how things work inside the mcu... It will help many people... Including me. Regards
@MrGaizi
@MrGaizi 5 лет назад
Thank you so much for this comment ! I spent few hours checking every function, and everything that was written in every register just to realize everything was correct. I would have never found where the error came from if it wasn't for your comment. It seems kind of weird that I have this bug since I am using exactly the same board as the Transmitter one (STM32f401RE), but it still did not work because of the Delay. Thanks again ! Also, thank you Mohammed for your work and all your tutorials (even if on this one it did not work). I am learning a lot from all your videos.
@brane3698
@brane3698 4 года назад
Damn it, I put away my project for 2 months, not knowing this was the problem. Thanks for sharing the info!
@xpertvis
@xpertvis 4 года назад
Hi, could you please, or somebody else, share code ? I did try to replace every "delay us" function with HAL_Delay(1) , but no luck. I also properly implemented delay_us function, in which i used timer, but i still cant communicate with another board. I have no problem to read registers of NRF24, or write to them, so ISP configuration must be OK. When i use two arduinos (2x mini pro, one as Rx, one as Tx) they works fine. But when i try to replace one arduino with STM32F103, i am not able to receive or send data to arduino.
@dineshsundar1661
@dineshsundar1661 4 года назад
Thank you sooooooooooooo much dear MYaqoobEmbedded... its working proper for me on my stm32f103c8 board, there was a problem on receiver but with the help of @Devjeet Mandal comment about delay, i used HAL_Delay(1); at every where instead of uDelay its working well on my board, THANK YOU sooo much dear MYaqoobEmbedded bro, thanks lot. Thank you @Devjeet Mandal for your kind note, thank you
@mutexembedded2206
@mutexembedded2206 4 года назад
Yeah, good spot. I should have mentioned about the internal timer I was using, I could have done a better implementation to MicroDelay. Thanks
@davutmuharremklc6152
@davutmuharremklc6152 4 года назад
I am trying the same board ı hope ı can succes
@escott6509
@escott6509 4 года назад
GOD BLESS YOU BROTHER
@user-dh5fj9uy9x
@user-dh5fj9uy9x 5 лет назад
Thanks very much~!!
@davidrosario3642
@davidrosario3642 3 года назад
thank u a lot, muchas gracias bro.
@Bianchi77
@Bianchi77 3 года назад
thanks for the info :)
@paulopecegueiro1694
@paulopecegueiro1694 5 лет назад
Thanks man!
@emreiris114
@emreiris114 5 лет назад
thank you so much to start again :)
@mutexembedded2206
@mutexembedded2206 5 лет назад
Hi Emre, hope you're having a good time.
@emreiris114
@emreiris114 5 лет назад
@@mutexembedded2206 As always :) would it possible to make more RTOS videos? and CAN bus would be so cool
@mutexembedded2206
@mutexembedded2206 5 лет назад
Great. Yes definitely there are more RTOS videos to cover, CAN bus is coming on the list, I will try to make it sooner.
@anha1586
@anha1586 4 года назад
Thank you for the great tutorial. I have a question. Does this library also work for nRF24LE1?
@dineshsundarschannel5317
@dineshsundarschannel5317 5 лет назад
Thank you soo much
@AbuSous2000PR
@AbuSous2000PR 5 лет назад
I appreciate your work Mohammad As a hobbyist, I started exploring embedded systems on and off. Lately I have been very impressed with ChibiOS I wonder if you considered it? and if so what you think? It has a a solid RTOS and HAL layers, and nicely coupled with STM32 boards. Frankly I feel you need an RTOS layer, else the resources of the MCUs won't be taken advantage of Thx Again Salah
@MrZitrex
@MrZitrex 5 лет назад
I would love to see tutorial on more complicated RF chip - like SPIRIT1 from STM. Great tutorials. You have a gift for teaching
@muggimc
@muggimc 4 года назад
Thanks so much for your tutorials! Is this library able to handle multi RX and TX pipes?
@superdtp1630
@superdtp1630 5 лет назад
Thanks.
@laiphamvan9738
@laiphamvan9738 4 года назад
thanks so much
@aloks6827
@aloks6827 3 года назад
Thanks man..!!
4 года назад
Nice job! I have tried it on a Nucleo-L432KC and it works. Have you any tutorial about how to use the library with interruptions? Thanks
@kelseyfillo4370
@kelseyfillo4370 4 года назад
Nice tutorial. I also watched your tutorial on the Virtual Serial Port. Is there a way to use the nrf24_DebugUART_Init(huart2); function but send printRadioSettings(); data to the VSP instead of uart2?
@09876124
@09876124 5 лет назад
Thanks for the tutorial! Please tell how you set the colours on your IDE! Thanks!
@mutexembedded2206
@mutexembedded2206 5 лет назад
Sure, Will do very soon.
@MrPnew1
@MrPnew1 5 лет назад
I want to try this after I build another F405 board. Can someone give me a link for some NRF24L01 modules that will definitely work with this library please
@sigicnc
@sigicnc 4 года назад
Great tutorial! Only one problem: in function" NRF24_DelayMicroSeconds(uint32_t uSec)" I had to add volatile qualifier for uSecVar, otherwise timing was too short and functions using this timing didn't work. Compiler optimization issue in "while(uSecVar--);" loop. I'm on STM32cubeIDE. Thanks once again!
@mutexembedded2206
@mutexembedded2206 4 года назад
Good spot
@dc1049
@dc1049 4 года назад
My code wasn't working because of this... how in the world did you narrow it down to this? I am so confused how you figured this out
@sigicnc
@sigicnc 4 года назад
Probing CS and CSN lines with oscilloscope. Timing was way to short, after that it was easy find. Did that mistake in my code in the past many times.
@dgxnil22
@dgxnil22 4 года назад
thanks for the tutorial, where does the uart pins connect to ?
@mutexembedded2206
@mutexembedded2206 4 года назад
Hi, You choose that and tell the library which UART.
@prashantgandhi6266
@prashantgandhi6266 4 года назад
I am using NRF24L01+ module with STM32F446RE Nucleo board. I changed delay us functions to HAL_Delay(1). After that, I am able to transmit in TX mode, but I am not able to receive the data at the receiver side. I am following all steps showed in this video. Can anyone please help me?
@furkanklc5220
@furkanklc5220 4 года назад
I have one more question. I will apply to my system but I wanted to ask you that can I use NRF24 module as transmitter and receiver at the same time by using your codes?
@tomaserjavec6371
@tomaserjavec6371 4 года назад
Hello, do you have any video interfacing STM32 and the bluetooth module HC-05 /06?
@kiausiniukova2842
@kiausiniukova2842 2 года назад
hello, i have a question about sending data from multiple devices and receiving in only one (multiple Tx, one Rx). Should i use different channels on every Tx or should i use different pipe addresses? As I understood from datasheet, I can use different pipe addresses for every Tx and all of those addresses should be in Rx device, then just scan through them? Thank you for this very easy to use library.
@segovia172839
@segovia172839 3 года назад
thanks a lot that was very helpful
@ROFLTUBEzz
@ROFLTUBEzz 4 года назад
Hello! I am trying to find a library that works with a simple 433Mhz RF transmitter and this is the closest I can find. Do you think that the write function in this library works with a much simpler 433Mhz transmitter? If not, can you point me to where I can learn more about rf transmitters so I can make my own library? Thank you!
@sarathkumar-tf4lr
@sarathkumar-tf4lr 3 года назад
can I use this library as a receiver end can transmit data to the transmitter side as a receiver
@malehakim248
@malehakim248 3 года назад
Am not getting my receiver to reply to the transmitted message. I literally just copied the same project for transmitter and made sure that am loading the right elf file to the receiver. Still its NRF_available() always returns false. anyone that's experienced the same problem and how did they solve it?
@gamithaharischandra6707
@gamithaharischandra6707 5 лет назад
can you do tutorials for modbus rs485 rtu and modbus tcp with cubemx and stm32 ?
@michellechristian705
@michellechristian705 3 года назад
Can I use this code for STM32103CT86 blue pill board ?
@malikafaq217
@malikafaq217 Год назад
Can we use the following libraries if we are working with stm32f103c8t6?
@wndw4545
@wndw4545 Год назад
hi, i downloaded your library for stm32 cube ide. But I want to change the RF_PWR setting. I saw that it is possible to choose between 0 dB and 18 dB. How do I change main.c? Also, which dB setting should I choose for the maximum distance? Can you help me.
@mantasnacevicius4720
@mantasnacevicius4720 3 года назад
Hello, I have some issues with receiving message. I have a question, if it is possible to implement your library on stm32L053 microcontroler? If so, what would be the main changes for the library? Thanks :)
@ozan9785
@ozan9785 2 года назад
Hello ı want to transmit data which taken from ADC. But NRF24_write funcion is not allow int type data. How can ı transmit adc data.
@nabiljadi4879
@nabiljadi4879 5 лет назад
there is a video or library for esp8266 wifi module?.thanks
@jsonslim
@jsonslim 5 лет назад
nope, nrf24l01 is not a esp8266
@hrishikeshb
@hrishikeshb 5 лет назад
Hi! Great video and very useful library. I’m trying to develop a simple TX RX application between two STM32s. I see that the .c library file has a SPI typedef called nrf24_hspi. However CubeMx declares it as hspi1. The code compiles (I haven’t tested functionality) but I don’t see any linkage between hspi1 and nrf24_hspi. How are the two connected?
@mutexembedded2206
@mutexembedded2206 5 лет назад
Hi.. Linked at begin function 11:00
@hrishikeshb
@hrishikeshb 5 лет назад
@@mutexembedded2206 Thank you! I am following the video and I've entered the code for no ack transmit. However, it does not seem to be transmitting. Here is the UART data: pastebin.com/xbdXvhaZ. Here is the code so far: pastebin.com/9EWEpQbD. What am I missing?
@mutexembedded2206
@mutexembedded2206 5 лет назад
Hi, I don't have enough information, like what STM board you're using for instance and more about your hardware set up if any different.
@hrishikeshb
@hrishikeshb 5 лет назад
@@mutexembedded2206 Oh sorry! It's a STM32F103C8T6 Bluepill board running at 72MHz. Using SPI1 which is on APB2 which is also running at 72MHz. I set the SPI baud prescaler divider to 64 giving me a data rate of 1.125Mbps. I have changed the define in MY_NRF24.h to stm32f1xxx_hal.h. Using UART1. Using the TrueStudio IDE.
@mutexembedded2206
@mutexembedded2206 5 лет назад
Hi, I will try the library later today with the Bluepill. Will get back to you later.
@devjeetmandal1472
@devjeetmandal1472 5 лет назад
Hey Mohammad, can u please add and extension of the video where a single nrf24 changes btwn transmit and receive mode. I was trying this using ur library. But failed to do so. There are 2 nrf A-Nrf and B-Nrf. First A-Nrf is in transmit mode and B-Nrf is in receive mode. Now A-should tranamit something and change in receive mode... Simultaneously B receives the data and changes in transmit mode. I am doing this by using NRF24_stoplistning() and NRF24_startlistening() to switch btwn transmit and receive mode.. But after few transaction both the devices turns in transmit mode. Can you help pls?
@mutexembedded2206
@mutexembedded2206 5 лет назад
Hi, I don't use NRF much, made a quick educational library. I would recommend trying to read datasheet and modify to this basic library.
@HLLUQ
@HLLUQ 4 года назад
Hi ,my Realterm is nothing can you help me?
@yerihiturriago9271
@yerihiturriago9271 2 года назад
The function NRF24_write, has 2 arguments. The length argument, can be greater than 32 bytes?
@yerihiturriago9271
@yerihiturriago9271 2 года назад
I see now. The parameter Length is a byte variable. Only can have 256 values.
@yerihiturriago9271
@yerihiturriago9271 2 года назад
Hey! Do you have RF audio library? Can you teach that?
@birhanuabera5652
@birhanuabera5652 2 года назад
can you help me please i need nrf24l01 library for protues if you have please
@furkanklc5220
@furkanklc5220 4 года назад
May I use these codes with STM32F407 or STM32F103?
@mutexembedded2206
@mutexembedded2206 4 года назад
Yes should work
@aitelhajreda7867
@aitelhajreda7867 3 года назад
Thank you for your good work, that was very helpful especially i'm passing from Arduino to STM32 and i found it difficult. I tried to send struct data but the write function doesn't accept it as argument, how can I send more than one data? thank you in advance
@mutexembedded2206
@mutexembedded2206 3 года назад
Hi, you can send struct data as long as it does not exceed max bytes of 32 bytes. If I have: struct assetTracker_TAG{ uint8_t id; uint16_t addrs; uint32_t latitude; uint32_t longitude; bool status; }assetTracker_t; assetTracker_t myAssetDef; nrf_write(uint8_t *bytes, uint8_t size); nrf_write((uint8_t *) &myAssetDef, sizeof(myAssetDef));
@aitelhajreda7867
@aitelhajreda7867 3 года назад
@@mutexembedded2206 thank you very much for your help
@aitelhajreda7867
@aitelhajreda7867 3 года назад
I tried to use what you said, I guess this don't work assetTracker_t myAssetDef; we shoud declare the variable using assetTracker_TAG myAssetDef. still I have this error when i use nrf_write((uint8_t *) &myAssetDef,sizeof(myAssetDef)) that says "operand of type 'struct assetTracker_TAG' where arithmetic or pointer type is required" I used nrf_write(&myAssetDef,sizeof(myAssetDef)) which doesn't give error. In the end, I don't receive the data on the receiver. sorry to bother you.
@mutexembedded2206
@mutexembedded2206 3 года назад
@@aitelhajreda7867 Don't forget typedef typedef struct AssetTracker_TAG { ... }AssetTracker_t AssetTracker_t myAsset;
@ninhtu6341
@ninhtu6341 3 года назад
Wow, great video! Can you help me create a network from NRF24?
@zuhaibchoudhary4635
@zuhaibchoudhary4635 4 года назад
Hello sir, Do you have any video which explains what clock speed to use on different applications like you changes Spi prescalar and leave frq to 84 MhZ How to get that?
@mutexembedded2206
@mutexembedded2206 4 года назад
Hi, I use CubeMX clock tree most often.
@mutexembedded2206
@mutexembedded2206 4 года назад
For specific peripheral clock speed, you look into Clock Diagram for your specific MCU to find out which clock it's using. For instance ADC might be using APB1. Thus, you can look APB1 peripheral clock frequency in CubeMX clock tree and accordingly set your ADC prescalar.
@zuhaibchoudhary4635
@zuhaibchoudhary4635 4 года назад
No i wanted to learn more about clock settings what clock to set. Also I want to ask For using ESP8266 With STM 32 F4 do u have any source to refer?
@mutexembedded2206
@mutexembedded2206 4 года назад
@@zuhaibchoudhary4635 For Clock, it is recommended that you learn STM32 programming without CubeMX first. To get a better insight about what's going on. I am in fact preparing for a getting started series for fundamentals of STM32 programming, that's without CubeMX. That's in fact where most of us who do work with companies start with.
@zuhaibchoudhary4635
@zuhaibchoudhary4635 4 года назад
That will be great Sir Like We want to learn 1 . Without using HAL libraries. 2. how to make our own .c and .h file. 3. Writing from scratch and using our own libraries.
@xcava5976
@xcava5976 5 лет назад
First, thank you very much for your tutorials. During following your teaching, I can't see the "Hello world!" in serial terminal window. It seems communication works. Could you check my code (actually yours)?. I am using two Nucleo F446REs.
@mutexembedded2206
@mutexembedded2206 5 лет назад
Hi, I checked my code, nothing seems to be wrong
@xcava5976
@xcava5976 5 лет назад
It works after changing to SPI2. Thanks
@amitkumarsahoo1122
@amitkumarsahoo1122 3 года назад
HI MYaqoob, I am using your library "NRF24L01+, STM32-Tutorials\Tutorial 24 - NRF24L01 Radio Transceiver" I created an issue on the git hub page with above title , did you get chance to look at it?
@mutexembedded2206
@mutexembedded2206 3 года назад
Sure
@bykellesen9859
@bykellesen9859 4 года назад
stm and arduino can not communicate with the data rate synchronize. NRF24_setDataRate(RF24_1MBPS);
@karthikrajagopal6162
@karthikrajagopal6162 Год назад
Thank you for pointing this out. Finally got my code running.
@bestofbest8213
@bestofbest8213 3 года назад
welldone ... i hav e a question about this ce and csn pins ,, how i can change these pins and choose different ports for these pins .. i have ce on port B and csn is on port A
@mutexembedded2206
@mutexembedded2206 3 года назад
Easy, modify library GPIO part
@mutexembedded2206
@mutexembedded2206 3 года назад
@@bestofbest8213 i think so yes, you just need to overwrtie pin the port of CSE and CE in init() function. Try it, you will get there easy task
@bestofbest8213
@bestofbest8213 3 года назад
@@mutexembedded2206 will you please update your library for different ports and share the link with me.
@bestofbest8213
@bestofbest8213 3 года назад
@@mutexembedded2206 i forgot to mentioned i am using stm32L0 , i did overwrite pins but it didnot work and also i wrote separately void NRF24_begin( function for ce and csn pins but did not help . tx ds remains zero all the time.
@bestofbest8213
@bestofbest8213 3 года назад
@@mutexembedded2206 NO LUCK . WILL YOU PLEASE UPDATE YOUR LIBARAY ,, IA WAITING for your response....
@embeddeddevzone5605
@embeddeddevzone5605 4 года назад
My STM32F103 is not working with this libary. Can you tell me why ?? Thanks you !
@furkankus9392
@furkankus9392 3 года назад
I have a same problem can u help that situation?
@1234thrashmetal
@1234thrashmetal 3 года назад
same :C
@fehimkus5658
@fehimkus5658 5 лет назад
can you please help me about code for Arduino as receiver. I compile your code for transmitting but I want to use an Arduino as receiver and I just configured address and channel parameters but it didn't worked. Do you thing that ı should change library or set else? please help
@mutexembedded2206
@mutexembedded2206 5 лет назад
Hi, not sure how I may help,, If you did exactly same set-up as mine,, should work the same.
@fehimkus5658
@fehimkus5658 5 лет назад
@@mutexembedded2206 Thank you for your reply. I configured my stm as same as like you but my receiver nrf24l01 connected to an arduino. Do you think an arduino and a stm board can communicate with this way if we configure both of them correctly?
@heuehwbebjd2100
@heuehwbebjd2100 4 года назад
@@fehimkus5658 Have you solve your problem? I used an arduino for transmit and stm for receiver but it still didn't work.
@fehimkus5658
@fehimkus5658 4 года назад
@@heuehwbebjd2100 unfortunately i couldnt solve the problem, i tried almost every library on internet and configuration but they didnt communicate each other. if you will be successful please inform me too :)
@xpertvis
@xpertvis 4 года назад
@@fehimkus5658 I have exactly same problem as you two have. I also tried different configurations for STM32 (change rf channel, CRC length, ack enabled/disabled) no luck. I also fixed MicroDelay function with using timer, still no luck :/
@devjeetmandal1472
@devjeetmandal1472 5 лет назад
Doesn't show "Transmit Successful" on my STM32F446 Nucleo. After reading the status registers i found it doesn't set the TX_DS Bit. Any Help???
@mutexembedded2206
@mutexembedded2206 5 лет назад
Hi, I am not entirely sure,, but could be something related to using different boards, think of anything that may have changed, UART peripheral, pins and port and so on. I will be able to give you a bit more constructive feedback if you can send me a link to your project setup. Thanks
@devjeetmandal1472
@devjeetmandal1472 5 лет назад
@@mutexembedded2206 I have changed the UART. I am using USART3. I have also changed the SPI Pins but kept it on same port SCK - PE12 MISO - PE13 MOSI - PE14 CS - PE15 CE - PE10 IRQ - NC I have not changed a bit of your library. Here is the link of my main file and SPI initialization. pastebin.com/CVFTdKca
@MrVentran
@MrVentran 4 года назад
Hello, I have exactly the same problem. Did you resolve this problem? Maybe someone know what is wrong?
@MrVentran
@MrVentran 4 года назад
Hello again, I resolved my problem. In my case problem was in NRF24_startWrite(). Before set BIT_PWR_UP and clear BIT_PRIM_RX set CE line as LOW and after set CE in HIGH.
@seifeldinmohamedzaki9690
@seifeldinmohamedzaki9690 4 года назад
@@MrVentran where exactly in the code? I have the same problem and it's really frustrating.
@wedge550a
@wedge550a 5 лет назад
I'm using stm32f103c8t6. How can I use the library nrf24c if I don't have st link in the board?
@mutexembedded2206
@mutexembedded2206 5 лет назад
Hi, Need to generate Hex files from Keil, then flash it to your board using the Hex file.
@wedge550a
@wedge550a 5 лет назад
@@mutexembedded2206 yes I always do that, but the library gets a lot of code where use UART statements, so I have to erase them?
@fmarqzin
@fmarqzin 5 лет назад
Hi, congratulations for the video. I followed the transmission and reception procedures without ack. and it did not work. However I noticed that when the settings by the printradiosettings in the transmitter show the address 0x1122334455, but in the receiver when the tx result in the printradiosettings in tx shows 0xe7e7e7e7e7 does not assign the address, but the channel was assigned normally. If you can help then and for a course completion job. thank you
@mutexembedded2206
@mutexembedded2206 5 лет назад
Hey, Send me a link to your entire project. Works fine for me just like I show in the video. I will double check the library again too.
@fmarqzin
@fmarqzin 5 лет назад
@@mutexembedded2206 www.dropbox.com/sh/sic8mkoeni9uj2a/AAAWhHNiKtpyV5-tPGMo5LE_a?dl=0
@fmarqzin
@fmarqzin 5 лет назад
I did in the main.h file the possibility to use as transmit and or receiver
@fmarqzin
@fmarqzin 5 лет назад
stm32f103c8 blue pill
@fmarqzin
@fmarqzin 5 лет назад
sorry to click the link again for updated project above 20 minutes
@amitkumarsahoo1122
@amitkumarsahoo1122 3 года назад
HI MYaqoob, I am using your library for NRF24L01+, STM32-Tutorials\Tutorial 24 - NRF24L01 Radio Transceiver I have the following issue, Would you please help me understanding what is wrong.PFA Previously it was receiving correct strings, but now I am just receiving as "TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT" My transmission strings look like this ---------- Configured as Transmitter ------------ Tx Count= 6566, Tx Failed= 0, Rx Count= 0, Rx Failed= 0 'T' is first letter which is transmitted, but it doesn't receives strings after that, I checked with SPI analyser. image Sometime it goes to Power down mode abruptly and all value of status/config register becomes zero. I added NRF24_powerUp(); while changing mode Tx to Rx, but nothing helps. image Radio_RF_Control.zip
@mutexembedded2206
@mutexembedded2206 3 года назад
I will check for any software related issues with the NRF24L01+. I suggest you check for power consumption, perhaps use external power supply for the NRF as STM cannot supply lots of current.
@amitkumarsahoo1122
@amitkumarsahoo1122 3 года назад
@@mutexembedded2206 Thanks for the response. I have tested with external power as well as with ext voltage regulator and added a 10 uF capacitor and reduced RF Power but still no improvement, I also raised this issue on your github page.
@bhaktis8312
@bhaktis8312 3 года назад
Hi..thank you very much for the video... I tried it with my customised board having part stm32f072rb.... The transmitter works fine...I found transmitted successful msg on terminal... But as per video I didn't get data on receiver side...that is hello world... I didn't get where is the problem... Can you help me to get solve the issue
@mutexembedded2206
@mutexembedded2206 3 года назад
Many pple seem to suffer from this issue.. I will try updating this tutorial sometimr soon to fix all reported issues and make it compatible with all targets
@bhaktis8312
@bhaktis8312 3 года назад
@@mutexembedded2206 Ok sir.
@bhaktis8312
@bhaktis8312 3 года назад
Hello sir, When can we expect the updated video? Egerly waiting for the same...
@bhaktis8312
@bhaktis8312 3 года назад
Hello sir, When can we expect the updated video? Egerly waiting for the same...
@hehejadi7598
@hehejadi7598 4 года назад
I can't download the library :((
@mutexembedded2206
@mutexembedded2206 4 года назад
Hi, I just checked the link, it works
@sarathkumar-tf4lr
@sarathkumar-tf4lr 3 года назад
Bro am face a one error am not get a acknowledgement why?
@mutexembedded2206
@mutexembedded2206 3 года назад
People reported that few times, I would have to update this library to fix all those issues
@sarathkumar-tf4lr
@sarathkumar-tf4lr 3 года назад
@@mutexembedded2206 thanks for your reply ..pls solve this error soon as possible
@user-vh8qr8ob4f
@user-vh8qr8ob4f 5 лет назад
السلام عليكم اذا يمكنك ان تشرح عن القطعة بالعربي
@newtonkhan7883
@newtonkhan7883 4 года назад
@ yaqoob Sir please help me
@mutexembedded2206
@mutexembedded2206 4 года назад
Hi how can I help
@newtonkhan7883
@newtonkhan7883 4 года назад
​@@mutexembedded2206 Thank you for the reply I am using two stm32f103c8 for TX and RX but not able to get the data on the receiver side could you please correct it, I think the minor mistake I am doing over here, Below is the link drive.google.com/file/d/1sTJKCOvcNkzY1lzRyMtCjxnakKnmdpfN/view?usp=sharing and please mail me @ iamnotarobot9643@gmail.com Thank you
@newtonkhan7883
@newtonkhan7883 4 года назад
@@mutexembedded2206 Sir please reply
@mutexembedded2206
@mutexembedded2206 4 года назад
@@newtonkhan7883 hi no worries Can you explain to me briefly what's your setup is like, are you communicating with PC or a UART module? And what sort of tests have you carried out already.
@newtonkhan7883
@newtonkhan7883 3 года назад
@@mutexembedded2206 Thank you so much for the reply I am using two stm32f103c8 for transmitter and receiver, I am using terminal software 1.9b. Thank you
Далее
▼ЕГО БОЯЛИСЬ МОНГОЛЫ 🍣
32:51
Просмотров 371 тыс.
NRF24L01 Getting Started Guide
5:29
Просмотров 68 тыс.
Tech Gadgets I Actually Like
21:41
Просмотров 10 тыс.
Scientist think THIS is Alien?!
16:16
Просмотров 174 тыс.
Bash vs ZSH vs Fish: What's the Difference?
13:32
Просмотров 162 тыс.
Треш ПК за 420 000 рублей
0:59
Просмотров 243 тыс.