Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
reference:add-ons:dmm-shield:libraryuserguide [2018/06/07 07:04] – [DMMImportCalib] Cristian Fatureference: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 ==  
-  * {{ :reference:add-ons:pmod-hat:171205ag_dual_brand_pmod-hat-adapter_rm.pdf |PDF}} 
- 
----- 
  
  
Line 25: Line 17:
  
 ====== Library overall structure ====== ====== Library overall structure ======
 +The following image shows the library modules and the links between them. 
 +{{ :reference:add-ons:dmm-shield:libraryoverall.jpg |}}
 ====== 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't have to included in an application that doesn't need communication (for example an application that uses a LCD connected to uC32 board using the shield connector.\\ +This module has no DMM functionality. It is just included to provide communication capabilities. It doesn't have to included in an application that doesn't need communication (for example an application that uses a LCD connected to uC32 board using the shield connector). 
 +We recommend initializing the module at 9600 baud rate for a basic application.\\ 
 The module is only accessed by [[#dmmcmd_module|DMMCMD module]].\\  The module is only accessed by [[#dmmcmd_module|DMMCMD module]].\\ 
 The module provides: The module provides:
Line 1485: Line 1479:
 |10| VoltageDC500m |:::|mV|:::|:::| |10| VoltageDC500m |:::|mV|:::|:::|
 |11| VoltageDC50m |:::|mV|:::|:::| |11| VoltageDC50m |:::|mV|:::|:::|
-|12| VoltageAC50 |:::|V|:::|:::|+|12| VoltageAC30 |:::|V|:::|:::|
 |13| VoltageAC5 |:::|V|:::|:::| |13| VoltageAC5 |:::|V|:::|:::|
 |14| VoltageAC500m |:::|mV|:::|:::| |14| VoltageAC500m |:::|mV|:::|:::|