Ask Question, Ask an Expert


Ask Programming Language Expert


• To create a simple signal modulator
• To report on the program's design and operation


• PIC Trainer and ICD3 in-circuit debugger
• MPLAB X Integrated Development

Environment software

• Laboratory CRO and signal generator


prepare a PIC program to enable the PIC trainer board to be used as a signal generator with a modulation input. The modulator should generate a sine wave carrier on DAC channel A whose amplitude or frequency is controlled by an analog signal read from ADC channel 2. The carrier frequency should be selectable over the range 100 Hz to 10 kHz, as determined by the positions of switches 1, 2, and 3 (RB2, RB3 and RB4) on DIP S1 on the main board. For testing purposes, when all 3 switches are off, the modulator should produce a 100 Hz unmodulated sine wave. The type of modulation — whether amplitude modulation (AM) or frequency modulation (FM) — should be selectable by setting DIP S1 switch 4 (RB5). In AM mode, the depth of modulation should be such that when the modulating signal input is 0V the output amplitude is 0V peak-to-peak, and when the modulating input is 5V the output amplitude is 5V peak-to-peak. In FM mode the depth of modulation should be such that when the modulating signal swings between 0V and 5V the output frequency varies by around 20% of its nominal value.

You can verify that your modulator is working correctly by connecting a signal generator to the modulation input and monitoring the output signal on a CRO. Note that the figure above shows a realistic picture of amplitude modulation (assuming the modulating signal is adjusted to a suitable frequency, amplitude, and offset), but the FM signal exaggerates the depth of modulation.


prepare a report on the design and performance of your program. The report should be  between 1500 and 2500 words (around 5 typed pages) not including appendices, and should contain the following sections:

• Introduction: A brief description of the task your program is solving and any necessary instructions on how to configure the hardware and run the program.

• Development process: An account of the process you followed in developing your solution, including any difficulties you faced and how you overcame them.

• Code outline: An overview of your final code, including a brief description of the purpose of each module. Note that this description should complement the documentation in the code itself.

• Design Decisions: A discussion of the key design decisions you made in writing your code, including alternatives you considered and the reason why you made the decision you did.

• Performance Evaluation: A clear indication of how much of the problem your program solves, and experimental data to verify that your program works as claimed.

• Appendix: A full listing of your code. MPLABX can produce a formatted listing, but you'll probably need to adjust the print settings so that you've included all appropriate information.

Programming Language, Programming

  • Category:- Programming Language
  • Reference No.:- M91292

Have any Question? 

Related Questions in Programming Language

Add a swift class file to the project that illustrates and

Add a SWIFT class file to the project that illustrates and contains the following: • The class name is 'Calculator' • Has public variables of the type float called numerator, denominator and total. • Has a method called ...

The briefyour small development team of ideally three

The Brief Your small development team of (ideally) three people has been asked to implement and test the Human Resource Information System desktop application. Your software product will be a database- backed desktop app ...

Concurrent programming task ydetailsmany banking systems

CONCURRENT PROGRAMMING TASK YDETAILS Many banking systems allow multiple cardholders access a single account (e.g. a business account). The consequence of this is that is possible for more than one person to attempt to w ...

Programming lab assignment set awhat to submitcomplete

Programming Lab Assignment (Set A) What to Submit Complete Problem Solving Steps 1 - 3 (check plan, data analysis, initial algorithm, and refinement algorithm) for the following programs. 1. (Name: lab1a-1.cpp) Write a p ...

1 loops the greatest and the least- write a program with a

1. Loops: The greatest and the least- Write a program with a loop that lets the user to enter a series of integers. The use should enter -99 to signal the end of the series. After all the numbers have been entered, the p ...

Purposethe purpose of this assignment is to practice using

Purpose: The purpose of this assignment is to practice using loops, selections, and other basic features of Java in order to solve a real-world problem. Program Description: The Jeddah Broker Company is one of the compan ...

Programming assignment 1 grocery storethis assignment

Programming Assignment #1: Grocery Store This assignment attempts to serve as a refresher for concepts that I hope you learned in CS 122. In this assignment, you will be building a simple storefront for a small grocery s ...

This assignment introduces you to the perl language and cgi

This assignment introduces you to the Perl language and CGI programming. You will use your scripting and html skills to build a Perl program that will gather user input to then generate a personal webpage. This program w ...

Csis program homeworkwrite a program where the user will

CSIS program homework Write a program where the user will enter a number between 1 and 50 representing a state. The program should display the full name of that state. Assume the states are in alphabetical order, that is ...

1 construct a markov algorithm that will reverse the order

1) Construct a Markov Algorithm that will reverse the order of an input string that consists of zero or more upper case letters. ABCDE should become EDCBA, AB should become BA, A should stay A, and A should stay A. NOTE: ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate