cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

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
Reply
1 Solution
Moderator
Moderator

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
Reply
6 Replies
Honored Contributor II

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
Reply
Honored Contributor II
Anonymous
Not applicable

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

0 Likes
Reply
Moderator
Moderator

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
Reply
Moderator
Moderator

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

Thanks,

P Yugandhar.

0 Likes
Reply