"With the development of low-power Bluetooth technology, various simple, interesting smart products (based on low-power Bluetooth technology) are endless, such as anti-lepons, wearing step-based bracelet, Bluetooth smart bulb, etc., these programs apply Simple, products are very interesting, many engineers want to personally do DIY, helpless engineers are subject to not understanding the Bluetooth communication protocol, even a lot of interesting programs in my mind, I can't pay Today, I'm introducing a low-power Bluetooth development kit for you to develop. Cypi Pioneer Kit, let you learn from simple Bluetooth applications through simple learning, practice DIY.
CY8CKIT-042-BLE PIONEER KIT kit is based on Cypress's high-integrated single-chip low-power Bluetooth solution - PSOC® 4 BLE programmable system, the purpose is to simplify the sensor-based low-power distribution network Apply design, let's take a look at the suite itself.
Unpack
CY8CKIT-042-BLE Pioneer Kit is very rich, the main hardware development board includes:
A BL substrate (pre-contained CY8CKIT-142 PSoC 4 BLE module)
A CY5671 Proc Ble module
A CY5670 - CYSMART USB DONGLE
In addition, there is a quick start-up guide manual, a miniusb cable, a button battery (3V CR2032), 4 jumpers, and two proximity sensor lines, and the entire learning development process will be debugged.
CY8CKIT-042-Ble Pioneer Kit Development Kit Cysmart USB Dongle is a USB BLE transceiver that can be paired with Cysmart software tools provided by Cypillars, converting the user's Windows PC to a low-power Bluetooth debugging environment. In the factory settings, you can also understand that a Bluetooth host (similar to mobile phone), can be with the slave, the BL substrate in the kit (pre-contained CY8CKIT-142 PSoC 4 BLE module, can also be replaced with CY5671 Proc Ble Module) Communication. Before the actual electricity experience, let's first look at the hardware resource of the entire Cy8ckT-042-BLE low-power Bluetooth development kit.
After removing the CY8CKIT-142 PSoC 4 BLE module, the board resources of the substrate are as follows: (next page)
Onboard PSOC 5LP CY8C5868LTI-LP039 chip, can be used as programming and simulation tools
Onboard F-RAM model FM24V10, 1MB capacity, ie 128K byte capacity
1 RGB LED indicator
1 close-in-style head, 1 capacitive sensing module containing 5 sections, 1 user uses a switch, 1 BLE module reset switch
Compatible open source hardware Arduino interface
Three voltage power supply modes 1.9V, 3.3V, 5V three voltages
Bluetooth development board recommended:
RFD90102 Bluetooth Development Kit An integrated Bluetooth 4.0 Ble on the development board of the fingertips and can be compatible with Bluetooth 4.0 compatible smartphones and computers.
A low-power Bluetooth suite enables medical and fitness equipment to 1 billion to support BLE mobile Internet device simultaneously with the Kinetis modular tower system.
Wunderbar Development Kit A sensor module is automatically connected to an Internet of Thunder applications with Bluetooth low power (BLE) connection main modules to create Android or iOS.
The design of the BL substrate combines the current epidemic elements, such as compatible open source hardware Arduino interface to facilitate engineer DIY, but the author is surprised that the card is actually equipped with the FRAM of Cypras (Radio Random Access Memory, nearly 7 The price of dollar bills), which belongs to non-volatile memory, high-speed access, high-resistance, low power, nonvolatile, and excellent tamper-proof function. Therefore, this memory is especially suitable for smart cards that require high security and low consumption, as well as mobile phones and other devices. The hardware system block diagram of the entire substrate is as follows.
Key to see two BLE modules in the development kit.
I believe that most of the engineers will be curious, why have two BLE modules included in the development kit, what is the difference between these two modules? To this end, the author also compared the characteristics of these two modules, and found that the hardware circuit was the same in addition to the main chip, and the difference between the two became the comparison between the chip.
CY8C4247LQI-BL483
Cybl10563-56lqxi
The red PSoC 4 BLE module is equipped with Cypi-BL483 low-power Bluetooth chip, while the black Proc Ble module is equipped with a Cybl10563-56lqxi chip. (PSoc: programable systems-on-chip; programmable radio-on-chip). Both SOCs are single-chip solutions based on 48MHz Cortex-M0 processors, which integrate the same BLE RF, so the RF parameters and power consumption are consistent:
TX output power: -18dBm ~ + 3dBm
RX sensitivity: -89dBM
TX power consumption: 15.6 mA @ 0 dBm
RX power consumption: 16.4 ma
The other both integrate Capsense, LCD driver, etc., different is the more flexible and more focus on simulation, such as DAC, low-power comparator, op amp, etc. The table below. (Next)
(Click on the form to enlarge)
Bluetooth development board recommended:
RFD90102 Bluetooth Development Kit An integrated Bluetooth 4.0 Ble on the development board of the fingertips and can be compatible with Bluetooth 4.0 compatible smartphones and computers.
A low-power Bluetooth suite enables medical and fitness equipment to 1 billion to support BLE mobile Internet device simultaneously with the Kinetis modular tower system.
Wunderbar Development Kit A sensor module is automatically connected to an Internet of Thunder applications with Bluetooth low power (BLE) connection main modules to create Android or iOS.
CY5670 - CYSMART USB DONGLE transceiver
Cysmart USB Dongle Transceivers Exists in this development kit as a host device with Bluetooth, with a CYSMART software tool with the computer-ended Cysmart software tool to match the PSoC BLE development board (you can understand the phone).
Cysmart USB Dongle Transceiver Hardware Block Diagram is as follows:
As a USB Dongle transceiver, the board is designed to select very little Cybl10162-56lqxi (as shown in the following table), although and Proc Ble belongs to the same series, but removes the peripheral functions such as Capsense, LCD, When the embedded design, it follows the principle of applicable, reducing certain costs to maximize resource utilization.
As for the BLE RF parameters of Cybl10162-56lqxi So, that is the same as CY8C4247LQI-BL483 and Cybl10563-56lqxi, this is no longer repeated.
Development environment
It is necessary to say that it is very easy to say that the PSOC Creater of Cyecond is very easy to say that this IDE tool is very easy to say, and the latest version is 3.3.
PSoC Creater is a software-driven automation generation by hardware connection. For software engineers that drive this unfamiliar, the absolute happiness will be placed, as long as you put the components of the relevant resources, the hardware interface, click Compilation system can automatically generate the drive of the relevant resources. Engineers only need to call the API function directly in the code. During the actual development process, the R & D cycle can be greatly shortened, thus speeding up the product.
In the full software installation package provided by Cypus, in addition to PSoC Creater, including Cysmart, PSoC Programmer, you can use the PSoC 4 BLE development kit, and here is to focus, in use PSoC 4 Ble When Kitprog USB is driven, the PC's system is best not to be a GHOST system. Since some system files are streamlined, it may have a case where it is unable to install, although it looks a small problem, but the actual experience can take People toss dead. (Next)
Bluetooth development board recommended:
RFD90102 Bluetooth Development Kit An integrated Bluetooth 4.0 Ble on the development board of the fingertips and can be compatible with Bluetooth 4.0 compatible smartphones and computers.
A low-power Bluetooth suite enables medical and fitness equipment to 1 billion to support BLE mobile Internet device simultaneously with the Kinetis modular tower system.
Wunderbar Development Kit A sensor module is automatically connected to an Internet of Thunder applications with Bluetooth low power (BLE) connection main modules to create Android or iOS.
CY8CKIT-042-BLE development
Cypress's PSOC 4 series boards we also have experience in the evaluation articles before the panel network. Today, you will focus on the development of BLE. It is well known that BLE has a wide range of application space in the current hot intelligent hardware product field due to low cost, low power, fast start, instant connection, etc. It can achieve point-to-point, or more, a BLE host can connect multiple BLE slave, form a star network, such as our current Bluetooth smart bulb, finding anti-thus and other products.
In the BLE specification, two basic configuration files for GAP (Generic ATRIBUTE) are defined:
The GAP layer is responsible for the device access mode and process, including the device discovery, establishing a connection, terminating connection, initializing security feature, and device configuration.
The GATT layer is used between data communication between the connected Bluetooth devices.
GATT has Service and Client, Service as the server side, providing a READ / WRITE interface for Gatt Client, in general, Central as a Client, Peripheral as a service, here we have a relatively classic application search anti-thrower to experience the host ( CLIENT and the work between the SERVICE.
The slave start broadcasting ---> then the host scans the broadcasting slave ---> After the host's scanning request is received, the host will scan the host to respond to the data ---> Then the host initiates the connection ---> final The master slave started communication.
In many Demo provided in Cypress, there is such a classic routine --ble_findme, which is the application of similar findings. In this routine, the BLE board (pre-mounted CY8CKIT-142 PSoC 4 BLE module) is used as the slave, and as the GATT Service device, the Cysmart USB Dongle transceiver is used as the host, and as the GATT Client device, and the main function is to implement BLE LED alarm function, let's actually look at it.
Open PSoC Creator3.3 -> File -> Code Example, find the BLE_FINDME routine.
After opening this routine, we can find that there are several important components: BLE, three port outputs. (Of course, these components have been configured.)
The configuration of the LED is relatively simple. It is important to configure the BLE module. Double-click the BLE component to enter the configuration. Find Me is letting other devices find this device, which is used as a slave, using the GATT Service rules, as described in the following figure.
Timely alarm function set in Profiles.
GAP configuration. (Next)
Bluetooth development board recommended:
RFD90102 Bluetooth Development Kit An integrated Bluetooth 4.0 Ble on the development board of the fingertips and can be compatible with Bluetooth 4.0 compatible smartphones and computers.
A low-power Bluetooth suite enables medical and fitness equipment to 1 billion to support BLE mobile Internet device simultaneously with the Kinetis modular tower system.
Wunderbar Development Kit A sensor module is automatically connected to an Internet of Thunder applications with Bluetooth low power (BLE) connection main modules to create Android or iOS.
After the BLE component is configured, the connection of the final hardware pin is performed.
Automatically generate related code and BLE protocol stack code after compile, you can call it directly in the program, here, you have used the default Demo to perform compilation downloads.
After the download is complete, we have completed the development of the BLE board (pre-mounted CY8CKIT-142 PSoC 4 BLE module), and then set up the Cysmart USB Dongle transceiver to connect this USB Dongle to your computer.
Open Cysmart1.1 software and click on the corresponding serial number to connect.
In the reproduction, find the START SCAN button to find the PSoC 4 Ble development board after downloading the Find Me routine, you can see that because the two boards are very close, the signal intensity is high.
Run a connection, click Discover All Attributes, the relevant information is consistent with our Demo BLE component configuration, then we can write a command to implement the RGB LED alarm function on the right window, but also implement the firmware OTA upgrade, very good. (Next)
Bluetooth development board recommended:
RFD90102 Bluetooth Development Kit An Integrated Bluetooth 4.0 BleThe fingertips is on the development board and can be compatible with Bluetooth 4.0 compatible smartphones and computers.
A low-power Bluetooth suite enables medical and fitness equipment to 1 billion to support BLE mobile Internet device simultaneously with the Kinetis modular tower system.
Wunderbar Development Kit A sensor module is automatically connected to an Internet of Thunder applications with Bluetooth low power (BLE) connection main modules to create Android or iOS.
Mobile client development
Of course, as a low-power Bluetooth development kit, the low-power Bluetooth development kit for the Internet, the smart hardware application is less than the control of the mobile phone, and Cypress also provides Android and Apple system app for the CY8CKIT-042-Ble kit. Take Andriod as an example to open Cysmart. APP is connected to the development board.
The Alert of the LED can be implemented directly through the functions provided in the app.
Alternatively, the alarm function can also be implemented by writing a command, which is the same as the functionality implemented above the PC client.
In addition, the author also replaces the PSoC 4 BLE module to the Proc Ble module for testing, and the function has made some changes, but the effect principle is the same.
Capsense function demonstration
RGB LED function demonstration
Small knot
Introduced the entire hardware resources of Cypi Pioneer Kit and the development environment, the use of software, and the suite provides 3 low-power Bluetooth solutions of different specifications models, with Cooplas's unique PSoC Creator IDE tool (integrated Bluetooth BLE protocol stack, users can use in the case where Bluetooth BLE is not fully understood, even develop new products, greatly reduced the development threshold of low-power Bluetooth development), users can implement software through hardware thinking The generated of the driver, and then easily implement the functionality by the direct call of the application layer code, even if there is no BLE basis, the small white users can be based on the official information documentation, the modification of the DIY in the DIY is some hot and low. Power Bluetooth smart hardware products, interested friends can also apply for trials to the panel network.
More low-power Bluetooth development board, application recommendation
Low Power Bluetooth Development Kit:
Accelerate Bluetooth Product Development - Boyong Wiced Sense Development Kit Review
Fireble low-power Bluetooth development board evaluation> Can wear bracelet + Bluetooth anti-lifting
Can wear bracelets:
Do you do add a subtraction? - Go to Rewy, watch the world's various smart bracelets
Where is the user? - want to say that you are not easy to wear equipment
Accurate, algorithm intelligence - experience the smart bracelet
Huawei - "Intelligent" wear equipment FLASHCLIP pedometer evaluation dismantling
Bluetooth smart bulb:
Which is 179 yuan, which is strong in Bluetooth smart light bulb? --Yeelight Blueii and IMAGIC Moultry Intelligent Bulb Contrast Analysis
Internal and external repair, improved significantly - IMAGIC Bluetooth smart light 2 generation dismantling
Smart Home New Partners - IMAGIC Smart LED Lights Reconstruction Disassembly
Bluetooth discharge:
Accelerate Bluetooth Product Development - Boyong Wiced Sense Development Kit Review
Let you have a good job - smart Bluetooth finding anti-thile TILE dismantling
Apple is another subversion innovation IBEACON? --Estimote dismantling evaluation
Bluetooth-based 4.0 low power technology - finding anti-discharge evaluation dismantling
Original declaration: This article is originally created by the panel network, declined! "
Our other product: