登录
首页 » c » nrf2401一对一代码

nrf2401一对一代码

于 2023-07-20 发布 文件大小:6.35 MB
0 310
下载积分: 2 下载次数: 1

代码说明:

要弄懂NRF的多对一通信,我们先要清楚NRF的一对一通信的地址设置,为了解说通俗我们将NRF24L01之间的通信比作两个人写信交流:首先寄信方将信件寄给收信方,收信方收到信件之后回信给寄信方确认收到信件。(以上为NRF24L01一次通信的过程,即发送端T发送信息给接收端R的流程)要完成双方的信件互通,那么双方都要知道对方的地址。这对应着NRF24L01作为发送端T时要设置1、发送地址:TX_ADDR。2、应答信号地址:RX_ADDR_P0(通道0用来接收接收端R的应达信号)。而接收端R要设置接收地址:RX_ADDR_Px(x取值为0到5,一个NRF24L01有6个通道,每一个通道都能设置作为接收信号的通道)  以上三个地址都要设置为相同的值。因为A发送信息给B,B把A的发送地址作为目标地址发回一个应答信号ACK,所以发送地址=应答信号地址=接收地址。注意:只有发送端的通道0才能接收应答信号。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Profibus规范_中文版
    Profibus是作为德国国家标准DIN 19245和欧洲标准prEN 50170的现场总线。ISO/OSI模型也是它的参考模型。由Profibus -Dp、Profibus -FMS、Profibus-PA组成了Profibus系列(Profibus is the field bus of German national standard DIN 19245 and European standard prEN 50170. The ISO/OSI model is also its reference model. Profibus series is composed of Profibus-Dp, Profibus-FMS and Profibus-PA.)
    2020-12-23 17:29:06下载
    积分:1
  • unity3d-Chinese-api
    unity3d开发手册,unity圣典出品,居家旅行必备良品(unity3d development manual, unity holy books produced, yield essential travel home)
    2013-08-17 15:29:45下载
    积分:1
  • can2sci
    飞思卡尔单片机F56f8037can程序(Freescale microcontroller F56f8037can program)
    2014-04-06 19:28:42下载
    积分:1
  • VC++读写Excel文件源代码
    VC实现对excel的读写 增删操作,支持vs2010(VC to achieve the operation of Excel)
    2017-10-24 14:54:14下载
    积分:1
  • test5_2
    说明:  实现Liang-Barsky算法裁剪直线段(Realization algorithm for clipping straight line segment)
    2019-06-14 17:41:28下载
    积分:1
  • Anti-jammingGPS-space-time-filtering
    这是针对华为GSM/GPRS模块的GPS接收机空时抗干扰滤波技术研究(Research jamming GPS receiver space-time filtering technology)
    2014-02-20 18:01:18下载
    积分:1
  • AdvancedGraphicsProgrammingUsingOpenGL
    Advanced Graphics Programming Using OpenGL.此书较详细讲些了OpenGL编程方法。讲解了OpengGL编程的基本原理,及高级应用。(Advanced Graphics Programming Using Open GL. the book stresses more detailed than the OpenGL programming method. The OpengGL programming on the basic principles and advanced applications.)
    2006-08-04 14:43:28下载
    积分:1
  • 对象跟踪
    该程序是用C写的#编程语言。
    2022-06-19 21:44:44下载
    积分:1
  • RemoveDriveByLetter_demo
    安全移除usb设备功能,可禁止某类usb设备的使用,实行系统安全控制Removing a USB drive using the Windows tray icon is easy - especially if you single left-click it... But sometimes it s useful to it from your program(safety equipment functions, prohibit certain types of equipment used usb, Safety control system implemented Removing a USB drive using the Windows tray icon is easy- especially if you left single- click it ... But sometimes it's useful to it from your program)
    2007-05-16 16:47:00下载
    积分:1
  • flash_programming
    主控cc2530通过debug接口对目标cc2530进行程序烧写,使用DMA进行数据传输,已调试通过。(Master cc2530 through the debug interface for writing the program to target cc2530, using the DMA data transfer, has been work successful.)
    2011-08-21 23:42:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载