新手上路
- 积分
- 32
- 金钱
- 32
- 注册时间
- 2014-3-24
- 在线时间
- 0 小时
|
找了好多资料说nRF24l01最多可以是实现1对6的通信或者6对1 的通信,可是自己实践了一下,目前只做通了一对一的通信。现在想做1对2的通信(一发二收),查资料说<p style="z-index:187;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:339px;padding-right:0px;font:169px/169px 宋体, '655a4b84a0116c175f0e488f0020001', 宋体;white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:1448px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-5">对于</p>
<p style="z-index:188;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:84px;padding-right:0px;font:169px/169px 'Times New Roman', '655a4b84a0116c175f0e488f0010001', 'Times New Roman';white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:1830px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-1">0</p>
<p style="z-index:189;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:169px;padding-right:0px;font:169px/169px 宋体, '655a4b84a0116c175f0e488f0020001', 宋体;white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:1956px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-5">和</p>
<p style="z-index:190;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:84px;padding-right:0px;font:169px/169px 'Times New Roman', '655a4b84a0116c175f0e488f0010001', 'Times New Roman';white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:2168px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-1">1</p>
<p style="z-index:191;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:507px;padding-right:0px;font:169px/169px 宋体, '655a4b84a0116c175f0e488f0020001', 宋体;white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:2294px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-10">通道,</p>
<p style="z-index:192;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:2705px;padding-right:0px;font:169px/169px 宋体, '655a4b84a0116c175f0e488f0020001', 宋体;white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:2763px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-7">接收端和发送端的地址是可以都写成</p>
<p style="z-index:193;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:84px;padding-right:0px;font:169px/169px 'Times New Roman', '655a4b84a0116c175f0e488f0010001', 'Times New Roman';white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:5512px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-1">5</p>
<p style="z-index:194;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:1183px;padding-right:0px;font:169px/169px 宋体, '655a4b84a0116c175f0e488f0020001', 宋体;white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:5637px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-10">个字节的地址,</p>
<p style="z-index:196;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:1353px;padding-right:0px;font:169px/169px 宋体, '655a4b84a0116c175f0e488f0020001', 宋体;white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:6783px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-13">当然可以两端是同</p>
<p style="z-index:197;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:3213px;padding-right:0px;font:169px/169px 宋体, '655a4b84a0116c175f0e488f0020001', 宋体;white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2799px;word-spacing:0px;padding-top:0px;left:1448px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-14">样的地址</p>
<p style="z-index:187;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:339px;padding-right:0px;font:169px/169px 宋体, '655a4b84a0116c175f0e488f0020001', 宋体;white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:1448px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-5">对于</p>
<p style="z-index:188;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:84px;padding-right:0px;font:169px/169px 'Times New Roman', '655a4b84a0116c175f0e488f0010001', 'Times New Roman';white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:1830px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-1">0</p>
<p style="z-index:189;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:169px;padding-right:0px;font:169px/169px 宋体, '655a4b84a0116c175f0e488f0020001', 宋体;white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:1956px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-5">和</p>
<p style="z-index:190;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:84px;padding-right:0px;font:169px/169px 'Times New Roman', '655a4b84a0116c175f0e488f0010001', 'Times New Roman';white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:2168px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-1">1</p>
<p style="z-index:191;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:507px;padding-right:0px;font:169px/169px 宋体, '655a4b84a0116c175f0e488f0020001', 宋体;white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:2294px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-10">通道,</p>
<p style="z-index:192;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:2705px;padding-right:0px;font:169px/169px 宋体, '655a4b84a0116c175f0e488f0020001', 宋体;white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:2763px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-7">接收端和发送端的地址是可以都写成</p>
<p style="z-index:193;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:84px;padding-right:0px;font:169px/169px 'Times New Roman', '655a4b84a0116c175f0e488f0010001', 'Times New Roman';white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:5512px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-1">5</p>
<p style="z-index:194;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:1183px;padding-right:0px;font:169px/169px 宋体, '655a4b84a0116c175f0e488f0020001', 宋体;white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:5637px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-10">个字节的地址,</p>
<p style="z-index:196;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:1353px;padding-right:0px;font:169px/169px 宋体, '655a4b84a0116c175f0e488f0020001', 宋体;white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2546px;word-spacing:0px;padding-top:0px;left:6783px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-13">当然可以两端是同</p>
<p style="z-index:197;position:absolute;padding-bottom:0px;widows:2;text-transform:none;background-color:#ffffff;text-indent:0px;margin:0px;padding-left:0px;width:3213px;padding-right:0px;font:169px/169px 宋体, '655a4b84a0116c175f0e488f0020001', 宋体;white-space:nowrap;orphans:2;letter-spacing:normal;height:169px;color:#313d31;top:2799px;word-spacing:0px;padding-top:0px;left:1448px;-webkit-font-smoothing:antialiased;text-shadow:rgba(0, 0, 0, 0.00392157) 1px 1px 1px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;" class="reader-word-layer reader-word-s1-14">样的地址</p>
对于0和1通道,接收端和发送端的地址是可以都写成5个字节的地址,当然可以两端是同样的地址,很容易就实现了通信;但是对于2、3、4、5通道,接收端的地址只有低字节可以设置,发送端的发送地址却是5个字节的。如何相同是个问题。对于通道1和2、3、4、5通道为什么在设置地址上不一样这点很疑惑,还有就是对于通道0和1可以设置相同的地址也很疑惑。如果相同的地址,接收端是如何判断到底是通道0还是通道1呢? |
|