Question: Create a waveform generator with the 8051. The waveform will be sent to a DAC via P1. There will be SQUARE, TRIANGLE, SINE, and SAWTOOTH
Create a waveform generator with the 8051. The waveform will be sent to a DAC via P1. There will be SQUARE, TRIANGLE, SINE, and SAWTOOTH waveforms. He should switch between them by pressing the "A" button.The wave frequency must be entered by pressing "B" and then confirmed by pressing "C".The LCD should show the waveform and frequency.
- First the LCD will show your name and then it should start as default waveform which is Sine @ 100Hz. - When "A" is pressed, the wave should change. In order: SINE, SQUARE, TRIANGLE, SAWTOOTH - When "B" is pressed, the wave should stop and the MCU should wait for Frequency input in Hz type. It should keep generating waves when "C" is pressed. (If 10 is entered into the system, it means 10Hz) If the input is larger than the MCU can produce, the output will remain at 1KHz. - LCD should display waveform and frequency in Hz. (Eg SIN 2000, TRI 1000, SQU 100, SWT 200,)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
