Battery monitoring for CYBLE-022001-0

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Can someone please post example how can I measure battery with 022001-0 module. I have the same code working for 012011-0.

When I change the Vref to pin 1.7 and use one of pins 3.X as ADC inputs, the battery measurement does not work.

0 Likes
1 Solution
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello Uros,

For CYBLE-022001-00 module, the VREF pin has bypass capacitor as shown in below schematic diagram which was not externally connected to pad. So It is not possible to connect the analog input pin to the VREF for battery measurement.

pastedImage_0.png

For CYBLE-012011-00 module, the VREF pin is externally connected to the pad as shown in below image. So we can connect the input of SAR ADC to this VREF pin for battery measurement.

pastedImage_1.png

Thanks,

P Yugandhar.

View solution in original post

0 Likes
6 Replies
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Please post your code by clicking on File then Create WorkSpace bundle and post that file to a new comment. Please use the Advanced editor to do this. Then we can check your program. 

0 Likes
Anonymous
Not applicable

As I can see the new devices have Vref output, which was not present on old device.

0 Likes
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello Uros,

For CYBLE-022001-00 module, the VREF pin has bypass capacitor as shown in below schematic diagram which was not externally connected to pad. So It is not possible to connect the analog input pin to the VREF for battery measurement.

pastedImage_0.png

For CYBLE-012011-00 module, the VREF pin is externally connected to the pad as shown in below image. So we can connect the input of SAR ADC to this VREF pin for battery measurement.

pastedImage_1.png

Thanks,

P Yugandhar.

0 Likes
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Please refer the CYBLE-022001 datasheet and CYBLE-012011-00 datasheet for more information.

Thanks,

P Yugandhar.

0 Likes