3269 views|14 replies

46

Posts

0

Resources
The OP
 

BlueNRG-1 Plus Challenge 2nd Edition @【ST MEMS Sensor Technology Forum】 [Copy link]

 
  This post was last edited by tang187 on 2018-1-30 14:03 After much trouble, I finished the first version and can't wait to publish it. Thanks to Brother Xia for his guidance. //**************************// Update: Sort out the low power consumption mechanism. Add the calculation time mechanism. Not completed: Because the supercapacitor was broken by me, I didn't add the detection of 3.3V and other voltages. Now it is turned on and broadcasted every 10S. The various IOs are not sorted out. Please give me some advice, thank you;



TangDabao_First_Ver.hex

268.7 KB, downloads: 2

TangDabao_First_Ver_2.hex

270.9 KB, downloads: 4

This post is from ST - Low Power RF

Latest reply

I saw that your code uses the external pin of ADC to measure the battery voltage. I connected ADC1 to VBLUE and can measure the voltage. The data below is my new measurement. It seems that the counter starts timing when the voltage does not reach 3V. For the inclination angle, it seems that you directly used the X-axis and Y-axis data of the acceleration without calculating the angle. [attach]344467[/attach]   Details Published on 2018-2-7 17:14
 
 

9720

Posts

24

Resources
2
 
I ran your hex file and the phone did not receive the correct data
This post is from ST - Low Power RF

Comments

Your app cannot be used on my phone, but my dongle can receive it, as shown in the picture  Details Published on 2018-1-30 11:32
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

9720

Posts

24

Resources
3
 
The current when idle is more than 1 mA. Is it possible that some low power consumption is not handled properly?
This post is from ST - Low Power RF

Comments

The IO of the 6-axis and air pressure sensor is not processed. I don’t know if this is the reason.  Details Published on 2018-1-30 11:33
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

46

Posts

0

Resources
4
 
littleshrimp posted on 2018-1-30 11:21 I ran your hex file, but my phone can't receive the correct data
Your app can't be used on my phone, but my dongle can receive it, as shown in the picture

微信截图_20180130113145.png (31.73 KB, downloads: 0)

微信截图_20180130113145.png
This post is from ST - Low Power RF
 
 
 

46

Posts

0

Resources
5
 
littleshrimp posted on 2018-1-30 11:24 The idle current is more than 1 mA. Is there any part of the low power consumption that is not handled properly?
The IO of the 6-axis and the pressure sensor is not handled. I wonder if this is the reason.
This post is from ST - Low Power RF
 
 
 

9720

Posts

24

Resources
6
 

I tested your TangDabao_First_Ver_2.hex file and found that the current is still high, 1.31mA when idle. Because the phone cannot receive data, I can see the data with the packet capture software. Now I don't know the corresponding relationship between the broadcast data and the voltage, timing, air pressure, temperature and inclination. Can you tell me more?
This post is from ST - Low Power RF

Comments

Hi, I uploaded it in this way.  Details Published on 2018-2-4 14:21
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

46

Posts

0

Resources
7
 
littleshrimp posted on 2018-2-4 13:22 I tested your TangDabao_First_Ver_2.hex file, and the current is still relatively high, 1.31mA when idle Because the mobile phone cannot receive data...
Hello, I uploaded it in this way

TIM截图20180204142102.png (52.06 KB, downloads: 0)

TIM截图20180204142102.png
This post is from ST - Low Power RF

Comments

The red box is the data I received. How can I match it with your format? [attachimg]344336[/attachimg]  Details Published on 2018-2-6 19:51
 
 
 

9720

Posts

24

Resources
8
 
tang187 posted on 2018-2-4 14:21 Hello, I uploaded it in this way
The data in the red box is the data I received, how can I match it with your format?
This post is from ST - Low Power RF

Comments

Hello, the comments are as follows  Details Published on 2018-2-6 22:21
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

46

Posts

0

Resources
9
 
littleshrimp posted on 2018-2-6 19:51 The red box is the data I received, how can I match it with your format?
Hello, the comments are as follows

TIM截图20180206222105.png (18.63 KB, downloads: 0)

TIM截图20180206222105.png
This post is from ST - Low Power RF

Comments

Is the voltage always outputting 0V?  Details Published on 2018-2-6 22:35
 
 
 

9720

Posts

24

Resources
10
 
tang187 posted on 2018-2-6 22:21 Hello, the comments are as follows
Is the voltage always outputting 0V?
This post is from ST - Low Power RF

Comments

I don't know why, but it was OK when I tested it before. I will compile it again and send it to you. Please test it again. Thank you.  Details Published on 2018-2-6 22:40
 
 
 

46

Posts

0

Resources
11
 
This post was last edited by tang187 on 2018-2-7 09:31
littleshrimp posted on 2018-2-6 22:35 Is the voltage always outputting 0V?
I don't know why. My previous test was OK. I will compile it again and send it to you. Please test it again. Thank you

Tang187.hex

272.12 KB, downloads: 0

This post is from ST - Low Power RF

Comments

What are the data after your own testing? Is each set of data normal and how long can it work?  Details Published on 2018-2-7 08:36
 
 
 

9720

Posts

24

Resources
12
 
tang187 posted on 2018-2-6 22:40 I don't know why, my previous test was OK, I will compile it again and send it to you, please test it again, thank you
What is the data after your own test? Is each set of data normal and how long can it work?
This post is from ST - Low Power RF

Comments

Hi, here is the data I captured.  Details Published on 2018-2-7 08:49
 
 
 

46

Posts

0

Resources
13
 
This post was last edited by tang187 on 2018-2-7 08:50
littleshrimp posted on 2018-2-7 08:36 What is the data after your own test? Is each set of data normal and how long can it work?
Hi, here is the data I got.

微信截图_20180207085026.png (54.84 KB, downloads: 0)

微信截图_20180207085026.png
This post is from ST - Low Power RF

Comments

I tested your February 2nd file BLE_Examples\BLE_Beacon\MDK-ARM\BlueNRG-1\Release\Objects\BLE_Beacon.bin. Below is the captured packet and the data received by the phone. The data format seems to be different from your previous version. I used it before in your post http://bbs.eeworld.com  Details Published on 2018-2-7 17:04
 
 
 

9720

Posts

24

Resources
14
 
tang187 posted on 2018-2-7 08:49 Hello, the following is the data I captured.
I tested your file BLE_Examples\BLE_Beacon\MDK-ARM\BlueNRG-1\Release\Objects\BLE_Beacon.bin from February 2. Below are the captured packets and the data received by the phone. The data format seems to be different from your previous version. I used the TangDabao_First_Ver_2.hex test you provided in the post https://bbs.eeworld.com.cn/thread-611993-1-1.html before. The pressure and temperature data are close, but the battery voltage and tilt angle data are incorrect



This post is from ST - Low Power RF

Comments

I saw that your code uses the external pin of ADC to measure the battery voltage. I connected ADC1 to VBLUE and can measure the voltage. Below is the data I just measured. It seems that the counter starts timing when the voltage does not reach 3V. For the inclination angle, it seems that you directly used the X-axis and Y-axis data of the acceleration without calculating the angle. [att  Details Published on 2018-2-7 17:14
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

9720

Posts

24

Resources
15
 
littleshrimp posted on 2018-2-7 17:04 I tested your file BLE_Examples\BLE_Beacon\MDK-ARM\BlueNRG-1\Release\Objects\BLE_Beacon.bin on February 2nd...
I saw that your code uses the external pin of ADC to measure the battery voltage. I connected ADC1 to VBLUE and can measure the voltage. The data below is my new measurement. It seems that the counter starts timing when the voltage does not reach 3V. For the inclination angle, it seems that you directly used the X-axis and Y-axis data of the acceleration without calculating the angle.

This post is from ST - Low Power RF
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

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