完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
在使用RN42几年后,我注意到RN48 71具有类似的简单命令结构。我一直使用Windows中的COM端口将数据流到RN42,结果可靠,因为我需要发送的数据量很小,BL似乎是市场正在进行的方式(伴随着低电池消耗的巨大好处)。他将非常感激。数据表给出了一个苹果设备的例子,但没有提到PC。
以上来自于百度翻译 以下为原文 Having used the RN42 for some years, I note that the RN4871 has a similar easy command structure. I have always used the COM port in Windows to stream data to the RN42 with reliable results. As the quantity of data I need to send is small, and BL seems to be the way the market is going (with the huge bonus of low battery consumption). Any pointers on to how to get a PC (via a COM port) to talk to the RN4871 would be greatly appreciated. The data sheet gives an example of an Apple device, but no mention of a PC. |
|
相关推荐
1个回答
|
|
RN1478内部的物理引脚连接到USAT。这是一个线/引脚的TX和一个线/引脚RX允许同时通信之间的CPU和什么它连接到。在梳棉机行业中,采用USAT作为连接CPU芯片的引脚与Land;Word Word & GT的主要方式。但这不是一种很好的物理连接方式,即使是在PCB上的短距离运行,它也容易被注入其他信号(噪声)。3伏的信号+2伏的噪声=5伏的信号和噪声在接收端。即使这5伏是(RES划分),所产生的3伏仍然是3 + 2=5组合的混合混合物。此外,如果它的2伏SIG和3伏的噪音,甚至更糟。现在噪音控制着更多的5伏电压。因此,通过USAT的TX /RX被本地化为接近USAT本身。粗规则总是有例外的,比如用USB连接你的COMP。(当今最常见的)。需要再次使用两个物理线,但它们以不同的方式使用。这两条导线都是用来进行单向通信的。无论是/CPU;gt;还是lt;设备& gt;都可以使用这对,但是,“一次只有一个”可以做到这一点。这两条线叫做D+和D-。也就是说,数据加和数据减去。它们是一组称为A& LT;差分对GT的两个1/2。这两条电线保持/运行/放置在物理上彼此接近,并具有相同的潜力,但是,一个是负的,另一个是加上的。因此,如果一个外部信号确实被添加到信号路径,它将同时“同时”添加到两条导线上,并且两个注入将具有相同的“极性”。接收器将D+和D-连接到求和放大器,但D首先被反转成相反的电位,然后插入到求和放大器中。由于无论D+和D-的任何潜在的信号都是相同的,当D被反转并将加法放大器加入到D+中时,得罪的噪声有效地抵消了“自身”。这被称为“共模抑制比”。对于所需信号,2减为2加号,加到2加号等于4加号。但是,对于不需要的信号,2加号变为2减,并加到2加号等于“0”。您需要的是接口芯片,使USAT与D+/D线O匹配。USB USB端口。然后,您可以使用运行TARA术语的COMP或一些终端仿真器与使用ASCII命令接口的RN878实现真实世界的接口。有许多便宜的板使用流行的FR23芯片由FTDI设计和专门用于这一目的。看一下斯帕克福德的视线。HTTPS://www. SPARKFUN.COM/PROSPIDS/12731 COMP链路是USB迷你,USAT侧是DIP或SIP PIN连接器或只是焊丝。我相信RN48 71被设计成一个裸露的蓝牙模块,它是难以置信的小,可以连接到用户需要的I2C、SPI和USAT,但不包括在模块本身上,以节省功耗和最终用户成本,而不必支付模块的费用。不必要地包含在模块上。
以上来自于百度翻译 以下为原文 The physical pins of the RN4871 internally connect to the USART. That is one wire/pin for TX and one wire/pin for RX allowing for simultaneous communication between the cpu and what ever it is connected to. The usart was adopted as the main way of connecting the pins of the cpu chip with the Connecting with your comp using USB for instance. (the most common found today). requires the use of two physical wires again, but they are used in a different way. These two wires are "both" used for a one way communication to take place. It is possible for either The two wires, are called D+ and D-. That is, Data Plus and Data Minus. They are two 1/2's of a set known as a --For the wanted signal, 2-minus changed to 2-plus and added to 2-plus equals 4-plus. --But, for the unwanted signal, 2-plus changed to 2-minus and added to 2-plus equals "zero". What you need is an interface chip to mate the USART with the D+ / D- lines of the USB comm port. Then you can use the comp running Tera-Term or some terminal emulator to real world interface with the RN4871 using ASCII command interface. There are many inexpensive boards using the popular FR232 chip made by FTDI designed and dedicated for this very purpose.. Have a look on Sparkfun's sight. https://www.sparkfun.com/products/12731 The comp link is USB mini and the usart side is a dip or sip pin connector or just solder wires. I believe the RN4871 is designed as a bare bones Bluetooth module which is unbelievably small and can be interfaced to I2C, SPI, and or USART which ever is needed by the user but not included on the module itself to conserve power consumption and end user cost not having to pay for modules that are unnecessarily included on the module. |
|
|
|
只有小组成员才能发言,加入小组>>
5158 浏览 9 评论
1997 浏览 8 评论
1926 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3169 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2222 浏览 5 评论
724浏览 1评论
607浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
495浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
621浏览 0评论
520浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-19 19:39 , Processed in 1.275049 second(s), Total 78, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号