Route 66

I received the display (no pics yet :’( ). It is teeny, but the contrast is really nice. Last but not least, I just finished the routing of the PCB and should be sending it out for fab at BatchPCB by Friday.


I have three “airwires” left. The auto router choked on this board, so this was the best I could do manually. I added some vias so I could solder a jumper in to connect the nets.

Which switch is which?

I haven’t been working on the Pocketwatch much because I am waiting for the display, and I have been rather nervous about constructing the encoder/switch with my limited mechanical abilities. But tonight I was putting off starting the last Harry Potter book (Don’t tell me! I haven’t read it yet! *fingers in ears* NAH NAH NAH) and I decided to head into the lab and fiddle around. I ended up picking up the pocketwatch and constructing the switch mechanism. It actually turned out rather well, nice and smooth, not wobbly. It still needs finishing, but here it is:

switch1 Switch2

The tiny disc magnet is glued into a slot in the plastic shaft on the left. The bushing is made from a drilled out and turned down 2-56 nylon standoff. Pressing down on the shaft engages the tactile switch with a satisfying *CLICK* and spinning the shaft will cause the hall effect sensors to sense the rotation.

The encoder started as a sketch:

encoder1

Then Prowler50mil on the Steampunk Tactile forum suggested using one magnet and two hall sensors. Great idea! I built up a demo to try it out:

http://www.robotguy.net/tn_pw_encoder_test.jpg http://www.robotguy.net/tn_pw_encoder_test2.jpg

Lo and behold, it works!

The display is on it’s way

I ordered the OLED last friday. The US distributor was out of stock, so I had to order from Australia. Here is a 1:1 mock-up I did to get an idea of the display size:

http://robotguy.net/tn_pw_mockup.jpg http://robotguy.net/tn_pw_mockup2.jpg

I spent quite a while on Sat. night grabbing pics of pocket watch dials from eBay and resizing them.

SP-PDA update

I went to the local antique fair today and found this pocket watch case for $5:

I have also started a power budget:

Power Budget

The good news is that I found a 300mAh battery that fits in the case along with the electronics, so I should get 4.7 hours of runtime and/or 18 days on standby before I need to recharge the battery.

OLED info and demos

There is a demo of the 128 x 128 OLED here. It has the same drivers as the 96 x 64 version that I am using. Check out the unicorn animation near the end. I am hoping I can animate an imp and have the option of having a Dis-organizer.

Disorganizer

Steampunk PDA – Project planning

I decided to spend a little more time planning this project than I usually do (a stitch in time and all that…), so I started some design documents on Google docs:

Feature List

Schedule

Hopefully this will help keep me on track a little better, and avoid scope creep.

PDA, take two (or is it three?)

While I have been thrilled with the success of the 128×128 LCD, I happened upon an oLED display today that would allow the whole thing to be miniaturized to the point it would fit in a pocket watch:

Pocketwatch PDA

Let there be…. uh…. color

I am having so much fun with this PDA/Tricorder project! Although the 128 X 64 mono LCD is cool and all, I just had to buy the 128 X 128 color LCD from Sparkfun that I’ve had my eye on. I wired it to my ATmega128 breakout board and powered the whole thing with my STK500 set to 3.3V

Voila! I had a nifty color LCD for my project. Here are a few screenshots:

Icons Flower World Setup

I also picked up a few Hammond electronics enclosures ( I love electronics enclosures! I collect them…) from Allied. I get a great deal through work, plus free shipping. I got the 1553B and the 1455J1201. Of course I am also considering putting the electronics into an actual tricorder case. I bought a scratch-build kit from GMProps (look him up on the tricorder props forum), but it proved to be too much for me. Maybe I’ll try a Playmates Tric from Ebay.

Toward a Buttonless Interface

I have been struggling for a while with the lack of user input on the PDA project. I had considered adding an interface through the RF transceiver, but that would mean I would need to be near a PC. I have been unable to find any pushbuttons that I like to install on the face. So I did the next best thing. A sharp sideways tap on the right side of the enclosure brings up a menu, with a small circle next to the selected item:

Screenshot

Tilting the unit in the y direction moves the selection circle, and another tap selects the item. It still needs a bit of tweaking. It seems much easier to tilt in the x direction, because I tilt the unit towards my face when looking at the screen, and that makes the selection circle move down the llist.

Here are links to a few thing I found during my research into tiny user interfaces:

From the “Because I can” Department…

While waiting for my RF boards to arrive from Sparkfun, I started another project (ooh, look! Something shiny!). I have always liked building things that I could carry around with me, so I decided to build my own PDA. I had the graphic LCD and plenty of processors laying around. I figured adding an RF link back to the PC would not only make it more functional but also help produce code that would be useful for the Spoka project. I also figured that I could combine it with my Tricorder project (notebook pages 3-12) and add as many sensors as I could fit in this little OKW enclosure.
Inside Size Comparison Screenshot PC RF Base

The processor is an ATMega32. I have added a 128 X 64 graphic LCD, a 2.4GHz RF Transceiver, battery-backed real time clock, 2 axis accelerometer, linear Hall effect sensor, and a white led flashlight. The IR receiver is not connected yet. I still plan to add an RGB color sensor and an IR transmitter.

The source code was compiled with WinAVR and is available here. The library for the graphic LCD is from Gregor Horvat (http://www.indata.si/grega/) for the compatible HD61202 controller. After updating a few deprecated commands, it worked first time! I can’t remember where I got the library for the DS1307 clock that I converted for the DS1305. If anyone recognizes it, please let me know. The defines for the NRF24L01 came from S. Brennen Ball.

As you might be able to see from the screenshot, I am currently reading the battery voltage (upper left), magnetic field strength (upper right), x and y acceleration (lower left), and the current time (lower right). The cross-hairs and “bubble” in the center of the screen form a 2-axis level. See the picture of it in my hand for an example with the unit tilted on one axis. The RF transceiver is working well and capable of exchanging data with a PC base unit that connects via serial at 115200 baud.

(BTW, my order arrived from Sparkfun, but I’m having so much fun with this project, I may not get back to Spoka)