Page 240 - ARM Based Microcontroller Projects Using MBED
P. 240

226                          8. INTERMEDIATE LEVEL PROJECTS



































                 FIG. 8.97  Generated waveform.

                   Fig. 8.97 shows the generated staircase waveform. In this figure, the vertical voltage axis is
                 1V/division, and the horizontal time axis is 100ms/division.



                               8.29 PROJECT 24—SAWTOOTH WAVEFORM

                 8.29.1 Description

                   In this project, we generate a sawtooth waveform with 10 steps with a period of 20ms, that
                 is, the time delay between each step is 2ms.



                 8.29.2 Aim

                   The aim of this project is to show how a sawtooth waveform can be generated.


                 8.29.3 Circuit Diagram

                   In this project, analog input PA_4 is used as in the previous project.
   235   236   237   238   239   240   241   242   243   244   245