Pretty much what the name says, this is a screen that shows you a random headline from the /r/showerthoughts subreddit whenever you press the button. I made it for my office (although you'd probably have to have a pretty relaxed office to use this, some of the shower thoughts are NSFW)
I'll post all the plans, code, CAD so you can make it for yourself.
See below for a how to assemble!
What you'll need:
- 3D printer
- Soldering supplies
- Perfboard, wire, and 0.1" headers, etc - the most basic electronics stuff
- Arduino pro mini
- ILI9341 screen
- A button - see pictures below.
- A 3.3v regulator (or a variable voltage regulator set to 3.3v)
- A disposable USB cable
IMPORTANT: My arduino pro mini is a 3.3v version - if yours runs on 5v (most of them do, I think), you'll have to modify your wiring to account for the different voltages!
Making the circuit
Download the free program Fritzing. Then:
- Open the .fzz file to see the circuit schematic. Then it's just a matter of soldering everything up!
- Make sure to trim the perfboard down as much as possible after you're done, the case doesn't have much extra room.
- After you're done, the screen, arduino, and voltage regulator should just slide into their spots.
- Adjust the pins as needed to suit your voltage regulator, you can use any 3.3v regulator
- See the pictures for what mine ended up looking like.
There's only one screen, I showed it twice to show the wiring easier. Instead of batteries, we're using USB power at 5v. The square gap below the arduino is where my 3.3v voltage regulator fits. I used a tiny SMD resistor, which is hard to see in my pictures - in case you were looking for that in the pictures below.
These are for the screen to slide into. Make sure you get the spacing of these right!
Make sure to load up the arduino pro mini with the included arduino code! Or write your own. Seriously though, write your own, my code is shit.
Assembling the screen
- 3D Print the front and back of the screen.
- To prepare the back, feed a spare usb wire through the small hole.
- You can ziptie the wire to secure it. I'd recommend doing this at the end though.
- For the USB cable, you don't need the data lines at all. Just tape those up or something. All you need is the power wires, + and -.
- In the front of the screen, the button should just click into place.
- Make sure to crimp on female headers onto the USB cable and the button wires. I'm using these "KF2510" headers tor a little more secure connection but regular female headers are fine.
- The screen should also friction fit into the 3d printed front part.
- Remove the SD card, and slide the front assembly onto the back assembly. Putting the SD card back in locks everything into place.
- Plug the USB wire in and, assuming you did everything right, it should just work! Just kidding, these projects never just work. Go back and fix whatever you messed up. It'll work eventually.
I don't know what this kind of button is called, but I think they're standard. Make sure that when you release the button, it loses contact. So don't get the ones that click in and stay in until you press it again.
Loading in the shower thoughts
My amazing and talented wife made this website that pre-downloads a text file for you based on your specifications.
Just name that file "ST.txt" and save it into the SD card. If you want, you can just download the one I've included with the files here - it's filtered as Top of All Time, 1500 quotes.