UPC EETAC Bachelor's Degree in Telecommunications Systems and in Network Engineering EEL

PLA6_7

Q&A

PLA9: On basic digital I/O. Designing a combinational circuit

PLA10_11

Lab9


NOTE: This post lab assignment must be solved only after having completed successfully lab session Lab9 and studied P9 example  because you will copy and adapt materials from it.
Study and use materials form lectures L9.1, L9.2, L9.3, L9.4. Microcontroller technology is different from Chaper 1 and Chapter 2 chips.New tools and concepts are required to adapt our applications. 

NOTE: EDA in use this semester: Proteus electrical simulator, Notepad++ editor (select C language), Microchip MPLABX and XC8 compiler. 

Specifications

Use the options indicated by your instructor. The idea is to learn the basic of micocontrollers designing the same combinational circuit proposed in PLA2.

Example of individual assignments
  Project number Circuit entity Pin option
Est. 1 B3.6 9-sensor water tank level meter    Tank_level_meter 1
Est. 2 B3.3 5-bit ones counter Ones_Counter_5bit 1
Est. 3 B3.12 5-bit Gray-binary converter Gray_bin_5bit 1
Est. 4 B3.12 5-bit Bin-Gray converter Bin_Gray_5bit 1
Est. 5 B3.6 9-sensor water tank level meter    Tank_level_meter 2
··· ··· ··· ...

Study the project specifications in detail, use paper to discuss plans, connections, diagrams, RAM variables, etc. Solve in your computer tutorial projects first to learn the new tools. Do not invent C language instructions, but translate your schematics and flowcharts.

Keep in mind and run the following project flowchart:

Project flowchart


Some planning ideas to learn P9 basic I/O concepts and solving truth table algorithms inherited from Chapter 1 while solving PLA2 and PLA3 circuits. This is the initial hardware circuit and initial software source file to adapt to your PLA step by step. Use resistors, buttons, switches, LED, etc. Use your assigned project name and project folder to develop your circuits. Comment your C code while editing it.

Planning flowchart

Follow this rubric for writing reports.