
Here I explain my method of teaching about frequency by using arduino and digital storage oscilloscope.
First write program on arduino to generate frequency like this
void setup()
{
pinMode(9, OUTPUT); // Set pin 9 as output tone (9, 5000); // Generate a 5 kHz square wave
}
void 100p() {
// No need to do anything in the loop
}
Then take out put from 9th pin of arduino
Then allow the student to change 5000 in
tone (9, 5000);
into different values
Then identify the changes in output wave form on DSO, don’t forget to display frequency value on DSO on the same channel.
I found this method is very useful to understand the concept of frequency for beginners
The student can clearly identify the signal width changes (changes in frequency )
In the images I clearly mentioned 3 different frequency wave forms.
Please comment and share your opinion about this way of training ..
