You'll be the talk of the town when you wear this obnoxious, oversized, completely impractical wristwatch. Display your favourite foul language, song lyrics, prime numbers, etc.
Inspired by the Microreader kit, I decided to make a giant watch using similar sixteen segment displays. Twelve hours later, I came out of my masochistic fugue and stopped trying to route a sixteen bit data bus on a single sided pcb small enough to wear on your wrist.
Returning to my digikey box of mystery, I came up with a four character display made up of 5x7 led matrices. 7 bit parallel data input, no need for umpteen current limiting resistors, upper and lower case characters, the rest writes itself.
This instructable is not meant to be a tutorial on creating PCBs or programming PICs. In all fairness, I wouldn't actually recommend that anyone try to make one of these. If you know enough to follow along, you can probably do a better job than I did. If you don't know what's going on, then this instructable isn't going to teach you all you need to know.
P.S. If you use this to scroll internet catchphrases in public, you are a bad person and should be ashamed.
Step 1: Get Your Crap Together
What you're going to need:
DLO3416 Intelligent display
Comes in red, green, lavender, fuchsia, and maple walnut flavours.
PIC 16F628A or 16F648A
You might be able to get away with another pin-compatible PIC, just make sure to read the datasheet carefully. Either way, you'll need at least one PIC in the SOIC package and probably a DIP for breadboarding the circuit. The 628A and 648A are identical except for the amount of program memory available (2k vs 4k). Use the 648A unless you have some 628As lying around.
This is a charge pump dc-dc converter. We're going to use this to make 5V for our display from a 3V coin cell battery. Get a few so that you can destroy at least one.
The passive components are all through hole type. I know the mishmash of surface mount and through hole is kind of aesthetically displeasing but what can you do.
-Capacitors: 10uF (2), 1uF (1)
-Resistors: 10K (1)
-Switch: N/O momentary pushbutton. The clicky kind you see everywhere cheap buttons are needed.
-Pin headers/sockets: Two pins and a jumper, and a single row of 6 sockets. You can substitute pins for the sockets if you enjoy accidentally tearing clothing and skin.
-CR2032 Coin cell and holder.
Soldering iron with the pointiest tip you can find. The MCP1253 comes in a surface mount package small enough to be accidentally inhaled.
Copper clad board, etchant, acetone etc for making the PCB.
PIC programmer with an ICSP header and cable.
Some other stuff without which you won't get very far but that I can't remember right now.
Step 2: PCB Fun
The display datasheet lies. It says the cursor select is an active high input. Now since we're patient and careful, we've breadboarded the circuit to discover this before wasting hours making PCBs with CU tied low.
With only one display, we don't need to worry about addressing. We also don't care about the cursor function. In fact, I have discovered a truly remarkable list of things we don't care about, which this instructable is too narrow to contain.
I routed the board freehand for the most part, so I'm not including a pretty Eagle schematic. Mapping PIC outputs to display pins is a lot easier using component footprints. If this is too confusing, get stuf.. I mean I'll make one up.
I'm not going to go over how to make your own PCB, Instructables is made up of about 50% toner transfer method instructions by my count. Download the Eagle file, print it out 1:1 and mirrored. Iron it onto some copper board for about half an hour, pull the paper off, discover that it didn't work and repeat about ten times.
If you want to do a nicer jumperless job, have a double sided board made or whatever, the Eagle libaries for the MCP1253 (thanks to someone over at Open Circuits) and the display are attached.
Step 3: Assembly
Some general tips:
1. Start with the MCP1253. This way when you screw it up and smash the board, you aren't losing a lot.
Tin the traces first, then hold it in place and tack it down. The extra trace length around it should help out, heat the far end and line it up. If you have a steady hand and some fine solder you can do the leads individually. If you bridge any, drag some solder wick across them.
2. After soldering the MSOP, the SOIC PIC will be a walk in the park. Same deal again, tack down the corners then work your way around.
3. Surface mount parts go on the bottom everything else goes on top.
Step 4: Lots of Typing for Few Words
The PIC's ports are connected as follows:
RB5 SW1 Switch input
But wait, you say, the data bits are in a garbled order! Well, there's one bit of tedium I'll save you. The attached include file has equates for the character set translated for this ordering.
My code has some issues and isn't very pretty, so I'm not including it in this instructable just yet. The general program flow to change one character is as follows:
set address bits
move character data to PORTA
clear WR\ bit
set WR\ bit
The fun part is trying to access large tables of data in program memory, switching between display modes on button presses, selecting appropriate 80's rock lyrics and so forth.
On the bright side, it is pretty simple to get it up and running if you have any PIC programming experience. You can brute force it and type out a function call for each character or use a simple lookup table with one index and get a sequence of 256 characters, (64 four character "words").
Step 5: Miscellany
Removing the jumper disconnects the dc converter from the rest of the circuit during programming. Depending on your programmer, if you accidentally leave the jumper on you might fry the converter or programming might just fail.
The blanking input is your friend. At full brightness (100% on duty cycle) the circuit can draw upwards of 50mA. Not only will this drain your battery in a couple of minutes, it's way brighter than necessary. Experiment with a small PWM loop to dim the display to an acceptable level of current consumption. In my experience the display is still very visible when the whole circuit draws on the order of 2-5mA.
This watch is not meant to be worn regularly or to be used for timekeeping, obviously. The goal is to have something stupid on your wrist for a few hours when you go out. You could replace the coin cell with a larger battery like a li-ion pack from a cell phone if you really need more battery life.
Wait, how the hell do you stick this to your wrist
I haven't figured it out yet either. I'll probably end up buying a cheap velcro watch strap for now.