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
learn:courses:unit-4-2:start [2017/03/21 23:03] – [Appendix A: Unit 4 Part 2 Parts Configuration] Marthalearn:courses:unit-4-2:start [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Unit 4 Part 2: Communications - Asynchronous Serial Protocols ====== ====== Unit 4 Part 2: Communications - Asynchronous Serial Protocols ======
-=== Unit 4 Part 2 Labs === +[[{}/learn/courses/unit-4-1/start|Back to Unit 4 Part 1]]
-  * [[https://reference.digilentinc.com/learn/courses/unit-4-lab4c/start|Lab 4c]] +
-  * [[https://reference.digilentinc.com/learn/courses/unit-4-lab4d/start|Lab 4d]]+
  
 +  * [[/learn/courses/unit-4-lab4a/start|Lab 4a]]
 +  * [[/learn/courses/unit-4-lab4b/start|Lab 4b]]
 +  * [[/learn/courses/unit-4-lab4c/start|Lab 4c]]
 +  * [[/learn/courses/unit-4-lab4d/start|Lab 4d]]
 === Download This Document === === Download This Document ===
-  * {{ :learn:courses:unit-4-2:unit_4_part_2.pdf |Unit 4 Part 2 PDF}}+{{ :learn:courses:unit-4-2:unit_4_part_2.pdf |Unit 4 Part 2 PDF}}
  
 ===== 1. Introduction ===== ===== 1. Introduction =====
Line 14: Line 16:
  
 ===== 2. Objectives: ===== ===== 2. Objectives: =====
-  * Program the PIC32MX370 to use the Universal Asynchronous Receiver Transmitter ([[https://en.wikipedia.org/wiki/Universal_asynchronous_receiver/transmitter|UART]]) serial communications to display data on a computer using a terminal emulation program. +  - Program the PIC32MX370 to use the Universal Asynchronous Receiver Transmitter ([[https://en.wikipedia.org/wiki/Universal_asynchronous_receiver/transmitter|UART]]) serial communications to display data on a computer using a terminal emulation program. 
-  * Control the stepper motor speed and direction of rotation using commands entered from a [[https://en.wikipedia.org/wiki/Terminal_emulator|terminal emulation]] program. +  - Control the stepper motor speed and direction of rotation using commands entered from a [[https://en.wikipedia.org/wiki/Terminal_emulator|terminal emulation]] program. 
-  * Display serial communications on the LCD and PC terminal.+  - Display serial communications on the LCD and PC terminal.
  
 ---- ----
  
 ===== 3. Basic Knowledge: ===== ===== 3. Basic Knowledge: =====
-  * How to map PIC32MX370 I/O pins to special function registers. +  - How to map PIC32MX370 I/O pins to special function registers. 
-  * How to initialize special functions using the PLIB functions. +  - How to initialize special functions using the PLIB functions. 
  
 ---- ----
Line 29: Line 31:
 ===== 4. Unit Equipment List ===== ===== 4. Unit Equipment List =====
 ==== 4.1. Hardware ==== ==== 4.1. Hardware ====
-  * [[http://store.digilentinc.com/basys-mx3-pic32mx-trainer-board-recommended-for-embedded-systems-courses/|Basys MX3 trainer board]] +  - [[https://digilent.com/shop/basys-mx3-pic32mx-trainer-board-for-embedded-systems-courses/|Basys MX3 trainer board]] 
-  * 2 [[http://store.digilentinc.com/usb-a-to-micro-b-cable/|Micro USB cables]] +  - 2 [[https://digilent.com/shop/usb-a-to-micro-b-cable/|Micro USB cables]] 
-  * Workstation computer running Windows 10 or higher, MAC OS, or Linux +  - Workstation computer running Windows 10 or higher, MAC OS, or Linux 
-  * 4-wire stepper motor (Lab 4b only) +  - [[https://digilent.com/shop/stepper-motor/|4-wire stepper motor]] (Lab 4b only) 
-  * [[http://store.digilentinc.com/5v-2-5a-switching-power-supply/|5V, 2.5A DC power supply]] (Lab 4b only)+  - [[https://digilent.com/shop/5v-4a-switching-power-supply/|5V, 4A DC power supply]] (Lab 4b only)
  
 In addition, we suggest the following instruments: In addition, we suggest the following instruments:
-  * [[http://store.digilentinc.com/analog-discovery-2-100msps-usb-oscilloscope-logic-analyzer-and-variable-power-supply/|Digilent Analog Discovery 2]]+  - [[https://digilent.com/shop/analog-discovery-2-100ms-s-usb-oscilloscope-logic-analyzer-and-variable-power-supply/|Digilent Analog Discovery 2]]
  
 ==== 4.2. Software ==== ==== 4.2. Software ====
 The following programs must be installed on your development work station: The following programs must be installed on your development work station:
-  * [[http://www.microchip.com/mplab/mplab-x-ide|Microchip MPLAB X® v3.35 or higher]] +  - [[http://www.microchip.com/mplab/mplab-x-ide|Microchip MPLAB X® v3.35 or higher]] 
-  * [[http://www.microchip.com/SWLibraryWeb/product.aspx?product=PIC32%20Peripheral%20Library|PLIB Peripheral Library]] +  - [[http://www.microchip.com/SWLibraryWeb/product.aspx?product=PIC32%20Peripheral%20Library|PLIB Peripheral Library]] 
-  * [[http://www.microchip.com/xcdemo/xcpluspromo.aspx|XC32 Cross Compiler] +  - [[http://www.microchip.com/xcdemo/xcpluspromo.aspx|XC32 Cross Compiler] 
-  * [[http://store.digilentinc.com/waveforms-2015-download-only/|WaveForms 2015]] +  - [[https://digilent.com/shop/software/digilent-waveforms/|WaveForms]] 
-  * [[http://www.putty.org/|PuTTY Terminal Emulator]]+  - [[http://www.putty.org/|PuTTY Terminal Emulator]]
  
 ---- ----
  
 ===== 5. Project Takeaways ===== ===== 5. Project Takeaways =====
-  * Understanding of the basics of telecommunications. +  - Understanding of the basics of telecommunications. 
-  * Understanding of requirements and implementations of asynchronous communications.  +  - Understanding of requirements and implementations of asynchronous communications.  
-  * Application of asynchronous communications+  - Application of asynchronous communications
     * Knowledge of a PC terminal emulation program.     * Knowledge of a PC terminal emulation program.
     * How to develop a library of PIC32 software to provide bi-directional communications of single characters and strings of characters.      * How to develop a library of PIC32 software to provide bi-directional communications of single characters and strings of characters. 
     * How to use the UART for diagnostics and as a [[https://www.techopedia.com/definition/12829/human-machine-interface-hmi|human-machine interface]] (HMI).     * How to use the UART for diagnostics and as a [[https://www.techopedia.com/definition/12829/human-machine-interface-hmi|human-machine interface]] (HMI).
-  * How to recognize the handshaking methods used in a communications protocol. +  - How to recognize the handshaking methods used in a communications protocol. 
-  * How to setup the Analog Discovery 2 to display UART waveforms.+  - How to setup the Analog Discovery 2 to display UART waveforms.
  
  
Line 255: Line 257:
  
 ---- ----
 +[[{}/learn/courses/unit-4-1/start|Back to Unit 4 Part 1]] 
 +[[{}/learn/courses/unit-4-lab4a/start|Go to Lab 4a]] 
 +[[{}/learn/courses/unit-4-lab4b/start|Go to Lab 4b]] 
 +[[{}/learn/courses/unit-4-lab4c/start|Go to Lab 4c]] 
 +[[{}/learn/courses/unit-4-lab4d/start|Go to Lab 4d]] 
 +[[{}/learn/courses/unit-5/start|Go to Unit 5]]
  
 {{tag>reference learn microprocessor courses basys-mx3}} {{tag>reference learn microprocessor courses basys-mx3}}