Measuring Battery Level for JN516x based devices

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Measuring Battery Level for JN516x based devices

ソリューションへジャンプ
2,376件の閲覧回数
davidashraf
Contributor V

Hi ,

I am trying to monitor the battery life of JN5168-001-M00 module running Zigbee 3.0 Application based on AN1229
Is there a software module provided to measure the battery level ? 

Thanks.

1 解決策
1,760件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi David,

Please see the file attached.

Best Regards,

Mario

元の投稿で解決策を見る

13 返答(返信)
1,760件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi David,

Your local sales provided the answer Reading And Calculating The Battery Voltage.
Please let me know if you received the answer and also if you have more questions.

Best Regards,

Mario

0 件の賞賛
1,760件の閲覧回数
davidashraf
Contributor V

No I didn't receive it ,where can I find it ? 

0 件の賞賛
1,761件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi David,

Please see the file attached.

Best Regards,

Mario

1,760件の閲覧回数
davidashraf
Contributor V

Thanks alot Mario! 

Actually I have another question and I don't know whether I should start a new thread for it 
When I try entering a module ( JN5168-001-M00 ) into deepsleep mode while I'm connecting the module to a pc through serial uart module I notice that RX led keep receiving things during sleeping .. is that normal ?

I am using zigbee 3 sdk and coding based on JN-AN-1229-ZBPro-Application-Template-v1002

Thanks.

0 件の賞賛
1,760件の閲覧回数
dheerajsawant
Contributor V

Hello davidashraf‌ & mario_castaneda‌, 

I have another question, that at which voltage level JN5168-001-M00 will get shutdown.

is it fixed?

(I mean at which voltage level like 0.6v, 0.5 voltage)

i hope you got my question!

Thank you

0 件の賞賛
1,760件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Dheeraj,

You are working with the end device, coin battery, aren't you?

I recommend using the 6.4 Supply Voltage Monitor (SVM)

You can set the threshold voltage like you want with the available options, and is controllable by software.

https://www.nxp.com/docs/en/data-sheet/JN516X.pdf 

Note.  the voltage must fall to 1.2v before a reset is generated.So, you can set a bigger voltage to avoid this.

Regards,

Mario

0 件の賞賛
1,760件の閲覧回数
dheerajsawant
Contributor V

Hello mario_castaneda‌, 

Everything was going well. 

(i am sending data from SED to Coordinator)

i have design a protocol that so that protocol packet got send. 

in that packet i have listed battery_Status, Temperature, Humidity and so on..

but when i try testing from today its sends one packet correctly. 

example like when battery status got change on SED point its shows on terminal but that changes didn't come up on  coordinator point.

its shows only my First packet data continuously. 

so that i tried another way that took integer variable and while sending, i increment that integer value. 

but :smileysad: same thing happen that integer value is change on SED point but didn;t received increment value except my first packet.

i don't understand i did.

i Hope you understand my problem.

best Regards, 

Dheeraj Sawant

0 件の賞賛
1,760件の閲覧回数
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Dheeraj,

Did you solve this issue?

Regards,

Mario

0 件の賞賛
1,760件の閲覧回数
dheerajsawant
Contributor V

Hello mario_castaneda‌, 

Actually i didn't solve that issue :smileysad: . 

But i import fresh copy of 1229 Application in Beyond studio & do necessary changes as per my project application. 

Now its working correctly.

i think i have done mistake in ZPS Configuration. but i couldn't find that problem.

Best Regards, 

Dheeraj Sawant

0 件の賞賛
1,760件の閲覧回数
dheerajsawant
Contributor V

Hello mario_castaneda‌, 

Sorry to say, 

that i am not using coin battery.

just for testing i am using duracell batteries which i connect 2 batteries in series and get 3v and send it to our Module.

But yes i am working with Sleeping End Device.

but i go through with your pdf(DOC-333272) which you attached 

and its works perfectly for me :smileyhappy:. 

its showing battery voltage as we required.

Thanks 

Best Regards 

Dheeraj Sawant

0 件の賞賛
1,760件の閲覧回数
dheerajsawant
Contributor V

Hello davidashraf‌, 

No,

in DeepSleep Mode you should not receive any data from Tx device.

0 件の賞賛
1,760件の閲覧回数
dheerajsawant
Contributor V

Hello davidashraf‌ & mario_castaneda‌, 

I have question related to battery. 

in PDF of JN5168-001-M00 mention that its having built in battery Monitor what does that mean?

Is the same thing which you both of you discuss on above question?

Please reply asap!

0 件の賞賛
1,772件の閲覧回数
davidashraf
Contributor V

I know about the SVM functionality , but I want to keep monitoring the actual value of supply voltage and report it on regular basis.
So I want to know if this is possible internally
Any help ? 

0 件の賞賛