23
edits
No edit summary |
|||
Line 16: | Line 16: | ||
[[File:Fan 2.jpg|left|thumb|254x254px]] | [[File:Fan 2.jpg|left|thumb|254x254px]] | ||
Line 32: | Line 34: | ||
Attached to the board were: a stepper (to change polarity), a (?), and the microcontroller of course. The stepper would change the direction of the fan and the (?) would control the current that went into the motor, changing the frequency at which it moved. | Attached to the board were: a stepper (to change polarity), a (?), and the microcontroller of course. The stepper would change the direction of the fan and the (?) would control the current that went into the motor, changing the frequency at which it moved. | ||
[[File:Instrument .jpg|left|thumb|230x230px]] | |||
[[File:Instrument.jpg|left|thumb|234x234px]] | |||
[[File:Instrument open.jpg|left|thumb|241x241px]] | |||
As I had no previous experience or knowledge of Arduino programming, everything was learned through workshops in class and internet/YouTube video tutorials. The code used was: | |||
=== Final Instrument === | === Final Instrument === | ||
The result was a rotating fan that turned in both directions, which made different noises. By changing the speed, the frequency changed as the friction did, altering the noise as well. The sound could also be changed by changing the time loop, making the beeps longer or shorter, making it resemble a synthesizer. | |||
=== Concert === | === Concert === | ||
jaja | jaja |
edits