项目编号 020:UART to Bluetooth Low Energy Bridge | 赛普拉斯半导体
项目编号 020:UART to Bluetooth Low Energy Bridge
In today's project, we demonstrate a custom Profile to implement a UART-BLE bridge using the BLE Pioneer Kit.
When Bluetooth (classic) was released, it featured a Profile called SPP (Serial Port Profile) that allowed for easy cord-cutter designs that wanted to replace typical USB products with Bluetooth classic interfaces instead. With Bluetooth Low Energy (BLE), no such standard Profile for serial ports is provided by the Bluetooth SIG. This is primarily due to the fact that Bluetooth Low Energy was not designed for high data-rate applications, and instead focuses on low-power sensor node applications. BLE's GATT Adopted Profiles are more application-centric, with Profiles for Heart Rate Monitors, Phone Notifcations, etc.
In this project, we implement a custom Profile to create a Bluetooth Low Energy to UART bridge, enabling the ease-of-use of the UART protocol, albeit not being a very sophisticated choice of design for Bluetooth Low Energy applications. However, engineers realize the usefulness of a quick-and-dirty solution for Bluetooth Low Energy over UART, which is useful for quick prototyping or adding Bluetooth Low Energy to replace legacy Bluetooth classic designs.
The Bluetooth Low Energy Pioneer Kit with the PSoC 4 BLE module implements a Bluetooth Low Energy GAP Central device running a custom Profile and a custom UART Service. This Profile contains two custom Characteristics - one called Receive Characteristic and another called Transmit Characteristic. The Transmit Characteristic supports Notifications.
For the other end of the Bluetooth Low Energy communication, we will re-program the CySmart USB Dongle with a project implementing a GAP Peripheral. This project also implements the same custom Profile, Services and Characteristics.
Each device can be interfaced over UART using a serial terminal utility like TeraTerm or Putty to transmit/receive a byte or an entire data file.
You can download this PSoC Creator project along with a detailed PDF of instructions, here from GitHub: https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day020_BLE_UART
本网站上的所有内容和材料均“按原样”提供。赛普拉斯半导体公司及其各个供应商对这些材料用于任何用途的适用性不作陈述,并且对关于这些材料的所有担保和条件概不负责,包括但不限于有关适销性、针对特定用途之适用性、权利和不侵犯任何第三方知识产权的所有暗示担保和条件。赛普拉斯半导体公司不授予任何明示或暗示的许可(无论是以默许方式或是任何其他方式)。使用本网站上的信息可能需要第三方的许可,或赛普拉斯半导体公司的许可。
本网站上的内容可能包含或必须遵守关于使用的特定准则或限制。所有帖子和使用本网站上的内容都必须遵守本网站的条款与条件;使用这些内容的第三方必须同意遵守任何限制或准则,并遵守本网站的条款与条件。赛普拉斯半导体公司及其供应商保留随时对内容和材料、产品、计划和服务进行纠正、删除、修改、增强、改进或其他变更,或者移动或终止任何内容、产品、计划或服务的权利,恕不另行通知。
Comments
I wonder what would have to change in the code-BLE UART to measure with ADC and send the data right through UART-BLE
have you been able to figure that out fernnando?
I test it with PSoC creator 3.3.
It is not clear from documentation somethings... how to proceed .
1) Use PRoC module and not PSoC to program the UART_to_BLE_Central project.
2) Use PSoC for USART_to_BLE_peripheral
3) change the chip target into project UART_to_BLE_central
4) use hex file generate from PSoC Creator to program the BLE dongle
Finally after few adjustment it works!!
I have a 11,68 Kbytes/s during transfert file.
Unfortunatly this is a best condition between two module, and not real test with smartphone IoS or Android.
Hi Maurizio, could you plz share the "few adjustments" that you mentioned. I can't make BLE dongle (as a central) print anything in terraterm using your instructions in this app note. Thank you!
Some genuinely interesting information, well written and broadly user pleasant. ourbus.com
I have a CY8CKIT-042-BLE Pioneer kit and am trying to get the UART example project #020 working.
It does not work when using the files provided from GitHub. Is there some kind of update or some other way to get this example working? The blue LED on the Pioneer kit flashes blue which is supposed to indicate a connection between it and the dongle, but no data can be sent through the terminal programs I have opened.
same issue here
For those having UART connectivity issues make sure the KITPROG has the latest firmware: https://community.cypress.com/docs/DOC-10245
Fabulous site you have here. You'll find me taking a gander at your stuff regularly. Spared! One-pieces
Pleasant to be going to your online journal yet again, it has been months for me. Well this article ive been sat tight for thusly long. i need this article to complete my task inside of the staff, and it has same subject together with your article. Much appreciated, pleasant offer.
valentine week 2018
<a href="http://oppidanlibrary.com/february-2018-calendar-with-holidays/">february 2018 calendar with holidays</a>
<a href="http://oppidanlibrary.com/printable-calendar-february-2018/">printable calendar february 2018</a>
<a href="http://trends-in-newsrooms.org/february-2018-monthly-calendar/">february 2018 monthly calendar</a>
<a href="http://trends-in-newsrooms.org/february-2018-moon-calendar/">february 2018 moon calendar</a>
<a href="http://trends-in-newsrooms.org/february-march-2018-calendar/">february march 2018 calendar</a>
<a href="http://www.pagety.com/february-2018-calendar/">february 2018 calendar</a>
As far as me being a member here, I wasn’t aware that I was a member for any days, actually. When the article was published I received a notification, so that I could participate in the discussion of the post, That would explain me stumbuling upon this post. But we’re certainly all members in the world of ideas.
numéro voyance
happy raksha bandhan 2018 happy fathers day 2018 happy memorial day 2018 happy independace day 2018 happy new year 2019 happy parents day 2018 happy womens day 2018 images Why Do We Celebrate Women's Day 9apps apk app download 2018 best free movies in hd tokopedia an apk 2018 download
This is an incredible motivating article. I am basically satisfied with your great work. You put truly extremely supportive article.
Delhi Call Girls
Much thanks to you such a great amount for sharing this awesome blog.Very moving and accommodating too.Hope you keep on sharing a greater amount of your ideas.I will love to peruse. tivoli