58705 views|0 replies

105

Posts

1

Resources
The OP
 

[Silicon Labs BG22-EK4108A Bluetooth Development Review] Burn Bootloader + Debug Bluetooth iBeacon [Copy link]

 

【Silicon Labs BG22-EK4108A 蓝牙开发评测】烧录Bootloader+调试蓝牙iBeacon.pdf (2.52 MB, downloads: 0)

Source code of this article soc_ibeacon.zip (3.2 MB, downloads: 0)

Development board PCB schematic diagram BRD4108A-A03-pkg.zip (2.9 MB, downloads: 0)

I would like to thank Electronic Engineering World ( EEWORLD ) and Silicon Labs & Arrow for the opportunity.

Bluetooth iBeacon devices implement broadcast beacons without linking mode. Bluetooth iBeacon services provide a simple and convenient way to send iBeacon to smartphones. This article uses the development board as a Bluetooth iBeacon device , and the EFR Connect APP installed on the Apple phone obtains iBeacon broadcasts , showing application scenarios when the distance is close or far away through Bluetooth iBeacon , such as information push and notification when customers enter and leave the store in a shopping mall.

iBeacon is a new feature introduced by Apple iOS7 , which can realize indoor positioning function for APP . Google also released a similar feature Google Eddy stone . The following table compares the features of the two :

compatibility

Openness

type of data

Ease of use

safety

Apple iBeacon

Compatible with Android and iOS , but natively supported on iOS

Private Protocol

UUID with Major and Minor .

Simple

No safe data types

Google Eddystone

Compatible with Android and iOS , any BLE beacon can be supported

Open Source Agreement

UID, EID, URL, TLM .

Simple, but complex application scenarios require additional programming

It is safe when using EID

The operation of Bluetooth firmware requires the development board to be pre-burned with Bootloader , which boots the user's Bluetooth firmware program. Bootloader firmware can be obtained through various channels. This article uses the Demo program provided by the SDK to burn Bootloader .

This article requires you to first complete the content of " Silicon Labs BG22-EK4108A Bluetooth Development Evaluation】Schematic Diagram + Building Development Environment + Debugging and Lighting " .

1. Install the EFR Connect APP on your phone

Search and install the EFR Connect APP in the APP store .

In the " Develop " tab, you will see the " Browser " demo, which you will use for subsequent testing.

2. Burn Bootloader

Open Simplicity Studio and log in, then connect the BG22 development board . Simplicity Studio automatically recognizes the development board and clicks the “ Start ” button.

Select the " Bluetooth " filter in " EXAMPLE PROJECTS & DEMOS " and click " RUN " in " Demo Bluetooth - SOC iBeacon " to start burning the Bootloader , as shown below.

Demo Bluetooth SOC iBeacon ” will burn both the Bootloader and the demo firmware at the same time.

3. Create a Bluetooth SOC iBeacon project

Select the “ Bluetooth ” filter in EXAMPLE PROJECTS & DEMOS ” and click “ CREATE ” in “ Bluetooth SOC iBeacon ” to create a new project, as shown below.

You can specify another project directory. Selecting " Copy contents " means copying all required files from the SDK to the local project, which can prevent the original files of the SDK from being modified . As shown below:

The " Bluetooth - SOC iBeacon " project is successfully created and the readme file is automatically displayed . As shown below:

Double-click " soc_ibeacon.pintool " to see the configuration of GPIO and peripherals in this project . It can be found that this project does not use functional peripherals :

4. Debug Bluetooth SOC iBeacon program

Right-click the Bluetooth SOC iBeacon project folder and select “ Build configurations->Build All ” to compile the project:

Compilation completed successfully :

Right-click the Bluetooth SOC iBeacon project folder and select “ Debug As->1 Silicon Labs ARM Program to start debugging:

Click " Yes " to ignore a warning:

Click the green arrow icon to start debugging:

Open the EFR Connect APP on your phone and make sure the permissions required by the APP are allowed . iBeacon requires location permissions, which must be enabled :

In the APP 's " Develop->Browser " demo, search and view an iBeacon service broadcast , which is the broadcast received by the mobile phone when the distance is close .

For user-developed APPs , when the proximity broadcast is obtained, information can be pushed to the user to implement iBeacon applications. As shown in the following figure:

Click the red square icon to stop debugging:

5. Summary

This article first burns the Bootloader required for testing the Bluetooth program , and then gives details on how to create a Bluetooth - SOC iBeacon project, compile and start debugging. It simulates the EFR Connect APP on the mobile phone and shows that the broadcast can be received when the distance is close to the iBeacon . Users can complete more iBeacon applications when developing APPs .

 
 

Find a datasheet?

EEWorld Datasheet Technical Support

Featured Posts
High-frequency power transformer design principles, requirements and procedures

Xu Zewei, editor of International Electronic Transformer    Abstract: Starting from the high-frequency power transfor ...

PCB LAYOUT Manual

PCB Design Documentation PCB LAYOUT Manual

Research on the difference between left and right channel signals of audio

This post was last edited by bqgup on 2020-9-18 14:31 # Exploration of the difference between left and right channel s ...

[Raspberry Pi Pico Review]——by fxyc87

@fxyc87 - Unboxing + Download - Start Programming - Start compiling the program 2 - How to save the written progra ...

[Sipeed LicheeRV 86 Panel Review] Using crosstool-ng to build a compiler for riscv64

Use crosstool-ng to build the compiler for riscv64 crosstool-ng, the full name is crosstool Next Generation, which is t ...

Recruiting a product development manager, based in Shenzhen

Job Responsibilities: 1. Gain insight into the market, understand product user needs, develop product plans, and be res ...

MOS tube selection problem

I want to use a SOT23 MOS tube to drive a 24V/180MA solenoid valve. The maximum power dissipation here is 2.5W, but 24*0 ...

【MSPM0L1306 LaunchPad Development Kit】2. Configure the development environment and download and run the first program

If you want to quickly understand a new board, the first step is to obtain some basic information. In this usage activit ...

First release! Allwinner T527 first core board, high-performance 8-core processor with AI NPU

Today, Mir Electronics and its strategic partner Allwinner Technology have jointly launched the first T527 core board an ...

Silicon integrated circuit process fundamentals

The book has a total of ten chapters. The first chapter briefly describes the crystal structure of silicon. Chapters 2 t ...

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list