Introduction: RickRoll Police
What's a better way to start than RickRolling ?
I enjoyed going through a lot of Projects on Instructables.
While some required you to have access to high end tools and supplies, I thought to start with something more creative right from the supplies you'll easily have at home.
IDEA:
To build a Police Bot, That rickrolls Intruders.
Supplies
- LEDs
- 9V Battery
- Jumper Cables
- Photoresistor (LDR)
- Old Speaker / Piezo Buzzer
- Arduino UNO (Microcontroller)
- Breadboard (Small or medium)
- Resistors (10k Ohms & 220 Ohms)
- Crocodile Clips / Solder Iron (Optional)
- Cardboard
- A4 sheet
- Markers, Scissors etc for decoration
- Laser (just for fun)
Step 1: Idea and the Circuit
The Best approach to building a project is making the prototype.
For this I used Tinkercad.
It helped me make the failproof circuit, decide on the resistance of the resistors to avoid damaging circuit components due to high voltage.
I started by adding a Breadboard and Arduino Uno to the canvas, you can feel free to use any of the starters.
- First, I created a simple buzzer
- Then I figured out the tones for the Rick Rolling
- Then, I added LEDs
- Then I wrote Code to synchronize the LEDs to glow with par to the music played
- Then I added a photoresistor
- I used it to act as a switch, Which starts the circuit when it reads sufficient light from the atmosphere
The Idea being That our RickRoll Police Bot will guard an object / Item.
If and When the object is displaced from its place, Light will fall on the sensors,
Which It will detect and start to Rickroll the Intruder
Step 2: Getting Started
Component List
As someone just getting started, I can understand the complexity of the circuit involved in the project.
I too, had to reference a lot of information to get things right.
But you need not worry, Just follow this Instructable, and you can build your own RickRolling Police Bot!
Step 3: Setting Up the Circuit
See above the Circuit Schematics.
Use a breadboard and make the Connections
Incase you wish to change the pins, you can simply change the variables for the same in the code
Step 4: Coding It
Now the code,
Don't you worry,
You can code it yourself without much trouble using Coding blocks on Tinkercad.
Nevertheless, I have attached my Code which you can use !
You might need to still give some time calibrating your LDR, and even changing the threshold in the code if at all required.
That's it, halfway DONE!
Attachments
Step 5: Decorating the Bot
Use your Cardboard Box, that is where we will fit the Breadboard.
I carefully cut out the Instructables Mascot Robot Design from a plain sheet of A4. I then Covered The Cardboard box with Black paper. Then I stuck the Mascot design on it, pierced holes through his eyelids to insert The LEDs. I put in the Light Dependent Sensor in the kite. I then fit in the rest, Breadboard, Speaker, Battery, Arduino, and made the connections.
Step 6: Testing the RickRoll Police
Now I tested the RickRoll Police, to determine If I was successfull in building it.
I did this by shinning a laser beam on the kite which the RickRoll Police held in it's right hand.
The RickRoll Police responded to the light, and started Rick Rolling!
MISSION SUCCESSFULL !
Step 7: DEMO: Police 0n Duty!
Watch RickRoll Police on Duty,
Guarding my Cardboard Creation from the Hands of Intruders.


