- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
i am working with the Cypress BLE Pioneer Kit. I replaced the original Eval-board with the the CYBLE-022001-EVAL.
The bluetooth HID keyboard example is working. It connects and the simulated battery level ist displayed. When i am now trying to measure real battery levels, i ran into problems.
I connect an power supply to the Port 3.7 and apply 0-1.024V. The reference voltage is selected as internal 1.024V. If i go down to 30% of the voltage the Low power LED goes on. But the battery level which is displayed goes up to 100%. If i apply 1.024V to the pin the low power LED is off but the battery level is shown as 100%.
It seems to me, that the battery level via BLE is inverted. Where is a good starting point to search for this error in the original example ?
best regards
Lars
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is not really my project, it is the example project which came with the PSoc Creator 3.2, The only changes i made to the project is to enable the battery measurement and to disable the battery simulation. This was done by one variable in the bas.h file.
And then i selected Pin 3.7 as input pin for the ADC Component. Thats all.
Of course i have another project where i have difficulties with the ADC. That was the reason, why i wanted to ensure that the config is correct and started over with the example project from Cypress (Bluetooth HID Keyboard).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content