In the late 90s, Volkswagen aired a series of awesome television advertisements that won a few awards relevant to those in advertising circles. One of these ads was titled Synchronicity and showed a VW Jetta’s windshield wipers (among other things) syncing to music as the car drove down a rainy alley. [ch00f] thought beat tracking wipers would make for a great project, and we love the sheer amount of engineering that went into this build.
The build began with [ch00f] taking apart his wiper motor to get some specifics for his build. Ideally, a rotary encoder would be very useful for this project, but designing a durable encoder would be a pain anyway. [ch00f] had to settle with the ‘parking pins’ on the wiper gear motor that allow the wipers to be driven in intermittent mode.
[ch00f] spent a great deal of time writing code that would guarantee a constant wiper speed, but that didn’t solve the problem of phase, or having the wipers begin or end their cycle on the beat. This problem was somewhat solved (as you can see in the video after the break) by using a feed forward system – basically, the software would predict the change in phase needed and correct it by changing the speed.
The build still isn’t perfect, although that’s mainly due to the placement of wiper parking switch on the wiper motor. [ch00f] plans on spending a little more time correcting the wiper speed/phase control with software, but what he’s got now is still very impressive.
43 thoughts on “Over Engineering Windshield Wipers To Sync To Music”
Insert nerdgasm here.
Why do this? Because we can.
We need hacker awards so we can bestow honor on guys like this.
I second the motion!
I third the motion!
I fourth the motion!
You have no idea how often I’ve wanted this!
Now set it up for automatic beat detection, instead of manual input :).
But pressing a button is way too cumbersome. There’s open beat detection code, there should be fast enough µCs to run it. Attach a microphone or the radio’s line out, and don’t tell anybody about it. It’s such a subtle effect, would feel like magic (“you’re tricked when somebody puts in more effort than you could imagine”)
I’m the guy in the video. I’m planning to do exactly that. I’m kind of bummed that hack-a-day linked my project before I managed to finish it, but that’s life.
Anywho, if you look at this post:
I’ve already got a plan for how to do automatic beat detection, I’ve just got to optimize it for a micro controller.
Awesome hack, ch00f! Slight nitpick, Gnarls Barkley’s “Crazy” is 112 bpm, it looked like you were tapping at about half that :)
But the wipers can only go so fast
FINALLY right when i was running out of things to distract me in a car :P
Well, synced wipers might actually be less of a distraction when you’re bobbin’ your head to the beat
Squirt the water jets also on some event such as a loud crashing cymbal.
i wonder what music track will clean the best
“At the Carwash…”
DJ Coone – The Return
A question th the psychologists out there…
What immersive effect would this contribute to – when using ‘aggressive’ or ‘calm’ music?
Would the driver respond to the immersion effect of combined ‘music & visual cues’ in a way that is greater or lesser than ‘driving music’ alone.
This may have the potential to create more aggressive(Angry) / focussed(Competitive) driving, or less-so (Camry!).
nonetheless, I find the idea intriguing.
im not seeing it, must just be me…
You’re not the only one. Try watching the video without the music. You literally see nothing different about the wiper speed.
Next addition after you get this to work: a rain detector connected to the CD player, to change to a faster song automatically when it rains harder :-)
In my day we had AM radio that faded in and out between the buildings.
And we liked it that way!
//kids today and their ADHD need for round the clock crappy music//
some even have ADHDTV
Or even worse … ADHD3DTV … i hear its the worse
What happens if he plays DragonForce? :D
“Through the fire and flames” would literally result in the wiper motors catching on fire ;)
I do have to say as a petrolhead, this is definitely a fun hack to the car, well done ch00f :)
“Uh oh, the rain is starting to come down heavy now, better change cd”
What if it’s only misting and I want to listen to speed metal?
You have to pour oil over the windshield so the wipers wont take any damage.
Throw in some groove quantization and become a god.
Windshield wipers slapping time while Bobby sang the blues…
Throw some Dub Step at them !
This is neat. I’d try to sync the turn signals as well… but making sure to subdivide the beat to keep it street-legal regardless of tempo (i.e. blink every X beats if tempo is too fast, or add Y blinks inbetween if it’s too slow).
For optimum fun you should instead make the turn signal stagger or wander about the acceptable flash rate range.
If you want the music from the VW commercial for a test run, the original artist (Peter du Charme) has released it on his own website:
Brilliant! Thanks! I will definitely be using this in the video once the whole system is complete.
Maybe dubstep could floor the accelerator for 10 seconds and then whip the steering wheel hard right.
Three words: technical death metal
youve given me very very very bad ideas,
hmm, intercepting ALL the accessory (wipers, lights, other lights, rear wiper, AND HORN!) signals all at once and drive them from …
ever heard of a color organ? hehehehe im so bad, screw you warranty, i want my car to groove to the beat, LITTERALY!
seatbelt: mandatory, jump: optional
Having not read previous comments prior to posting this, why doesn’t he playback the same file simultaneously with a second delay in between them and just know what’s going to happen? Let’s say he’s just using some mp3 player code and reading the visual #, he could read it off of the first file.
This solution could work with the radio or any other audio input solution.
This is so forking awesome! I hate it when the wipers don’t synch with the music. And btw, how come they never thought of this on Pimp My Ride?
I really liked that commercial, not just for itself but as an indicator that there are still advertising people out there who’ve used acid.
Please be kind and respectful to help make the comments section excellent. (Comment Policy)