CB2 驱动NRF24L01 无线模块 通信成功
已有 139 次阅读2016-2-27 23:54
[size=6][backcolor=#ffffff][color=#444444][color=#ff0000]系统:lubuntu 官方 (喜欢cb官方原版)
硬件: cb NRF24L01*2 51开发板一块 杜邦线若干[/color][/color][/backcolor][/size]
[size=5][backcolor=#ffffff][color=#444444][color=#ff0000]CB1 驱动NRF24L01 无线模块与STC51单片机通信成功!!![/color][/color][/backcolor][/size][img]http://imgstore01.cdn.sogou.com/app/a/100520032/e129[/img]
[backcolor=#ffffff][color=#444444][font=Tahoma,]1.废话不多说,上图上代码:[/font][/color][/backcolor]
[img]http://forum.cubietech.com/data/attachment/forum/201310/14/212547aqczi7cqqicfcwwd.jpg[/img] [backcolor=#ffffff][color=#444444][font=Tahoma,][/font][/color][/backcolor]
[img]http://forum.cubietech.com/data/attachment/forum/201310/14/212548rar4z1gl8balagbr.jpg[/img] [backcolor=#ffffff][color=#444444][font=Tahoma,][/font][/color][/backcolor]
[img]http://forum.cubietech.com/data/attachment/forum/201310/14/212549vx1er004zcddkk35.jpg[/img] [backcolor=#ffffff][color=#444444][font=Tahoma,][/font][/color][/backcolor]
[img]http://forum.cubietech.com/data/attachment/forum/201310/14/212550lcixwo8eo4oj83zx.jpg[/img] [backcolor=#ffffff][color=#444444][font=Tahoma,][/font][/color][/backcolor]
[backcolor=#ffffff][color=#444444][font=Tahoma,]2.自制51单片机开发板:(24L01在右下角,有内置接口) [/font][/color][/backcolor]
[img]http://forum.cubietech.com/data/attachment/forum/201310/14/212554iiq5alqav276a54v.jpg[/img] [backcolor=#ffffff][color=#444444][font=Tahoma,][/font][/color][/backcolor]
[img]http://forum.cubietech.com/data/attachment/forum/201310/14/212552pbh6qfg3q2q929dq.jpg[/img] [backcolor=#ffffff][color=#444444][font=Tahoma,][/font][/color][/backcolor]
[backcolor=#ffffff][color=#444444][font=Tahoma,]3.来张清晰的图,上面手抖了,[/font][/color][/backcolor][img]http://imgstore01.cdn.sogou.com/app/a/100520032/e113[/img][backcolor=#ffffff][color=#444444][font=Tahoma,] [/font][/color][/backcolor]
[backcolor=#ffffff][color=#444444][font=Tahoma,]LCD1602显示温度,并实时通过无线发给cubieboard 1 [/font][/color][/backcolor]
[img]http://forum.cubietech.com/data/attachment/forum/201310/14/212555stwbpczqg92hq5bf.jpg[/img] [backcolor=#ffffff][color=#444444][font=Tahoma,][/font][/color][/backcolor]
[backcolor=#ffffff][color=#444444][font=Tahoma,]4. 下图,第一位是正负温度指示,0x00代表正 ,0xff代表零下 。 后两位分别代表温度十位数和个位数[/font][/color][/backcolor]
[img]http://forum.cubietech.com/data/attachment/forum/201310/14/212558cnezr1fzzloa4yf5.jpg[/img] [backcolor=#ffffff][color=#444444][font=Tahoma,][/font][/color][/backcolor]
[img]http://forum.cubietech.com/data/attachment/forum/201310/14/212551wgmecl0lne9x3gc1.jpg[/img] [backcolor=#ffffff][color=#444444][font=Tahoma,][/font][/color][/backcolor]
[backcolor=#ffffff][color=#444444][font=Tahoma,]如有错误 ,请指正,互相学习[/font][/color][/backcolor]
[url]http://forum.cubietech.com/forum.php?mod=viewthread&tid=1235[/url]