5253 views|9 replies

664

Posts

104

Resources
The OP
 

BlueNRG-1 completes the challenge (power consumption difference) [Copy link]

 This post was last edited by gs001588 on 2018-1-31 01:02
BlueNRG-1 plus challenge function completed (power consumption difference)
The broadcast data is based on the array structure of moderator littleshrimp,The function is basically completed.
Unfortunately, the working time is too short, only 200 seconds, and I have to find out which part has problems. The hardware does not have a direct-insert resistor. I don't have one at home. It is a rare item. The company also uses SMD ones. (The moderator added a direct-insert resistor in the post, https://bbs.eeworld.com.cn/forum. ... 9556&fromuid=449420)
Voltage 2 bytes, time 4 bytes, air pressure 2 bytes, temperature 2 bytes, X axis 2 bytes, Y axis 2 bytes. "07 9f 00 02 2A 12 26 41 00 ED 00 0F 00 1B" Voltage: 0x079f = 1951mV; Time: 0x00022A12 = 141842ms = 141.842 seconds Air pressure: 0x2641 = 9739, 9739/10 = 973.9mbar, not converted to hPa yet Temperature: 0x00ED = 237, 237/10 = 23.7 degrees Celsius X axis: 0x000F = 15, 15/10 = 1.5 degrees Y axis: 0x001B = 27, 27/10 = 2.7 degrees Initial version 20180128 Test firmware: 200 seconds 343323 20180129 Test firmware: 10 minutes of work 343776 [/attach]


BLE_Beacon_gs001588.bin

89.53 KB, downloads: 2

BLE_Beacon_gs001588_0129.bin

89.54 KB, downloads: 1

This post is from ST - Low Power RF

Latest reply

It is boring. If you don’t connect a multimeter to check the current voltage, you can’t even be sure whether it works. For example, if you don’t receive data for a few hours, you can check and find that the power supply is not connected  Details Published on 2018-1-30 15:30
 
 

664

Posts

104

Resources
2
 
According to the moderator's post, it seems that I did not set the sensor to low power consumption, and only the BlueNRG-1 low power consumption did not work.
This post is from ST - Low Power RF
 
 
 

9720

Posts

24

Resources
3
 

Your idle current is about 1.6mA. Maybe the sensor and BlueNRG-1's low power mode are not properly handled. The wake-up time is 1.25 seconds. If the power consumption is reduced, this time can be extended. The voltage value should be divided by 100.

Screenshot_2018-01-29-11-47-39.png (172.43 KB, downloads: 0)

Screenshot_2018-01-29-11-47-39.png

QQ图片20180129114811.png (62.99 KB, downloads: 0)

QQ图片20180129114811.png
This post is from ST - Low Power RF

Comments

Thanks to littleshrimp for helping me test!! My Honor 8 is also immune to APP. I can't receive data packets when I open it, so I use USB Dongle. I will go back to work on low power consumption of sensors. I tested the current of BlueNRG-1 by connecting JP4 with a multimeter. It jumps between 0 and 0.38mA. It may not be accurate.  Details Published on 2018-1-29 12:01
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

664

Posts

104

Resources
4
 
This post was last edited by gs001588 on 2018-1-29 12:08
littleshrimp posted on 2018-1-29 11:52 Your idle current is around 1.6mA. Maybe the sensor and BlueNRG-1's low power mode don't handle the 1.25 second wake-up time well. If the power consumption is reduced...
Thank you littleshrimp for helping me test it!! My Honor 8 is also immune to APP. I can't receive data packets when I open it, so I use USB Dongle. I'll go back and work on the low power consumption of the sensor. I tested the current of BlueNRG-1 by connecting a multimeter to JP4. It jumps between 0 and 0.38mA. It may not be accurate. For voltage, I uploaded the mV value. If it is suitable for your APP, I will modify it. The entry requirements say that the unit to be uploaded is mV. You need to upload 3.0V, 2.8V, 2.6V, 2.4V, 2.2V, and 2.0V.
This post is from ST - Low Power RF

Comments

The actual current also includes the acceleration and pressure sensors. The measurement of pin 2 of jp2 is closer to the discharge current of the supercapacitor. Look at the low power consumption. Logic sensors are not often used. It is recommended to use single conversion mode, or configure it to enter power-down mode immediately after the conversion is completed.  Details Published on 2018-1-29 12:06
 
 
 

9720

Posts

24

Resources
5
 
gs001588 posted on 2018-1-29 12:01 Thank you littleshrimp for helping me test!! My Honor 8 is also immune to APP. I can't receive data packets when I open it, so I use USB Dongle. Go back...
The actual current also includes acceleration and pressure sensors. The measurement of pin 2 of jp2 is closer to the discharge current of the super capacitor. Take a look at the low power consumption. Logic sensors are not often used. It is recommended to use single conversion mode, or configure it to enter power-down mode immediately after the conversion is completed.
This post is from ST - Low Power RF

Comments

OK, thanks for your guidance. Air pressure and temperature are used least frequently; after the power consumption is stable, try to touch the voltage change curve, so that when the voltage is high, you can take a longer interval before sampling the voltage, and take more frequently when it is below 1.5V; take samples in the X and Y directions every time, and consider turning off the Z and the other three. I don't know if it can be done.  Details Published on 2018-1-29 12:13
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

664

Posts

104

Resources
6
 
littleshrimp posted on 2018-1-29 12:06 The actual current also includes the acceleration and air pressure sensors. Measuring the 2nd pin of jp2 is closer to the discharge current of the supercapacitor. You can look at the logic of low power consumption...
OK, thank you for your guidance. Air pressure and temperature are used least frequently; after the power consumption is stable, try to touch the voltage change curve, so that when the voltage is high, you can sample the voltage at a longer interval, and sample more frequently when it is below 1.5V; sample the X and Y directions every time, and consider turning off the Z and the other three. I don’t know if it can save more.
This post is from ST - Low Power RF

Comments

In fact, the most power-saving method is to measure the battery voltage after waking up regularly, and then measure the sensor and broadcast data when the battery voltage meets the conditions for sending data, and then enter sleep mode.  Details Published on 2018-1-29 12:20
 
 
 

9720

Posts

24

Resources
7
 
gs001588 posted on 2018-1-29 12:13 OK, thank you for your guidance. Air pressure and temperature are used least frequently; after the power consumption is stable, try to touch the voltage change curve, so that when the voltage is high, you can...
In fact, the most power-saving way is to measure the battery voltage after waking up regularly, and then measure the sensor and broadcast data when the battery voltage meets the conditions for sending data, and then enter sleep mode.
This post is from ST - Low Power RF

Comments

Thanks for your guidance! Last night, I turned on the environmental sensor LPS25HB only before sampling, and powered it down after sampling. I haven't figured out how to use LSM6DS3 yet. The structure in the sample is very complicated. I tried to reinitialize it before sampling in the program, and then powered down the device after sampling, but I couldn't successfully resample the value.  Details Published on 2018-1-30 15:04
Thanks for your guidance! Last night, I turned on the environmental sensor LPS25HB only before sampling, and powered it down after sampling. I haven't figured out how to use LSM6DS3 yet. The structure in the sample is very complicated. I tried to reinitialize it before sampling in the program, and then powered down the device after sampling, but I couldn't successfully resample the value.  Details Published on 2018-1-30 09:41
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

664

Posts

104

Resources
8
 
littleshrimp posted on 2018-1-29 12:20 Yes, in fact, the most power-saving method is to measure the battery voltage after waking up regularly, and then measure the sensor and broadcast data when the battery voltage meets the conditions for sending data...
Thank you for your guidance! Last night, the environmental sensor LPS25HB was turned on only before sampling, and then powered down after sampling. I haven't figured out the LSM6DS3 yet. The structure in the sample is very complicated. I tried to re-initialize before sampling in the program, and power down the device after sampling, but failed to successfully re-sample the value. It seems that I may have to do it directly with I2C. I downloaded and read the program information uploaded by the forum "Spying Paper Sky Eye". I have turned off the Z of the gyroscope and accelerometer. I haven't processed the SPI IO yet. Now the working time can be up to 10 minutes.
This post is from ST - Low Power RF
 
 
 

1374

Posts

2

Resources
9
 
littleshrimp posted on 2018-1-29 12:20 Yes, in fact, the most power-saving way is to measure the battery voltage after timed wake-up, and then measure the sensor and broadcast data when the battery voltage meets the conditions for sending data...
Yes, I have done this, but it is too boring to have no movement for a long time.
This post is from ST - Low Power RF

Comments

It's boring. If you don't connect a multimeter to check the current voltage, you can't even be sure whether it works. For example, if you don't receive data after waiting for a few hours, you will find that the power supply is not connected.  Details Published on 2018-1-30 15:30
 
 
 

9720

Posts

24

Resources
10
 
cruelfox posted on 2018-1-30 15:04 Yes, I have done this, but it is too boring when there is no movement for a long time.
It is boring. If you don’t connect a multimeter to check the current voltage, you can’t even be sure whether it works. For example, if you don’t receive data for a few hours, you can check and find that the power supply is not connected
This post is from ST - Low Power RF
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

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