January 14, 2016 4:45 AM CET
in the topic
Voltage Calculation in the forum
Support
With reference
https://social.sbrick.com/wiki/view/pageId/11/slug/the-sbrick-ble-protocol
0F Query ADCI send 0F00 and read into 2 byte buffer values 0x30 0x48 So dec 48 and 72 -> 48 + ( 72 * 256 ) => 18480
Document notes The PSU voltage is dropped through a 10:1 voltage divider.
VPSU = ADC / 16 * 1.24 / 2047
= 18480 / 16 * 1.24 / 2047 = 0.6996 This value looks wrong.Measuring with multimeter I get 7.46v .. sbrick iphone app gives 7.43v Help? Am I doing something incorrectly ?
This post was edited by Peter Childs at January 14, 2016 4:45 AM CET