⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
15个帖子/ 0新
Last post
Rajapurerohit
Offline
Last seen:8个月1周前
加入:2017-04-20 09:17
Lipo电池阅读

Hello dialog_Support,

我正在研究项目,我的设备使用DA14583 MCU和软件设计,使得使用BLE命令它已打开/关闭LED。

但是,我的硬件使用收入的Lipo电池供电,每当电池低电平时,我都可以为此充电,我需要向用户提供指示。

要监控电池电量,我需要在我的软件中提供Provison,我可以使用计时器检查电池电平。

I have referred the Battery driver library as example but i could only see provision for read the coin cell and AAA cell battery level.

So is there any library available with you to read LiPo battery level ? if yes, please share the library i will use as it is.

如果没有,那么你能帮我如何为Lipo电池构建图书馆?

提前致谢

Rohit Rajapure.

设备:
PM_Dialog
Offline
Last seen:1 day 21 hours ago
Staff
加入:2018-02-08 11:03
嗨rajapurerohit,

嗨rajapurerohit,

Can you please let me know if you are using the LiPo directly to DA14583 in order to power it up? If yes, how are you powering up the DA14583? Which LiPo are you using? Be aware that DA14583 can support up to 3.3V. If the LiPo is fully charged, does the voltage level exceed the 3.3V? I would like to understand how you are doing power budget and how you are supplying power to DA14583. In addition, which mode of DCDC converter you are using? buck or boost mode?

Thanks, PM_Dialog

Rajapurerohit
Offline
Last seen:8个月1周前
加入:2017-04-20 09:17
Helli PM_dialog,

Helli PM_dialog,

如果您将Lipo直接使用直接到DA14583以便为此供电?
* No. NCP114, 3.0V 300 mA CMOS Low Dropout Regulator from On Semiconductor is used to regulate the voltage from the Battery (Datasheet attached)
* LDO的启用引脚永久连接到

Which LiPo are you using? Be aware that DA14583 can support up to 3.3V

如果Lipo充满电,电压电平超过3.3V吗?
*关闭货架上使用的电池

你是如何做电力预算的?
*没有具体的策略

如何向DA14583提供电源
* NCP114 as mentioned above is used to regulate VCC to 3.0V

Which mode of DCDC converter you are using? buck or boost mode?
* NCP114 supports Operating Input Voltage Range: 1.7 V to 5.5 V and output is fixed 3.0V(Buck-Boost?)

Battery charger used is MCP73831, Miniature Single-Cell, Fully Integrated Li-Ion, Li-Polymer Charge Management Controllers, from Microchip(Datasheet attached)

第二个项目: -

而且,我的其他产品使用AAA 2电池供电系统。要监控电池电量,我使用内置库BAT_LVL();并称为读取AAA的功能。但我总是收到147%的水平。所以我不理解它在电压或水平方面?你能帮我帮助我吗?如何在监控电池水平均衡到100%至100%?

感谢致敬

Rohit Rajapure.

Attachment:
PM_Dialog
Offline
Last seen:1 day 21 hours ago
Staff
加入:2018-02-08 11:03
嗨rajapurerohit,

嗨rajapurerohit,

Just a correction in my previous comment, the DA14583 is operating only in buck mode. The DA145583 doesn’t operate in Boost mode like the DA14580. Let me check your inputs and I will get back to you as soon as possible.

Thanks, PM_Dialog

Rajapurerohit
Offline
Last seen:8个月1周前
加入:2017-04-20 09:17
嗨pm_dialog,

嗨pm_dialog,

有没有更新?

我要解决这个问题是迫切的,请尽早帮助我。

感谢致敬

rohit.

PM_Dialog
Offline
Last seen:1 day 21 hours ago
Staff
加入:2018-02-08 11:03
嗨rajapurerohit,

嗨rajapurerohit,

关于你的利润电池问题,直到现在,我没有任何新闻,但如果有任何可用的情况,我已经在内部问道。关于你的第二个项目,你是使用2个AAA电池的电源吗?如果您正在运行SDK的BATT_LVL示例,您是否更改了Battle_Get_LVL()的参数到Batt_AAA?

Thanks, PM_Dialog

Rajapurerohit
Offline
Last seen:8个月1周前
加入:2017-04-20 09:17
嗨pm_dialog,

嗨pm_dialog,

Thanks for the feedback,

是的,正如我在上一篇文章中提到的,我使用2个AAA电池电量来启动设备,并使用Battl_LVL()函数与AAA读取级别。

So please let me know why it always giving me 147% or is it in terms of voltage. If it is in terms of percentage then how to calibrate for 0 to 100% level using this?

感谢致敬

rohit.

PM_Dialog
Offline
Last seen:1 day 21 hours ago
Staff
加入:2018-02-08 11:03
嗨rajapurerohit,

嗨rajapurerohit,

Can you please try to log the adc_sample value in battery_get_lvl() function? When 2 AAA batteries are connected is series, the device is in buck mode.

Thanks, PM_Dialog

Rajapurerohit
Offline
Last seen:8个月1周前
加入:2017-04-20 09:17
嗨pm_dialog,

嗨pm_dialog,

我收到价值147%。

和脂肪库有任何更新吗?

感谢致敬

rohit.

Rajapurerohit
Offline
Last seen:8个月1周前
加入:2017-04-20 09:17
Hi,

Hi,

两个项目问题的更新?

我要解决的是真的很迫切请帮忙。

感谢致敬

rohit.

PM_Dialog
Offline
Last seen:1 day 21 hours ago
Staff
加入:2018-02-08 11:03
Hi Rohit,

Hi Rohit,

Regarding the LiPo battery, I checked it internally, and there is not any software to monitor the battery level. Keep in mind that is not recommend to use LiPo battery with DA1458x products. To do so, if you still want to use a LiPo battery, you should have our own calculations. Regarding the 2 x AAA batteries connected to series, can you please run the adc example of the SDK in debug mode, add a break point adc_get_vbat_sample() and let me know what this function returns?

Thanks, PM_Dialog

Rajapurerohit
Offline
Last seen:8个月1周前
加入:2017-04-20 09:17
嗨pm_dialog,

嗨pm_dialog,

Thank you for your response,

您提到过,“请记住,不建议使用Lipo电池与DA1458x产品” - 我可以知道为什么不建议它(Lipo电池)。亚博电竞菠菜是否有任何关于相同的文件?

感谢致敬

rohit.

Rajapurerohit
Offline
Last seen:8个月1周前
加入:2017-04-20 09:17
Hi,

Hi,

I have checked the device in debug mode,

With following function,

1) adc_get_vbat_sample()

2)battery_get_lvl(BATT_AAA)

Attached are the images of values of sample and Bat_val.

我恳请您急需分享该点。这是非常紧迫的。

提前致谢

rohit.

Attachment:
Rajapurerohit
Offline
Last seen:8个月1周前
加入:2017-04-20 09:17
嗨pm_dialog,

嗨pm_dialog,

迫切需要解决。,

您已提到使用使用DA1458x产品的Lipo电池使用。

你能告诉我为什么不推荐为什么?它是否会对控制​​器或DA1458x产品的任何其他效果影响功能 - 明智?亚博电竞菠菜

我们已经使用了电池的东西,我们的产品属于生产阶段,所以请分享为什么不推荐利润,并影响DA1458x。

提前致谢

rohit.

PM_Dialog
Offline
Last seen:1 day 21 hours ago
Staff
加入:2018-02-08 11:03
嗨rajapurerohit,

嗨rajapurerohit,

Let me clear the things out. You can used LiPo battery with DA1458x product family, but you should make sure that the suppling voltages are according to datasheet specifications. The DA1468x / DA1469x products are designed to run with rechargeable batteries, but since the battery that you are using is within voltage specifications you could use it with DA14583 as well. If you would like to get the LiPo battery level, you should proceed with your own implementation as it is not supported in the ADC example of the SDK. TO do so, LiPo will not have any affects if you have taken care that voltage specification of the chip. 2. Regarding the DA14583 datasheet, the battery supply voltage (VBAT3V) should be between 2.35V and 3.3V, which are the Recommended Operating Conditions. If LiPo is always within the limits, then there is no problem to use it. In addition, again according to DA14583 datasheet, the maximum voltage limit for VBAT is 3.6 volt, so it is highly recommended to not supply the chip with a voltage over 3.6 volt. Regarding you issue with the 2 x AAA connected in the row, the ADC example supports that condition. So, when powering the DA14583, are you always getting these results?

Thanks, PM_Dialog