Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
reference:add-ons:dmm-shield:libraryuserguide [2018/06/07 07:04] – [DMMImportCalib] Cristian Fatu | reference:add-ons:dmm-shield:libraryuserguide [2018/06/19 09:55] – Cristian Fatu | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== DMM Shield Library User Guide ====== | ====== DMM Shield Library User Guide ====== | ||
- | Digilent provides a DMMShield MPLAB X library for Digilent uC32 board. Basically, it accesses DMMShield hardware in order to implement DMMShield functionality. The library has multiple modules, corresponding to different hardware modules. | + | Digilent provides a DMMShield MPLAB X library for Digilent uC32 board.\\ |
+ | Basically, it accesses DMMShield hardware in order to implement DMMShield functionality. The library has multiple modules, corresponding to different hardware modules.\\ | ||
The library is aimed to run on the Digilent uC32 board, which acts as a carrier for DMMShield. The DMMShield is attached to uC32 carrier board, that is accessing DMMShield using digital pins. | The library is aimed to run on the Digilent uC32 board, which acts as a carrier for DMMShield. The DMMShield is attached to uC32 carrier board, that is accessing DMMShield using digital pins. | ||
- | |||
- | |||
- | |||
- | |||
- | == Download This User Guide == | ||
- | * {{ : | ||
- | |||
- | ---- | ||
Line 25: | Line 17: | ||
====== Library overall structure ====== | ====== Library overall structure ====== | ||
+ | The following image shows the library modules and the links between them. | ||
+ | {{ : | ||
====== Library usage ====== | ====== Library usage ====== | ||
Line 109: | Line 102: | ||
|10| VoltageDC500m | | |10| VoltageDC500m | | ||
|11| VoltageDC50m | | |11| VoltageDC50m | | ||
- | |12| VoltageAC50 | + | |12| VoltageAC30 |
|13| VoltageAC5 | | |13| VoltageAC5 | | ||
|14| VoltageAC500m | | |14| VoltageAC500m | | ||
Line 1391: | Line 1384: | ||
For example, using this module, UART communcation between uC32 and PC can be implemented over USB cable. Connecting the uC32 to the PC creates a new COM port which can be used in a simple terminal application.\\ | For example, using this module, UART communcation between uC32 and PC can be implemented over USB cable. Connecting the uC32 to the PC creates a new COM port which can be used in a simple terminal application.\\ | ||
The module initializes the UART to generate interrupt when a character is received. In the interrupt handler, the array of characters are stored as commands, using a circular buffer.\\ | The module initializes the UART to generate interrupt when a character is received. In the interrupt handler, the array of characters are stored as commands, using a circular buffer.\\ | ||
- | This module has no DMM functionality. It is just included to provide communication capabilities. It doesn' | + | This module has no DMM functionality. It is just included to provide communication capabilities. It doesn' |
+ | We recommend initializing the module at 9600 baud rate for a basic application.\\ | ||
The module is only accessed by [[# | The module is only accessed by [[# | ||
The module provides: | The module provides: | ||
Line 1485: | Line 1479: | ||
|10| VoltageDC500m |::: | |10| VoltageDC500m |::: | ||
|11| VoltageDC50m |::: | |11| VoltageDC50m |::: | ||
- | |12| VoltageAC50 | + | |12| VoltageAC30 |
|13| VoltageAC5 |::: | |13| VoltageAC5 |::: | ||
|14| VoltageAC500m |::: | |14| VoltageAC500m |::: |