Rossini's William Tell Overture Finale - Stepper Motor Music

Поділитися
Вставка
  • Опубліковано 26 січ 2025

КОМЕНТАРІ • 153

  • @typhoon-7
    @typhoon-7 3 роки тому +335

    Standing ovation for the light blue motor. That guy was going for it.

  • @patw1687
    @patw1687 17 днів тому

    In a week of bad news, this video was one of the bright spots. Well done.

  • @oooooooooorly
    @oooooooooorly 5 років тому +132

    The first time I ever set up and ran a stepper, my immediate thought upon hearing how on-pitch it was was that one could probably do this with them.

  • @llamagetchya4118
    @llamagetchya4118 3 роки тому +31

    Bravo! UA-cam algorithm left this as a gem for me to find two years later. Nice work!

  • @HoustonCountyRailfan8051
    @HoustonCountyRailfan8051 Місяць тому +2

    Light blue motor was definitely the main character

  • @Smeetxx
    @Smeetxx 5 років тому +76

    INFO: Using A4988 driver chip (1 for each motor) makes this absolutely doable for Arduino.

    • @timhofstetter5654
      @timhofstetter5654 3 роки тому +3

      True, but only if you dedicate one Arduino to about four steppers and have one master Arduino send coordination instructions to the three Arduinos it would take to drive the steppers. Getting the timing right for all twelve is far beyond the capacity of a single Arduino.

    • @timhofstetter5654
      @timhofstetter5654 3 роки тому +1

      @Astrid Alaniz Intriguing, but I doubt very much that Klipper would fully support 12 stepper motors or that either an RPi or a BBB can reasonably support the pinout. I know for sure that neither the RPi nor the BBB can support the cascaded timing; GPIO on both is slower and far more complicated than it is on Arduino.
      My money is on a twenty-dollar set of four Arduinos. That's cheaper than either an RPi or a BBB. The RAMPS boards are far cheaper than the stepper driver boards that either the RPi or the BBB would require, too... and we haven't even started talking about power supplies yet.
      Nice try, though. 8)

    • @timhofstetter5654
      @timhofstetter5654 3 роки тому

      @Astrid Alaniz Wait. I've read a little more. It appears that Klipper permits a single RPi or BBB to act as the "conductor", directing a cluster of Arduinos. OK, I can live with that.

    • @timhofstetter5654
      @timhofstetter5654 3 роки тому

      @Astrid Alaniz Oh... but it's written primarily in Python. I'm taking away your upvote again. Sorry.

    • @timhofstetter5654
      @timhofstetter5654 3 роки тому

      @Astrid Alaniz Hmmm... support for the BBB, although touted, sounds very hinky.

  • @PatrickM747
    @PatrickM747 3 роки тому +6

    How could 5 people not like this, it's brilliant.

    • @MilkshakeFloof
      @MilkshakeFloof 3 роки тому +1

      now its 8 :(

    • @SamuelLing
      @SamuelLing 2 роки тому

      Now there’s now dislike

    • @PatrickM747
      @PatrickM747 2 роки тому

      @@SamuelLing Watched it again, still brilliant!

  • @GeraltOfRivia69
    @GeraltOfRivia69 3 роки тому +1

    Here before this goes viral. Grab your tickets now!!!!!!

  • @gmrgamingrm
    @gmrgamingrm 5 років тому +25

    That teal one is ZOOMIN'!

  • @hetile
    @hetile 5 років тому +21

    This is hilarious.. Good job.. Makes me remember when my stepper where noisy.. :)

  • @outagas2008
    @outagas2008 3 роки тому

    This is by far mankind's greatest accomplishment. Bravo!

  • @joebarrett4353
    @joebarrett4353 3 роки тому

    stunning. Best stepper motor music on the web!

  • @wolfeski
    @wolfeski 4 роки тому +5

    this deserves way more views and likes than it's gotten

  • @Pr04basher
    @Pr04basher 3 роки тому +10

    If stuff like that wouldn't be so time consuming I would love to do it myself on one of my projects at work as an easter egg.

  • @donmcpezorello7172
    @donmcpezorello7172 3 роки тому +1

    OMG! There nothing on this planet, that does not exist! Really! (I love it!)

  • @veyor
    @veyor 5 років тому +5

    This makes my day! Love it.

  • @anberlene
    @anberlene 3 роки тому +4

    Never take your silent steppers for granted

  • @AriBenDavid
    @AriBenDavid 3 роки тому +5

    Maestro!
    You made good use of all 10 motors.

  • @artantme
    @artantme 4 роки тому +14

    Claps for Purple and Cyan solo :)

  • @steveflor9942
    @steveflor9942 3 роки тому +1

    Steppin' in style! Bravo

  • @CAMOGUY54321
    @CAMOGUY54321 6 років тому +95

    Can you make a tutorial on how to do this. I would love to do this myself

    • @timhofstetter5654
      @timhofstetter5654 3 роки тому +70

      1. Learn to read sheet music
      2. Learn to program in GCode
      3. Learn to program an Arduino for RAMPS use
      4. Learn to make several Arduinos communicate well via I2C or SPI
      5. Gather at least four Arduinos and three RAMPS boards and four prototype boards and twelve suitable stepper motors
      6. Modify one instance of GRBL to become a "band director"
      7. Modify three instances of GRBL to become four-note players
      8. Build an interconnection system between the four Arduinos with one master and three slaves
      9. Plug everything together; dress up the steppers
      10. Learn how to translate sheet music to GCode
      11. Laboriously perform the translation
      12. Send your GCode to the "band director" Arduino
      13. Edit the heck out of your GCode to correct all the errors you made the first time
      14. Repeat 12 and 13 forever; there are countless errors in the first run
      15. Amaze your friends once, bemuse them thrice, annoy them forevermore

    • @aminebouabid5382
      @aminebouabid5382 3 роки тому +24

      @@timhofstetter5654 I think 90% of the steps are unnecessary
      steppers can be controlled using arduino in about 4 lines of code
      just extract frequencies from the song and create a function that takes frequencies in input and converts them to speed signals (which is just the delay control)

    • @timhofstetter5654
      @timhofstetter5654 3 роки тому +9

      @@aminebouabid5382 It's not nearly that simple. A frequency cannot be used as an input to anything, and no such thing as a "speed signal" exists. It takes far more than four lines of code to control a stepper. You have to initialize a timer to give you a hardware interrupt at a given frequency and use that interrupt to send pulses to the stepper driver.
      There's a catch, though; that's ONE stepper. You have to do it for FOUR OR MORE steppers, and you don't have enough timers or interrupts available for four. You can''t synchronize the steppers because they each step at different frequencies (which accounts for the distinct tone of each). You can use high multiples of two stepper frequencies, though, and use counters to trigger each of two steppers at their appropriate intervals; that gives you two steppers per timer. If you happen to be lucky enough to need two frequencies that can reasonably be multiplied together to be divided back.
      An Uno has two sixteen-bit timers and two eight-bit timers. Eight bits isn't enough for good tuning, so you have to rely on just the pair of sixteen-bit timers. That gives you... four steppers per Arduino.
      Alternative: you could set up one single timer at a very, very high frequency and use four counters to approximate your four pitches... but then none of your pitches would be in good tune with the rest. They'd be in good enough tune for a campfire sing-along with children, but not good enough to be regarded as "musical" and certainly not good enough for anything that wanted to emulate symphonic music..

    • @Quarterpounderspatch
      @Quarterpounderspatch 3 роки тому +12

      Step one. Buy a horse
      Step two. ???
      Step three. PROFIT

    • @oadka
      @oadka 3 роки тому +3

      There are tutorials online

  • @YeOldeSpellbooke
    @YeOldeSpellbooke 6 років тому +2

    An orchestra of steppers :) Hat off, well done!

  • @ravenvalentine4919
    @ravenvalentine4919 3 роки тому +7

    normal people : Stepper motors. The stepper motor is an electromagnetic device that converts digital pulses into mechanical rotation. Advantages of step motors are low cost, high reliability, high torque at low speeds and a simple, rugged that operates in almost any environment. this guy : MOTOR OF THE FRONTIER GO BURRRR !!!

  • @TheKautschuKMedia
    @TheKautschuKMedia 4 роки тому +2

    this should have millions of views. fantastic.

  • @BillWmeteors
    @BillWmeteors 3 роки тому

    WTF!!! Absolutely BRILLIANT!!!

  • @disposablebasterd
    @disposablebasterd 3 роки тому +6

    this is the intentional version of when I hear little recognizable tunes coming from my printer, , imagine STL's that generated g code that both print little things and make music while printing on porpoise,

    • @matthijsjanse3275
      @matthijsjanse3275 3 роки тому

      it is doable in gcode, but not sure id you could do a model that makes a slicer do this

  • @blackturbine
    @blackturbine 5 років тому +15

    Stepper: Let's machine this bois
    Rest of steppers: ayy

  • @НиколайМихайличенко-м7в

    Капец, ноги в пляс сами просятся.😂🕺🕺👯‍♂👯‍♂👍

  • @battleax6364
    @battleax6364 3 роки тому +3

    I remember hearing this song all the time when I used to watch Thomas the tank engine

  • @gulfarn863
    @gulfarn863 4 роки тому +2

    The pitch is generated by the speed of the rotataion right? For example a speed of 440 steps per second would generate a sound with a frequency of 440 hz?

    • @Jonmal0ne
      @Jonmal0ne 4 роки тому +2

      Don't know if the relation is right but yes, the faster, the higher pitched the sound will be

    • @JonathanKayne
      @JonathanKayne 3 роки тому

      That's 100% correct

    • @gulfarn863
      @gulfarn863 3 роки тому +2

      @@JonathanKayne Thanks for the response! Nice work with the stepper synth. I have been thinking about trying to do a project like that for a while. I prototyped with a small stepper motor but didn't get much sound. What steppers are you using?

    • @JonathanKayne
      @JonathanKayne 3 роки тому +2

      @@gulfarn863 I used a4988 stepper drivers with nema17 motors. The lower the driver quality the better sound you get

    • @gulfarn863
      @gulfarn863 3 роки тому +2

      @@JonathanKayne Thanks!

  • @doylemaleche1511
    @doylemaleche1511 5 років тому +1

    Awesome! Great Job! I will build one soon! thank you.

  • @petermarshall1634
    @petermarshall1634 5 років тому +2

    It sounds like a ringtone

  • @rileygelderbloom1627
    @rileygelderbloom1627 9 місяців тому

    This tickles my brain

  • @pavesomsk908
    @pavesomsk908 Рік тому

    magenta and cyan represent those two guys that do everything in the team

  • @timhofstetter5654
    @timhofstetter5654 3 роки тому +1

    Nice! Is that group of steppers equal-tempered, or is the number of steppers selected for dynamic matching across the scale?

    • @strictnonconformist7369
      @strictnonconformist7369 3 роки тому +2

      I was wondering how many different steppers are involved, because each will have practical limits as to top speeds and how closely they synchronize to musical tones. I could readily see using those with varying numbers of steps, torques, etc. also, their power supply may be varied to affect such parameters. A lot of 3d printers, for example, don’t run their steppers at max voltage.

    • @timhofstetter5654
      @timhofstetter5654 3 роки тому +1

      @@strictnonconformist7369 It may also be possible to vary a stepper's timbre by adjusting its microstepping on the fly. Doing that makes the project that much more challenging, though. 8)

  • @TheBoatPirate
    @TheBoatPirate 8 місяців тому

    ok, now lets hear THE WHOLE William Tell. please? ❤

  • @beaker2257
    @beaker2257 4 роки тому

    This made me chuckle.

  • @mr.matthews67
    @mr.matthews67 3 роки тому

    Fantastic!

  • @kameranrw
    @kameranrw 5 років тому +1

    kreated the steppers the diffrent frequences (low - high tone) with the rotationspeed?

  • @afterboy4763
    @afterboy4763 3 роки тому

    everybody gangsta till "A Clockwork Orange 2077" starts playing

  • @MrHomyachek
    @MrHomyachek 6 років тому +4

    Tell me how to build such a midi player?

    • @yongewok
      @yongewok 3 роки тому +1

      you would need to first measure the relationship between the input voltage and output frequency of the motors - then you need to either take the MIDI sequence and map the channels' outputs as voltages instead of notes/binary data, or alternately just write the sequence as code using voltages

  • @roykirich
    @roykirich 3 роки тому

    If all these motors are the same how comes they produce different Tunes? or is it different frequencies?

  • @Brandon-qp7gq
    @Brandon-qp7gq 3 роки тому

    NEMA17?

  • @kegginstructure
    @kegginstructure Рік тому

    Rossini might not have understood or appreciated it at first. But it is an interesting "orchestra."

  • @jnickence
    @jnickence 3 роки тому

    Very cool!

  • @picoplanetdev
    @picoplanetdev 3 роки тому +4

    Cyan just wigging out in the corner

  • @superwinderxd
    @superwinderxd 3 роки тому

    AWESOME!!!!

  • @だーぼー-j5p
    @だーぼー-j5p 6 років тому +1

    for文で何とか一つ回せるようになりました。複数やるにはやっぱり割り込み理解しないときついですか?

  • @eingamel
    @eingamel 3 роки тому +1

    NSTB: So how many motors are we going to need for this song?
    NSTB: Yes, all of them.
    Internet: :-D {fist pump}
    I'm not sure why, but when this started, I couldn't help but just start laughing. It was sort of like a full of tough biker guys with straight faces started using kazoos to create this song. I think my brain thought it was absolutely absurd, and absolutely wonderful at the same time.
    All I really know is that I absolutely love this video!

  • @KevinSolem
    @KevinSolem 6 років тому +1

    extreme good work

  • @Blackadder75
    @Blackadder75 3 роки тому

    what is a stepper motor?

  • @myname6482
    @myname6482 3 роки тому +1

    The Lone Ranger would be proud

  • @penniesshillings
    @penniesshillings 5 років тому +1

    Legend.

  • @BobDiaz123
    @BobDiaz123 3 роки тому

    Hi-Oh Stepper away!!!!

  • @indridcold8433
    @indridcold8433 3 роки тому

    Kudos to the violet motor and the sky blue motor!

  • @yongewok
    @yongewok 3 роки тому +1

    shredding the 16ths

  • @lightdark00
    @lightdark00 3 роки тому +2

    When you have enough money and time to play a song on 11 stepper motors but can't afford a tripod.

  • @jimsteele9261
    @jimsteele9261 5 років тому +1

    Hi Yo! Stepper away!

  • @retrochristmas7329
    @retrochristmas7329 3 роки тому +1

    Reminds me of that micky mouse short. Every time i expect donald to interupt with his infinite flutes.

    • @zacm.2342
      @zacm.2342 3 роки тому

      Meanwhile I'm reminded of Thomas cause it was used as the runaway theme a couple of times :P

  • @BarackBananabama
    @BarackBananabama 3 роки тому +2

    You're supposed to play William Tell using several bow strings.

  • @1000bitlord
    @1000bitlord 5 років тому

    LOL That's great i love it!!

  • @indridcold8433
    @indridcold8433 3 роки тому

    I feel like shooting an apple off someone's head with a bow with a 100 pound draw.

  • @nsmith0723
    @nsmith0723 3 роки тому

    I know where my stimulas check is going

  • @PianoNBS
    @PianoNBS 5 років тому +3

    Can't even tell which way it's pointing!! Lol

  • @David-bc4rh
    @David-bc4rh 3 роки тому

    Teal over there about to achieve lift-off.

  • @maraudostrogoth747
    @maraudostrogoth747 3 роки тому

    My only question is: Why?

  • @billwhoever2830
    @billwhoever2830 3 роки тому

    cyan vector: I WILL OVERSPIN YA

  • @RealIcemansmooth
    @RealIcemansmooth 3 роки тому

    So this is what the NTSB does when theres no plane crashes

  • @Compasscard
    @Compasscard 5 років тому +2

    Probably not an arduino driving this... I assume it's a more powerfull cpu that is needed to create those pulsetrains

    • @silkwesir1444
      @silkwesir1444 5 років тому +2

      you gotta be kidding. a more powerful CPU?
      i think someone with appropiate skill could do that with a 1980s CPU.

    • @JonathanKayne
      @JonathanKayne 3 роки тому +2

      The only real limitation would be the number of pins. An arduino can easily handle this considering the pulses are kHz max and the thing runs at 16 MHz

  • @CostcoComrade
    @CostcoComrade 3 роки тому +1

    I dont see any cannons

  • @Cynthia_Cantrell
    @Cynthia_Cantrell 3 роки тому

    Hi-ho Solder, away!

  • @hectormclean33
    @hectormclean33 3 роки тому +2

    cyan and magenta go wee

  • @YolandaPlayne
    @YolandaPlayne Рік тому

    sky blue MVP

  • @jonbrierley504
    @jonbrierley504 3 роки тому +3

    Completely pointless.... and completely awesome!

  • @VintageTechFan
    @VintageTechFan 2 роки тому

    The higher notes sound a little out of tune. Divider values becoming to low to hit the precise frequencies?

  • @Wreckedftfoxy
    @Wreckedftfoxy 3 роки тому

    computer what we building stepper motors ¯\_(ツ)_/¯

  • @eggsoda4992
    @eggsoda4992 3 роки тому +1

    Shit sounds like a cheap little tikes keyboard but still fire

  • @pavesomsk908
    @pavesomsk908 Рік тому

    magenta and cyan have a fight

  • @pavesomsk908
    @pavesomsk908 Рік тому

    magenta and cyan are helicopters

  • @RyzenX-JP
    @RyzenX-JP 3 роки тому

    ビールのダンボールを振動材にしてて草

  • @travisstorms9951
    @travisstorms9951 4 роки тому

    OK, Do Super Mario Brothers

  • @Mainyehc
    @Mainyehc 3 роки тому +2

    Eat your heart out, Wendy Carlos xD

  • @Noname_2014
    @Noname_2014 3 роки тому

    only original if you see chinese letters.

  • @teguhilhami5894
    @teguhilhami5894 3 роки тому

    This guy should doing MÆth,before....

  • @waynenakanishi971
    @waynenakanishi971 6 років тому +1

    本当にうっさい草

  • @notnobody1716
    @notnobody1716 6 років тому +3

    So awesome and well made!