This Arduino Nano RP2040 Join-powered flute blows your PC’s mouse away
April twenty eighth, 2024
—The pc mouse has existed in its present type because the late Seventies. However as musician and software program engineer Joren Six factors out, it will possibly turn out to be boring after some time. His novel reinvention of the mouse eschews shifting a bodily interface in favor of sound, with completely different frequencies inflicting the cursor to maneuver in a predictable method.
For this undertaking, Six went with an Arduino Nano RP2040 Join as a result of it not solely helps USB HID performance, however can be quick sufficient to find out frequencies based mostly on the enter from the board’s onboard PDM microphone. This system working on the Nano RP2040 Join works by initializing the microphone and a YIN-based library, which finds the basic frequency from an array of samples. From right here, the Nano RP2040 constantly reads new samples from the microphone and passes them to the algorithm earlier than getting again the outcome and a confidence worth.
The Nano RP2040 Join takes every outcome frequency and maps it to both a horizontal or vertical movement the cursor can execute, and a frequency round 900Hz causes the mouse to ship a click on occasion to the host laptop. Realizing that not everybody has entry to the identical {hardware}, Six additionally wrote a Chrome extension that replicates this performance through the browser’s Microphone API.
To see extra about this undertaking, you’ll be able to learn Six’s write-up right here.
You’ll be able to comply with any responses to this entry by the RSS 2.0 feed.
You’ll be able to depart a response, or trackback from your individual web site.