Skip to content

Commit a7dca57

Browse files
committed
MPAE-14592: Removed image width modifier, adjusted image sizes
1 parent 9ee8025 commit a7dca57

File tree

10 files changed

+9
-10
lines changed

10 files changed

+9
-10
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Setup the hardware as shown:
3434

3535
*Note: The image below has an optional 3D printed insert that goes below the Force Click to give the force resistor support. It is convenient, but not required.*
3636

37-
![Hardware Setup](images/hardware_setup.png){width=432px}
37+
![Hardware Setup](images/hardware_setup.png)
3838

3939
#### Configuration
4040

@@ -70,31 +70,31 @@ Setup from scratch - everything is manually configured from scratch, except for
7070
* Once the ADC is added, modify the following sections.
7171

7272

73-
![ADC settings](images/adc_settings.png){width=444px}
73+
![ADC settings](images/adc_settings.png)
7474

7575
ADC Configuration explanation:
7676
* Sample Accumulation Number: This takes multiple samples before reporting a result. This reduces the effect of outliers to create a more stable result. 16 samples are used, instead of more, because that is the maximum accumulation size amount (16-bits) the AVR64DD32 supports for a 12-bit reading. (Max 12-bit reading = 2^12 = 4096) * (16 readings) = 65536 = 2^16, which is the size of the accumulation register.
7777

78-
![ADC settings](images/accumulation.png){width=444px}<br>From the AVR64DD32 datasheet [page 491](https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/AVR64DD32-28-Prelim-DataSheet-DS40002315B.pdf#page=491)
78+
![ADC settings](images/accumulation.png)<br>From the AVR64DD32 datasheet [page 491](https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/AVR64DD32-28-Prelim-DataSheet-DS40002315B.pdf#page=491)
7979
<br>
8080

8181
* Left Adjust Result: The 12-bit value read is stored in a 16-bit register. This either left or right-justifies the result
8282
* Free Running Mode: Automatically starts the next ADC conversion as soon as the last one is finished.
8383
* Positive Input Selection: As shown in the picture below, the Force Click's Analog Pin, AN, is in the top left position. Since it is in the Curiosity base board's slot 2, that corresponds to the Curiosity Nano base board's 13th pin. On the AVR64DD32, the 13th pin is PORTF3, also known as AIN19, thus Analog input 19.
8484

85-
![Pin Settings](images/pin_selection.png){width=924px}<br>
85+
![Pin Settings](images/pin_selection.png)<br>
8686
From Curiosity Nano Base Board Hardware User Guide [page 5](https://ww1.microchip.com/downloads/en/DeviceDoc/Curiosity-Nano-Base-for-Click-boards-User-Guide-50002839B.pdf#page=5) and AVD64DD32 Curiosity Nano Hardware User Guide [page 25](https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/UserGuides/AVR64DD32CNANO-Prel-HW-UserGuide-DS50003323.pdf#page=25)
8787
<br>
8888

8989
##### Universal Asynchronous Receiver-Transmitter (UART)
9090
* Device Resources &rarr; Drivers &rarr; UART &rarr; + UART
9191
* Set UART PLIB Selector to USART0.
9292

93-
![UART Settings](images/uart1.png){width=462px}
93+
![UART Settings](images/uart1.png)
9494

9595
* In the builder window, click USART0_Peripherals, enable Printf Support
9696

97-
![Printf](images/printf_support.png){width=385px}
97+
![Printf](images/printf_support.png)
9898
<br>
9999

100100
##### Pin Configuration
@@ -105,16 +105,15 @@ ADC Configuration explanation:
105105
* USART0, TX &rarr; PORTD4
106106
* USART0, RX &rarr; PORTD5
107107

108-
![Pin Settings](images/pin_grid_view.png){width=616px}
108+
![Pin Settings](images/pin_grid_view.png)
109109

110110

111111
* Modify Pins
112112
* Project Resources &rarr; System &rarr; Pins
113113
* Set a name of pin PD7 to RGB_LED
114114
* Change the Input Sense Configuration for the ADC0 pin to Digital Input Buffer disabled
115115

116-
![Pins](images/pins.png){width=616px}
117-
116+
![Pins](images/pins.png)
118117

119118
#### Step #5: Generate the project
120119
* Click the generate button in MCC by the Project Resources window to create the MCC generated header and source files
@@ -143,7 +142,7 @@ When the resistor is pressed, the LEDs should light up proportionally to the app
143142
To view the pressure the resistor is reporting, open MPLAB Data Visualizer from the toolbar (The green shield with DV on it). Under connections, select the COM port the Curiosity Nano is connected to and hit play.
144143
Under the terminal input, select the same COM port. The pressure should now be displaying on the terminal.
145144

146-
![Data visualizer](images/data_vis_output.png){width=770px}
145+
![Data visualizer](images/data_vis_output.png)
147146

148147
## Summary
149148

images/accumulation.png

2.58 KB
Loading

images/adc_settings.png

-68.8 KB
Loading

images/data_vis_output.png

-133 KB
Loading

images/hardware_setup.png

-367 KB
Loading

images/pin_grid_view.png

28 KB
Loading

images/pin_selection.png

-385 KB
Loading

images/pins.png

-20 KB
Loading

images/printf_support.png

-5.07 KB
Loading

images/uart1.png

5.04 KB
Loading

0 commit comments

Comments
 (0)