[问题] Ardunio Mega2560使用nRF24L01+问题

楼主: tommycc (system fail)   2016-08-04 23:44:53
我按照https://maniacbug.wordpress.com/2011/11/02/getting-started-rf24/
的方式,与使用maniacbug的RF24 library
code为http://maniacbug.github.io/RF24/GettingStarted_8pde-example.html
不过不管怎样,两边就无法收发
以下是Serial monitor的片段
RF24/examples/GettingStarted/
ROLE: Ping out
*** PRESS 'T' to begin transmitting to the other node
STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1 = 0xf0f0f0f0e1 0xf0f0f0f0d2
RX_ADDR_P2-5 = 0xc3 0xc4 0xc5 0xc6
TX_ADDR = 0xf0f0f0f0e1
RX_PW_P0-6 = 0x08 0x08 0x00 0x00 0x00 0x00
EN_AA = 0x3f
EN_RXADDR = 0x03
RF_CH = 0x4c
RF_SETUP = 0x07
CONFIG = 0x0f
DYNPD/FEATURE = 0x00 0x00
Data Rate = 1MBPS
Model = nRF24L01+
CRC Length = 16 bits
PA Power = PA_HIGH
Now sending 77...failed.
Failed, response timed out.
Now sending 1349...failed.
Failed, response timed out.
/******************************************************************/
另一边的TX_ADDR 为0xf0f0f0f0d2
用示波器量过SPI通讯都有在送
不过就是收不到
有板友有用过这个吗?可以提点一下我可能哪里出问题吗?
thanks
楼主: tommycc (system fail)   2016-08-05 00:14:00
刚刚找到问题了,在电源两边跨接10uF 电容(听说10-47uF)就可以读到,所以是抗噪声能力低弱
作者: wtchen (没有存在感的人)   2016-08-05 00:38:00
有些nRF24L01+ module是已经帮你把电容加进去了有时候可以把频宽降低到250kbs应该可以改善

Links booklink

Contact Us: admin [ a t ] ucptt.com