Documente Academic
Documente Profesional
Documente Cultură
Student:
The student will be able to configure as input/output the ports of the microcontroller PIC18F4550 and the ports of the
PIC18f8723 as well as to manage Byte and Bit oriented instructions.
THEORETICAL FRAMEWORK
METHODOLOGY
1.- Type the Source code “My First C program” (prog 1.c)
2.- Identify and explain each one of the following lines of code:
3.- Compile the code and write down the output files that are generated
4.- Use the software ISIS 7 to simulate this code
5.- Modify the source code “My first C program” in order to show on port B a 8-bit free-run counter with delays of 250 ms
6.- Build the schematic and simulate the free-run counter (Check point 1)
7.- Modify the code in order to control the direction of a stepper motor by using a single one-bit input (C0) (Check point 2)
8.- Modify the program in order to build a pulse counter from 0 to 99. This is, a pulsed input will be read on PIN C0 and the
number of pulses shown on port B (7 segment display #1) and D (7 segment display #2), (Use the PIC18F8723) (Check point 3)
9.- Build the schematic, simulate the pulse counter and wire the circuit (USING THE PIC18F4550). (Check point 4)
PRACTICE EVALUATION
QUESTIONARY
Conclusions