Annoying Autonomous Rickrolling Device (For April Fools' Day)

 by xtremd
FeaturedContest Winner
P1220803.JPG
Usb Port.JPG
 

Have you ever wanted to Rickroll somebody very important for hours while sitting in a comfortable non-culpable vantage point where you can watch all the fun? Do you also want extra points for only using some salvaged old parts (an old Arduino, $6 Chipcorder and a speaker) augmented with less than $10 of stuff from RadioShack? Do you want it to be able to (theoretically) endure some aggravated Rick Astley fueled rage and abuse before finally failing for maximum hilarity? High five! You think just like me!

I was originally going to pull this prank on my high school biology teacher for April Fools' Day, but had to change my plans at the last minute. My Biology teacher had already anticipated the prank (with what I can only fathom must have been his mind reading ninjutsu), and instead suggested that I pull this prank on the Dean of the upper-middle school. Since I was personal friends with the Dean, I knew that he would in no way be offended by the prank, but actually thought that he might actually enjoy the novelty of the prank.

Therefore, on the morning of April Fool's day, I took out my computer and set the current time and date on the Rickroll device (Codenamed "The Cinnamon Shaker") using an Arduino serial prompt. I made sure to set a trigger time sufficiently ahead of lunchtime to ensure that the Dean would still be in his office for the start of the prank; I didn't want him to miss it! Using a pinch of Peruvian Instant Darkness Powder, I hid the box in its new home in a obscure corner of the room.

I am glad to say that the device worked flawlessly. Even though the Dean was unable to shut off the device and had to shut it in a desk drawer with the speaker propped against the inside of the drawer to muffle the noise, he was really amused with the prank! He did admit that enduring an hour worth of Rick Astley's "Never Gonna Give You Up" was not exactly enjoyable, but was alright since the device automatically shutoff due to an one hour anti-excessive-cruelty timer. More than one hour, and some particular metal box might have found itself defenestrated onto the street below.

Warning: This device is incredibly devious and annoying. It should not be used on somebody who cannot take a joke or who doesn't know what Rickrolling is. It might get you fired or yelled at. I am not responsible or liable in any way for how you use the information and Arduino sketches in this Instructable.

For all of you who do not know what Rickrolling is, this Wikipedia page sums it up quite nicely: http://en.wikipedia.org/wiki/Rickrolling

Drop me a line in the comments if you need any help with anything!

Update: Video coming soon! (I just need time to edit it and fix the sound quality.)

Update: The video is now up!!! Enjoy!!!!
 
Remove these adsRemove these ads by Signing Up

Step 1: Parts List

For this prank we will need:

--From the Internet:

- An Arduino, Freeduino or equivalent (See note at bottom for Barebones Arduinos/Freeduinos alternatives) Price varies.

- ChipCorder I16-COB20 demo board from Winbond. Available from Digikey under part number: I16-COB20-ND $5.32
http://parts.digikey.com/1/parts/406898-board-demo-isd1620-i16-cob20.html

--From RadioShack/Hardware Tinkerer store:

- Pack of 10K resistors (although we only need two) $0.99

- 8Ohm speaker (I salvaged mine from a old tape recorder) $2.99

- Pack of 5 9V battery snap connectors (although we only need 3 or 4) $2.99

- Aluminum project enclosure $2.99

- NPN 5V Transistor (I used the TIP3055) $1.79

*A note about barebones Arduinos/Freeduinos: They must have a 5V voltage regulator that can use 9V batteries (Awww! No Diavolinos?). They also need to have a 3.3V output pin along with a 16Mhz crystal (not resonator!) to work for this project.
Robot Lover says: Aug 5, 2011. 9:47 AM
if you replaced the mic on the recorder with a stereo jack you could plug it into the headphone port on your computer, then the sound would be cleaner.
johnsewe in reply to Robot LoverAug 19, 2011. 6:16 AM
Hey, interested in trying this project. Is it possible to completely eliminate the need for the chipcorder and load the music file directly onto an sd card for the arduino to read? (this is my first big boy project with arduino, so forgive my lack of knowledge)
xtremd (author) in reply to johnseweAug 24, 2011. 9:14 AM
Hello again!

It is not currently possible to play music off of an SD card with only a stock Arduino but it is possible if you use something like LadyAda's Wave Shield for the Arduino. Take a look here for the shield: http://www.adafruit.com/products/94

You could also look at my other instructable where I make a talking robot head to see how I used a Wave Shield to play audio files using an Arduino. It would require some changes to the Rickroll code but is definitely possible. Here take a look:
http://www.instructables.com/id/Build-an-Arduino-powered-talking-robot-head/

Goodluck!

-XtremD
Robot Lover in reply to johnseweAug 19, 2011. 10:29 AM
I saw a project one time that communicated directly to an SD card using a PIC microcontroller to play music. Perhaps a little try googling PIC SD card reader or something of the like.
BuffaloNickel says: Jun 1, 2011. 4:54 PM
You could play a more easily looped song, such as the "TROLLOLOL"
Chowmix12 says: Apr 6, 2011. 6:19 PM
wheres the code?
xtremd (author) in reply to Chowmix12Apr 6, 2011. 7:27 PM
There is now a link to my Github Repository that is hosting the code in step 6. Apparently Instructables.com does not like people uploading code in zip files and the code never got uploaded.

Thanks for pointing this out!

-XtremD
Chowmix12 in reply to xtremdApr 6, 2011. 7:54 PM
The link still doesn't work. Here's the correct link: https://github.com/xtremd/Rickrolling-Arduino-sketch/blob/master/RickRollAlarmR2.pde
xtremd (author) in reply to Chowmix12Apr 6, 2011. 9:12 PM
Huh, I've never noticed that the "Git Read-Only" link that Github gives you does not direct you to the Github repo's splashpage. (*Facepalm* Well obviously! The link ends in .git! it's only meant for public pulls/merges!) I've now added the real HTML link to the repo's splashpage (only one level down from your link) in step 6.

Thanks a million sir! You deserve a medal for your efforts.

XtremD
xtremd (author) in reply to xtremdApr 6, 2011. 9:38 PM
Oh, BTW Good luck in the Robot Contest and Makerbot Contest!
Chowmix12 in reply to xtremdApr 7, 2011. 5:56 AM
Thank you so much. Have you looked at my first instructable?
xtremd (author) in reply to Chowmix12May 25, 2011. 11:16 PM
Yes, and congrats on your age 13-18 win! It's nice to see someone else here who is in the same age group as me doing the same awesome robotic stuff! Keep it up! Also, are you planning on entering in the Adafruit contest?

Chowmix12 in reply to xtremdMay 27, 2011. 3:30 PM
I am not.. I want to focus on my projects right now and I have a huge list to attend to after school gets out.
xtremd (author) in reply to xtremdApr 6, 2011. 9:21 PM
Sorry, I meant a level up from your link.
rdswords says: Apr 22, 2011. 1:30 PM
This is a great idea, but it seems like this could be implemented in a far more simple and low tech version by eliminating the arduino and triggering the play button in a simpler way.
xtremd (author) in reply to rdswordsApr 26, 2011. 7:09 PM
Well I could have used a few kitchen timers but I was afraid that someone would think it was a bomb so......
rdswords in reply to xtremdApr 27, 2011. 5:39 AM
Haha yeah. I showed it to a coworker (we're electrical engineers), and we agreed that the microcontroller was a pretty good choice afterall, because you could get random number generations, but that there were some much smaller and much cheaper microcontrollers that would reduce the size and complexity of the circuit.

This is a good example:

http://www.sparkfun.com/products/8308
xtremd (author) in reply to rdswordsMay 25, 2011. 11:04 PM
True, I could have just used a bare Atmel or Picaxe chip but I did not have the time necessary to wire up the voltage regulators, crystals and all. I had alot of trouble finishing this project on time for April Fools just how it was. Check out the video for evidence, the time and date on the computer says 12:50AM April first!
94CJS says: May 13, 2011. 10:30 AM
That's horrible and twisted....and probably the reason i love it...XD
jwoo2023 says: May 10, 2011. 5:00 AM
someone could melt the glue.
Madmardiguino says: Apr 12, 2011. 9:08 AM
I wonder if there is a way to remotely activate, rather than by time? I'd love to do this to a coworker but I can't predict when he'll be at his desk.

Any ideas? Maybe the Arduino is only used for its clock?


Thanks! Very cool!
xtremd (author) in reply to MadmardiguinoApr 26, 2011. 7:11 PM
I know that someone did something similar to what you want to do and posted an instructable on it but I'm having trouble finding it now. I think it was called RC Arduino or something.....
Matrix-technician says: Apr 6, 2011. 5:07 PM
(correction) In my previous comment i said "attack" a regulator to a clip. I meant attach.
xtremd (author) in reply to Matrix-technicianApr 6, 2011. 9:33 PM
Yes! You could! The only reason I did not mention it in the Instructable was that not only would you have to know how to wire up the 5V regulator (which I did not know there was an Instructable for), but you would also have to know how to bump it down to 3.3V for the Chipcorder along with finding a way to pack all of it into an already tight fitting box. I also did not want to have to deal with regulator efficiencies and battery drain because I knew that the regulator in the Arduino was very efficient (or at least that's what they boast in their product page). Lastly, the Arduino I was using was already old, outdated and water damaged, I did not really care whether it would make it back in one piece.

You do have a very good point though, if you went entirely barebones and ordered all your parts from the Internet, this project would be almost disposable in terms of cost!
Matrix-technician in reply to xtremdApr 11, 2011. 11:33 AM
OK! Btw, did you know you can get 3.5 volt regulators? I'm sure you could simply attach somthing like a 100ohm resistor to bring it down a tiny bit to 3.2 or maybe 3.1 volts. That should be able to run the chiprecorder.
xtremd (author) in reply to Matrix-technicianApr 11, 2011. 4:55 PM
Actually, I took a look at the ChipCoder specs and it seems that it can be run between a maximum of 2.4v to 5.5 so either a 3.5v or 3.3v regulator should be fine. It could probably even be run directly from 5v in a pinch (probably at the expense of runtime though) although I would personally run it from ~3.3v. Here, I found a regulator on digikey for $0.44 that might do the trick. Take a look! http://parts.digikey.com/1/parts/619040-ic-ldo-reg-250ma-3-3v-92-3-mcp1700-3302e.html
Matrix-technician in reply to xtremdApr 13, 2011. 7:21 PM
Looks promising! This is why i love this site. Soo much usefull information can be exchanged, shared, and found all in one place. No more clicking useless link after useless link!
xtremd (author) in reply to Matrix-technicianApr 14, 2011. 4:54 PM
High five for progress!
BTW if you're interested, the simplified Chipcorder datasheet can be found here:
http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/ConsumerElectronicsIC/ISDVoiceIC/ISDChipCorder/Documents/I16COB20_UserManual.pdf
whereas the in-depth and useful datasheet can be found here:
http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/ConsumerElectronicsIC/ISDVoiceIC/ISDChipCorder/Documents/ISD1600B.pdf
They mashed some specs from multiple Chipcorder chips into the same sheet so just remember that the chip we are interested in is the ISD1620B.
xtremd (author) says: Apr 8, 2011. 3:41 AM
Hey folks, so Instructables is not letting me edit my Instructable but I finished the video. Here it is! http://www.youtube.com/watch?v=JKOMrLaJHWw
xtremd (author) in reply to xtremdApr 8, 2011. 11:48 PM
Edit: It's now up on the Instructable intro!
bikerbob2005 says: Apr 8, 2011. 1:40 PM
nice only change would be tamper resistant screws. keep up the good work.
xtremd (author) in reply to bikerbob2005Apr 8, 2011. 11:47 PM
Maybe proprietary Apple Iphone4 pentalobe screws?
Mosher6336 says: Apr 8, 2011. 10:46 AM
This concept would make a hilarious gag gift, disguised as a similar sized device (think external hard drive, or the like) with a power button that only starts, not stops, the rick-roll.

May meet some people's standards for a true rick-roll
codongolev says: Apr 8, 2011. 2:50 AM
hide it in someone's car. hook it to their stereo.
cazasnark says: Apr 8, 2011. 1:45 AM
What happened after? Did you get expel from school?
blacksheepfoto says: Apr 7, 2011. 8:49 AM
This is brill....

I am praying that the mens bathroom has drop ceiling at my office.
xtremd (author) in reply to blacksheepfotoApr 7, 2011. 6:38 PM
I'm debating whether this would be better or worse than the elevator music they play in bathrooms sometimes.....
brentrjones says: Apr 7, 2011. 9:07 AM
Awesome project. There are many annoying songs that could be used. Many from the Disco Era. Bee Gees. Blondie
thepelton in reply to brentrjonesApr 7, 2011. 6:06 PM
How about "I want you to want me" by Cheap Trick. An aptly named band if there ever was one.
sleeepy2 says: Apr 7, 2011. 11:56 AM
I can't believe the Rickrolling wiki-link actually lead to Wikipedia. I was fully expecting to be Rickrolled!
Wasagi in reply to sleeepy2Apr 7, 2011. 5:03 PM
ahahah, me too!
chrwei says: Apr 7, 2011. 6:28 AM
fun prank! but not really a rickroll device...

I'd imagine a nice looking box with a button that says "press button to hear a joke", it starts playing a recorded joke, but cuts it off mid-setup and plays the song.
Matrix-technician says: Apr 6, 2011. 5:05 PM
Hey, if the arduino doesn't have the 5 volt regulator I would imagine you could attach a regulator to the power leads? Look at 9v usb charger "ible" to see how to attack a 5volt regulator to a 9v battery clip.
Daniel571 says: Apr 6, 2011. 4:05 PM
That's just mean, funny yes, but mean.
Nice project, might have to do it soon
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!