Cedar Grove Maker Studios has turned an Surprising Maker FeatherS2 into an indoor wind chime, however one which goes a step past taking part in soothing sounds: it simulates the precise sounds of actual chimes, full with flattening wind pace knowledge for accuracy.
“We’re used to with the ability to gauge the out of doors wind pace by listening to the chimes on the patio, however miss that atmosphere when working within the workplace,” Cedar Grove explains of the mission. “[This is] an IoT [Internet of Things] model that simulates all of the groovy chime sound physics and wind pace responses. This was made potential by the IoT capabilities and the spectacular synthio
module in Adafruit CircuitPython.”
The CircuitPython in query runs atop an Surprising Maker FeatherS2 board, with an Espressif ESP32-S2 at its coronary heart. That is linked to an Adafruit MAX98357A three-watt amplifier board by way of I2S, and from there to a 40mm speaker. It is the code, although, that makes the mission particular — simulating how actual wind chimes would sound given native climate circumstances.
“The Cedar Grove CircuitPython Chime class offers synthio
be aware overtones and envelopes developed from a mix of tubular chime algorithms and empirical fashions,” the maker explains. “Three chime voices are included within the class (Voice.Tubular
, Voice.Bell
, and Voice.Excellent
) in addition to selectable chime and striker supplies. The Scales
class accommodates a library of frequent wind chime and bell scales in a group of Scientific Pitch Notation (SPN) lists.”
The code is written completely in CircuitPython and may be run on any microcontroller with I2S, DAC, or PWM help. (📷: Cedar Grove)
Within the newest model of the mission, this class is fed knowledge from OpenWeatherMap.org to alter its tempo based mostly on prevailing wind pace within the native space — that means that, simply as with the actual chimes within the backyard, the pace and quantity of the chiming is affected by simply how briskly the wind is blowing.
Cedar Grove has revealed the supply code for the mission on GitHub beneath the permissive MIT license; along with I2S units, it will probably output audio by way of a digital-to-analog converter (DAC) or a general-purpose enter/output (GPIO) pin with pulse-width modulation (PWM) help.