6/21/2023 0 Comments Tonegenerator two tones with pause![]() It will work with all kinds of servos but I used a Hitec HS-475HB that I found in a drawer here. I prototyped on a regular Arduino Mega (happened to have one) but the one that I ended up using was an Arduino Nano ( from China). But any analogue signal generator with a turning knob will do. Mine is a Frederiksen Function Generator. Have fun reading it and if you make it too, I would really love to see and hear how it worked out! If you think this is worth it, you might consider a vote. I am very fond of my invention and I hope you like it too. A working robot that plays different songs only by turning the frequency knob. The first three days of that break I worked hard at our school maker space and I succeeded. We were discussing this in a coffee break and one of my friends, colleague Marten said: " Can't you make a machine that plays that song?" I really loved that idea and it stayed in my head until it was summer break. I performed that o a youtube movie (see above) and it was shown at the graduation ceremony. One of them answered: " Het Wilhelmus op de oscilloscoop". ![]() That is quite difficult: you have to listen very carefully and the moves are very subtle sometimes.Ī colleague of mine always asks their students what they want to hear at their graduation ceremony. I usually try to play our national anthem, "The Wilhelmus" because I like the discrepancy between the solemn son and the somewhat strange instrument. To make it more fun I always end this lesson by trying to play a song on this machine. I show them the waveforms on an oscilloscope. With this machine you can make pure tone sine waves (and triangle and square) of all frequencies. When I introduce the subject "Sound" I often use a tone generator (or signal generator). My students, as you can imagine, need a bit of encouragement to become as enthusiastic as I am for the sciences, so I try to come up with all kinds of activities to get them aboard. I am a physics teacher for more than 20 years in The Netherlands. : I attached a Processing file in the Music Step (6) for testing out the tunes. And I discovered a mistake in my notation of the song. I calibrated the machine to the Hz with a calibration sketch. : uploaded a better version of The Wilhelmus. And I added two songs: This land is my land by Woody Guthrie and Für Elise by Beethoven. ![]() : I cleaned up the code big time (Arduino code in step 6). ![]()
0 Comments
Leave a Reply. |