Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PIC Simulator IDE is powerful application that supplies Microchip microcontroller users with a user-friendly graphical development environment for Windows with an integrated simulator (emulator), PIC

PIC Simulator IDE is powerful application that supplies Microchip microcontroller users with a user-friendly graphical development environment for Windows with an integrated simulator (emulator), PIC basic compiler, assembler, disassembler and debugger. PIC Simulator IDE is designed to be used for the microcontroller units (MCUs) from the Microchip 8-bit PIC Mid-Range architecture product line (selected PIC16F, PIC12F, and PIC10F models). The main application window shows the status of all PIC microcontroller internal registers, mnemonics of the last executed instruction, mnemonics of the next instruction that will be executed, clock cycles, instruction counter, and real time duration of the simulation. For this activity, you will use the PIC18 Simulator CD that came with your textbook. You can also click to download the trial version of PIC18 Simulator IDE. In this simulation, you will be able to test the design of your program through the use of a PIC18 simulator. By completing this simulation, you will enhance your understanding of the I/O ports of the PIC microcontroller. Be sure that you have read Chapter 1 and Chapter 2 in your text, as well as reviewed all worked out examples and all end of section review questions. Complete the following problem. Write instructions to light up alternate LEDs at PORTC. Please be sure to: Initialize PORTC as an output port (Logic 0 to TRISC sets up PORTC as an output port). Turn on the alternate LED on the 8xLED board of the simulator (byte 55H turns on alternate LEDs). Assemble and RUN the program below in PIC18 Simulator. Here is a sample program. #include MOVLW 00 ;Load W register with 0 MOVWF TRISC ;Set up PORTC as output MOVLW 0x55 ;Byte 55H to turn on LEDS MOVWF PORTC ;Turn on LEDs SLEEP ;Power down End As you prepare your report, be sure to use the following format. Cover Page Table of Contents Problem Statement Theorectical Analysis (flow chart, manual calculation result) Procedure Source Code PIC18 IDE Simulation Simulation Results and Discussion Conclusion References Things to Remember! Complete your calculations using a word processor (or other software as appropriate). Handwritten calculations will also be accepted. Show all work for full credit. Prepare your report according to APA guidelines, double-spaced, in Times Roman 12-poin font, with one-inch margins on each side. Be sure that you cite all references and quotes correctly. All sources used must be referenced in the Reference section.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases And Python Programming MySQL MongoDB OOP And Tkinter

Authors: R. PANNEERSELVAM

1st Edition

9357011331, 978-9357011334

More Books

Students also viewed these Databases questions

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago