loading
Picture of The Raspberry Pi Powered Joke Machine
I recently received a new Raspberry Pi and wanted to create an Intro to Raspberry Pi project. My Pi included a 16x2 LCD display and a Wi-Pi Card so I created the Wireless Raspberry Pi Powered Joke Machine. Just press the push-buttons and the machine will look up a one-liner and scroll through it. (Admission of guilt here...I originally thought it would be neat to create a desk-toy that could display inspiring and educational famous quotes...the Joke Machine can do this, but when I found I could just as easily generate one-liners, I decided that would be more fun :-) )

This Step by Step Instructable walks you through the process of setting up a new Raspberry Pi, adding the the PiFace Control and Display LCD, the WiPi wireless and the provided python script TheQuoteMachine.py which looks up jokes and quotes on a free service called iheartquotes.com. it'll also describe how to access your Pi without need for a keyboard or Display using VNC remote access.

Parts Needed
  • Raspberry Pi model B
  • 8G SD Card with NOOBS installed
  • Pi micro-usb cable and adapter
  • WiPi wifi adapter (or ethernet cable)
  • PiFace Control and Display - LCD Display which includes 7 buttons and an IR chip
  • During setup you'll want a USB keyboard, an HDMI cable and Monitor
  • Project box - I had an old watch gift box laying around 
Tools needed
  • Tin snips to cut slots in project box
  • Dremel style tool to cut a hole for the LCD display and smooth sharp edges
  • Label maker
  • Sharpie to mark the project box
  • Vinyl tape

Here's a Video of the Joke Machine in action:


 
Remove these adsRemove these ads by Signing Up
tmgiewont4 months ago
Never mind I was spelling chmod wrong
tmgiewont4 months ago
Im having an issue it might be because I don't have the pi face installed into it yet but the code Chomd +x /home/pi/TheQuoteMachine.py it doesn't work I tried to run it in the terminal and python
jatinbatra1 year ago

Nice one , I was also struck with same idea to create something called "words of wisdom" with Pi. But I would rather like to use C for programming Pi. I'm using WiringPi for GPIO control , can you plase tell me is it possible to replicate that with C. Thanks

is not usefull for jokes, i will give another use: like, things that i have to remember anyway, thanx

This is a really cool idea! I like the prospect of the joke machine. I had an idea for another function. I am thinking about taking your design and making a Fortune Cookie Machine. I found this little metal fortune cookie at a bookstore and I thought it would be cool to make a device like this and attach the metal cookie thing to it and make it generate fortunes. I have not worked with a Raspberry Pi yet, but I think this would be a really cool project to start working with it, when I can spare some cash to get supplies.

mazzmn (author)  The_Reverend12231 year ago
thx! I'd like to see what the fortunecookie looks like. The website I get jokes from also has fortunes. You could find a thermal printer and print them out! surplus stores sometimes have them as old credit card machines. use a model a pi to save some money and store the quotes on the sd card to reduce the need for the Wii pi csrd. Good luck!
cool!!
mazzmn (author)  Hardwired221 year ago

Thanks!