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

nrf2401一对一代码

于 2023-07-20 发布 文件大小:6.35 MB
0 157
下载积分: 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 个回复

  • 开发命名规范
    开发规范要求,严格按照此文档来进行编码,非常好的开发规范文档(Development specification requirements, strictly in accordance with this document for coding, very good development specification document)
    2020-06-17 21:20:02下载
    积分:1
  • C_Builder_and_Matlab
    这是一篇介绍C++BUILDE和MATLAB混合编程的文章,比较有参考价值(This is an article on C++ BUILDE and MATLAB programming mix of articles, compared with reference value)
    2011-04-21 00:21:36下载
    积分:1
  • 2010-2011-2-TC
    c语言 软件包 集成c语言的各种软件 中英文齐全(c language c language integrated package of various software and complete English)
    2011-09-07 13:40:19下载
    积分:1
  • 用VS。NETC#语言写的贪吃蛇程序
    用VS。NETC#语言写的贪吃蛇程序-using VS.NETC# language written procedures Snake
    2022-02-12 10:16:56下载
    积分:1
  • FPGA实现led灯流水点亮
    入门案例,实现FPGA顺序点亮流水,基于xilinx的zybo10开发
    2022-05-21 23:08:04下载
    积分:1
  • rjcsh
    用VC++编写关于仓库销售管理系统的程序,很有用的哟(VC preparation of warehouse management system sales procedures, a very useful yo)
    2007-04-11 14:45:14下载
    积分:1
  • 96169
    通过DS1302时钟控制的继电器动作。时钟可调。(By DS1302 clock control relay. Clock adjustable.)
    2013-09-21 11:00:08下载
    积分:1
  • STM32
    此文件是 ChibiOS/GFX 的一部分。 ChibiOS/GFX 是免费软件 ;你可以将它重新分发和/或修改 它根据 GNU 通用公共许可证发布的条款 自由软件基金会 ;任一版本 3 的许可协议,或 (在您的选择) 任何更新的版本。
    2022-11-20 02:00:08下载
    积分:1
  • TheArtofMolecularDynamicsSimulation
    The Art of Molecular Dynamics Simulation 是分子动力学学习用的最好的入门书籍,本压缩包中包括了书籍的pdf文档,以及所有的C语言源代码实现 ( The Art of Molecular Dynamics Simulation ======================================== Introduction ============ This software is intended to accompany the book `The Art of Molecular Dynamics Simulation by D. C. Rapaport, published by Cambridge University Press (1995,1997). The material is being supplied in computer-readable form to enable readers to follow the case studies described in the book. Copyright and permission to use =============================== This software is copyrighted material reproduced from the book. Readers of the book may use this software freely for personal, noncommercial purposes. All other forms of use are subject to prior arrangement with the author. Disclaimer ========== The reader planning to use the software should note that, from the legal point of view, there is no warranty, expressed or implied, that the programs are free of error or will prove suitable for a particular application by)
    2010-08-12 13:15:19下载
    积分:1
  • Mathematics
    Only one month to go before the nullarbor demoparty and game development competition takes place! The event will be held at ECU Mount Lawley, School of Computer and Information Science in Perth, Western Australia on Thursday the 23rd of February 2006.
    2006-03-28 11:52:49下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载