Skip to content

Commit 5f6f619

Browse files
Diana LolesDiana Loles
authored andcommitted
MPAE-16817: added comments after TW review
1 parent 4268466 commit 5f6f619

22 files changed

+7
-52407
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33

44
## Sensor Board Battery Measurement Using the PIC16F18446 Microcontroller
55

6-
The PIC16F184xx family has a new Analog-to-Digital Converter with Computation (ADCC) with a 12-bit resolution. This project shows how the PIC can internally measure its Vdd using the ADCC and FVR.
6+
The PIC16F184xx family has a new Analog-to-Digital Converter with Computation (ADCC) with a 12-bit resolution. This project shows how the PIC can internally measure its V<sub>DD</sub> using the ADCC and Fixed Voltage Reference.
77

8-
This example showcases the PIC16F18446 Sensor Board. Battery (Vdd) level measurement is performed while the display is turned on. The percentage level of the remaining charge in the batteries is shown as a battery icon with proportional filing in the top-right corner of the display. Additionally, the battery voltage in Volts and percentage graph are displayed.
8+
This example showcases the PIC16F18446 Sensor Board. Battery (V<sub>DD</sub>) level is measured while the display is turned on. The batteries charge percentage is shown as a battery icon with proportional filing in the top-right corner of the display. Additionally, the battery voltage in Volts and percentage graph are displayed.
99

1010
## Related Documentation
1111
- [PIC16F18446 Product Family Page](https://www.microchip.com/design-centers/8-bit/pic-mcus/device-selection/pic16f18446)
12-
- [PIC16F18446 datasheet](http://ww1.microchip.com/downloads/en/DeviceDoc/40001985B.pdf) for more information or specifications.
12+
- [PIC16F18446 Data sheet](http://ww1.microchip.com/downloads/en/DeviceDoc/40001985B.pdf) for more information or specifications.
1313

1414

1515
## Software Used
@@ -23,7 +23,7 @@ This example showcases the PIC16F18446 Sensor Board. Battery (Vdd) level measure
2323

2424
## Operation
2525

26-
To program the microcontroller with this MPLAB® X project, follow the steps provided in the [How to Program the Microcontroller](#how-to-program-the-microcontroller) chapter.<br><br>
26+
To program the microcontroller (MCU) with this MPLAB® X project, follow the steps provided in the [How to Program the Microcontroller](#how-to-program-the-microcontroller) chapter.<br><br>
2727

2828
## Setup
2929

@@ -68,7 +68,7 @@ The following configurations must be made for this project:
6868
- FVR buffer gain to ADC: 1x
6969
- FVR buffer gain to other peripherals: 1x
7070

71-
<br><img src="images/FVR.png" width="600">
71+
<br><img src="images/FVR.PNG" width="600">
7272

7373
- ADCC:
7474
- Enable ADC: Yes
@@ -103,7 +103,7 @@ The following configurations must be made for this project:
103103

104104
## Demo
105105

106-
To get the Vdd voltage, ADCC is used to measure the FVR, which is configured to 1.024V, with Vdd as positive reference. Then the Vdd is calculated using this formula: Vdd = 1.024V * 4096 / ADC_Reading.
106+
To get the V<sub>DD</sub> voltage, ADCC is used to measure the FVR, which is configured to 1.024V, with V<sub>DD</sub> as positive reference. Then the V<sub>DD</sub> is calculated using this formula: V<sub>DD</sub> = 1.024V * 4096 / ADC_Reading.
107107

108108
<br><img src="images/display.png" width="600">
109109

@@ -113,7 +113,7 @@ This code example shows how to use the Battery level measurement feature on the
113113

114114
## How to Program the Microcontroller
115115

116-
This chapter demonstrates how to use the MPLAB X IDE to program a PIC® device with an `Example_Project.X`. This applies to other projects.
116+
This chapter demonstrates how to use the MPLAB® X IDE to program a PIC® device with an `Example_Project.X`. This applies to other projects.
117117

118118
1. Connect the Sensor board to the PC.
119119

images/FVR.png

-1.11 KB
Loading

pic16f18446-sensor-board-battery-measurement.X/dist/default/production/__eeprom.d

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)