The idea was to make a diy version of this monster book from harry potter.
The one they used in the movie is probably a several thousand $ remote control robot but with the right parts I think we can get something close that jumps around or wiggles a bit.
Before I started this project I looked around online and found several tutorials on how to decorate a monster book but none on making one move. So here is my version…
So there are 2 parts to making a good monster book
- putting some electronic guts inside the book for the motion
- decorating the outside of the book to look like a monster ( I did not decorate this one I just made it move)
To get things moving on the first version I used hardware I already had. An arduino starter kit . Below there is an easier version made with little bits.
parts for arduino version:
- 1 arduino board
- 1 servo
- battery pack for servo (I used a 4 double A pack)
- battery pack for arduino board (I used a 9v pack)
- some alligator clip wires
- spacer material
- paper mache book
- arduino sketch code that will make the servo move downlaod mine here
- arduino software to load sketch code onto board download here for windows or here for mac
- usb cable
This setup requires 2 different battery packs because the arduino boards only use 5 volts and the servo motors take 9 to 12 volts. Trying to run the servo thru the arduino board could burn out the board from current.
Before cramming all this into the book you should connect the wires and make sure it works first.
The first thing is to plug the arduino board into the computer via the usb cable and upload the sketch code that will tell the servo motor to go back and forth. When you send the sketch code to the board it should say verified… compiled … and uploaded complete. During an upload there is a tiny led on the board that will blink rapidly.
Now you can wire things together with the alligator clips. The servo has 3 wires red and black for power and a yellow for data. The battery pack for the servo should have red and black wires so just connect red to red and black to black between the battery and servo.
The yellow wire goes to the number 15 slot on the side of the arduino board. The arduino board can be powered by either usb or the battery. Since this will be in a closed box we are using the battery. If you have the 9v battery pack you should find the barrel battery port to plug it into just to the side of the usb slot. There is also a ground wire that needs to be connected from the arduino board to the black wire of the servo. It might take a few tries to make sure everything is connected right. but after a few seconds the servo should move when it is correctly powered up.
Now getting the guts in the box. Depending on the size and thickness of you book box your positions maybe different from mine. To get the best movement of the lid I had to place the servo in the middle of the box. I also had to put a spacer under the servo so that the lid was just barely open a crack. I just tapped everything down with masking tape. The arduino went in the back corner with its battery pack in the front and the other battery pack in the left back corner.
The simpler alternative to use little bits parts instead of arduino parts.
You need a battery pack… power bit… pulse bit…. and either a servo bit ….
You basically just connect them in order and turn it on. The pulse bit will activate the servo at certain intervals that you can adjust duration of. The limitation with this setup is you can’t set the duration to be very long like with the arduino setup is every few minutes. You have to choose to have it on all the time with the pulse or activate it with the button press. The other thing with the pulse bit is the little adjustment screw on the bottom of it needs to be turned all the way to the minus side for the longest duration.
There are more little bits modules you can get for more advanced setups but these few modules are what typically come with the smaller kits.
You can get a little fancier with the little bits and use the 3 way bit to add lights for the eyes. I used the led for white light or the bar graph bit for green light.
Then just place in book box so the servo makes the lid move as show above.
If you made it this far thank you for skimming my blog. If you run into problems ask a question in the comments.