Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
You are viewing an older revision! See the latest version
Homepage
What is this?¶
Watch this video.
A very simple musical instrument application using pressure and distance measuring sensors.
Haedware¶
The uchiwa tone has very simple hardware.
- Microcontroller module : mbed LPC1768)
- Pressure sensor : Interlink Electronics FSR400
- Distance measuring sensor : Sharp GP2Y0E03
The two sensor output goes into mbed, the pressure sensor controls the sound amplitude and distance controls frequency.
Sound waveform is stored on RAM in mbed. This waveform is played with those sensor parameters.
Output comes from DAC output of mbed, so the output becomes sound through external amplifier and speaker.
IMPORTANT
The distance measuring sensor GP2Y0E03 uses infra-red light reflection from objects.
In my case, for the reflecting object, I used "uchiwa (a Japanese fan)" is used.
Don't be so pessimistic, if you don't have the uchiwa.
It may be OK to use enough size of cardboard or something ;)