Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
learn:courses:unit-6:start [2017/04/14 17:49] – [7.2. Variable Speed Control] Martha | learn:courses:unit-6:start [2021/10/13 21:06] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Unit 6: Analog I/O and Process Control ====== | + | ====== Unit 6: Analog I/O and Process Control ====== |
+ | [[{}/ | ||
=== Unit 6 Labs === | === Unit 6 Labs === | ||
- | * [[https:// | + | * [[/ |
- | * [[https:// | + | * [[/ |
=== Download This Document === | === Download This Document === | ||
- | * {{ : | + | {{ : |
Line 15: | Line 17: | ||
===== 2. Objectives ===== | ===== 2. Objectives ===== | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
---- | ---- | ||
===== 3. Basic Knowledge ===== | ===== 3. Basic Knowledge ===== | ||
- | | + | |
* Basic circuit theory | * Basic circuit theory | ||
* Fundamentals of programming with C | * Fundamentals of programming with C | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
---- | ---- | ||
Line 38: | Line 40: | ||
===== 4. Equipment List ===== | ===== 4. Equipment List ===== | ||
==== 4.1. Hardware ==== | ==== 4.1. Hardware ==== | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
+ | - [[http:// | ||
In addition, we suggest the following instruments: | In addition, we suggest the following instruments: | ||
- | | + | |
==== 4.2. Software ==== | ==== 4.2. Software ==== | ||
The following programs must be installed on your development workstation: | The following programs must be installed on your development workstation: | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
---- | ---- | ||
===== 5. Project Takeaways ===== | ===== 5. Project Takeaways ===== | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
---- | ---- | ||
Line 201: | Line 204: | ||
=== 7.2.2. Analog Output: Pulse-width Modulation === | === 7.2.2. Analog Output: Pulse-width Modulation === | ||
- | In [[https:// | + | In [[/ |
| | ||
Lab 5 discussed the details of how to set up a PWM output using the output compare special function of the PIC32 processor. However, Lab 6a and 6b will require that we set up two PWM outputs that all use a common timer if the motor is to be capable of reversing direction. After initializing the timer to be used with the output compare and initializing the two output-compare channels, the PWM duty cycle of each individual channel is easily changed using the instruction // | Lab 5 discussed the details of how to set up a PWM output using the output compare special function of the PIC32 processor. However, Lab 6a and 6b will require that we set up two PWM outputs that all use a common timer if the motor is to be capable of reversing direction. After initializing the timer to be used with the output compare and initializing the two output-compare channels, the PWM duty cycle of each individual channel is easily changed using the instruction // | ||
Line 226: | Line 229: | ||
The motor driver IC on the Basys MX3 processor platform is shown in Fig. 7.11. The motor wires used for power input and tachometer output are identified in Fig. 7.12. A 5.0 V external power supply is required to be connected to J11, marked as VBAR on the Basys MX3 processor board. A jumper must be used on JP1 to connect the 5V power, VBAR, to the motor supply, VM. | The motor driver IC on the Basys MX3 processor platform is shown in Fig. 7.11. The motor wires used for power input and tachometer output are identified in Fig. 7.12. A 5.0 V external power supply is required to be connected to J11, marked as VBAR on the Basys MX3 processor board. A jumper must be used on JP1 to connect the 5V power, VBAR, to the motor supply, VM. | ||
- | {{ : | + | {{ : |
//Figure 7.11. Basys MX3 Motor driver circuit.// | //Figure 7.11. Basys MX3 Motor driver circuit.// | ||
+ | |||
{{ : | {{ : | ||
Line 386: | Line 390: | ||
+ | ---- | ||
+ | |||
+ | [[{}/ | ||
+ | [[{}/ | ||
+ | [[{}/ | ||
+ | [[{}/ | ||
{{tag> | {{tag> |