Saturday, September 6, 2014

HDSP clock mod displays proverbs

MikeM ported this "proverb clock" to HDSP clock. I did not have a chance to try the code myself yet (I am out of displays at the moment), but he vouches for it:
The proverb code is in place and working well.  I created a simple menu, accessed by pressing the hour and the minute buttons at the same time.  I have a 12 hour/24 hour selector, brightness selector, and Proverbs on/off selector.
Grahame Marsh's original proverb list was all in upper-case because his VFD displays only handled upper-case.  I've regenerated the compressed proverb list after changing it to only capitalize the first letter.  To do more than that I'd have to proof-read each of the 770 proverbs and find all the proper nouns to capitalize.  Capitalizing the first letter as a compromise doesn't look bad.  It helps the eye find the start of the word while the proverb is scrolling.

Mike also 3D-printed this stand, re-scaling to 72% this iPhone dock from thingiverse.

Thanks Mike!

P.S. I was a backer for this kickstarter clock. I like the way it turned out. It looks pretty similar to my old BookClock, using a similar 32x8 display, but centered around a Raspberry Pi (instead of just a simple Arduino), the main reason being the need to access the internet (to get the time, quotes, personal financial data etc). The only issue with this clock is that it is not open source (well, at least not the software). But I am sure an equivalent functionality can be achieved with a WiFi module (e.g. the cheap and famous by now ESP8266) connected to BookClock's Arduino.

Saturday, August 30, 2014

ProMini clock shield with OLED display

Yet another ProMini clock shield kit, this time featuring a 128x64 I2C OLED display.

The kit can be purchased with or without the OLED display (I prefer you buy the OLED on your own, for example this excellent one from miker).

  US$30, includes OLED display, free shipping to North America

  US$16, OLED not included, free shipping to North America

The kit includes:
  • PCB
  • DS1307 SMD
  • 32kHz crystal
  • CR1220 coin battery
  • battery holder
  • optional: I2C 128x64 OLED display (blue or white)
  • tactile switch (2x)
  • resistor 10k (2x)
  • machined male pins

The PCB was designed to accommodate I2C OLED displays with the 4-pin header configured either as VCC-GND-SDA-SCL or as VCC-GND-SCL-SDA.

The OLED clock can also be powered from the same LiPo battery shield for ProMini, as used in the bubble clock. To minimize current consumption (beside disabling the ProMini on-board LEDs), the processor can be awaken from sleep at the push of the "hours" button (on D3).

Schematic and board layout are shown below.

The OLED clock could show the time in many different ways, including Pong mode (sketch adapted from miker), analog clock mode, digital clock mode (sample sketches to be provided soon).

ProMini clock shield with 7-segment bubble display

This clock was designed as a ProMini shield. It comes as a mostly-SMD kit, based on DS1307 with battery backup and the QDSP-6064 7-segment LED "bubble" display.

   US$18, free shipping to North America

The kit includes the following:
  • PCB
  • QDSP-6064
  • DS1307 SMD
  • 32kHz crystal
  • CR1220 coin battery
  • battery holder
  • 330 ohm resistor 0805 (8x)
  • tactile switch SMD (2x)
  • machined female pins

The assembled clock can be fitted with a LiPo battery shield for ProMini, as shown in this post (source code also provided there).
The current draw (measured at 20mA with an unmodified ProMini) can be minimized by removing the 2 LEDs on the ProMini board, as well as dimming the 7-segment bubble display through software (SevSeg library). One other way of maximizing the LiPo battery life cycle is by waking the clock from sleep mode at the press of the "minutes" button (on D2).

Schematic and board layout are shown below.

Back in "business"

Just returned from my vacation in Paris. Hotel de Crillon was closed for renovations, Ritz had limited availability also due to renovation, so I had to settle for The Peninsula ;)

Here are a few impressions and observations, while still fresh.
  • taxis only take cash; ride from the airport to Paris center is about 60 euro and takes about 50 minutes;
  • the lowest cost Starbucks coffee is twice as expensive as here, at about $4.5 (3 euro), but still a lot cheaper than the "cafe creme" at Les Deux Magots or Cafe de Flore;
  • cheques are still used for grocery shopping (!);
  • the fixed air conditioning units (installed outside the windows) are probably not allowed, since they would really spoil the beauty of the buildings; posters are also forbidden, though I saw some "pixel art" placed high (that is, hard to remove) on some buildings;

  • one can actually live on and retire from a job as waiter or hotel concierge;
  • tipping in restaurants or for services is not a habit;
  • selling padlocks around famous places is big business;
  • Lacoste has a "lab" which also makes beautiful bicycles (this may be of interest to Justin :)
  • great Star Wars animatronics in DisneyLand Paris;

  • charging stations for electric cars;
  • and finally, a (probably expensive) clock :)

Thursday, July 17, 2014

New kit in store: simple clock with HDSP-2534 display

The centerpiece of this clock kit is the vintage-style 8-character display HDSP-2534 originally from HP, currently manufactured by Avago. The assembled clock looks like in the photo below. The dock, not included in the kit, is a miniB USB phone charger; it can be easily sourced from ebay, if you don't already have one. (You can even get a fancy one, e.g. custom-made exotic wood, on

The kit includes the following components:

  • PCB;
  • ATmega328P, with bootloader and fuses for 8MHz internal clock, and the sketch preloaded (also downloadable from here);
  • HDSP-2534 display;
  • 595 shift register;
  • DS1307 real time clock;
  • 32kHz crystal
  • CR1220 battery;
  • battery holder;
  • push buttons (x2);
  • capacitor 100nF (x3);
  • 10k resistor (x3);
  • 28-pin socket;
  • 16-pin socket;
  • 8-pin socket;
  • 6-pin machined female header (x4).

   $40, free shipping to North America

Note: The kit is currently out of stock. Please send me an email (my address is in the top right corner of the page) if you want one. I will put together only a small number of kits at this price, since the display itself is sold by digikey for about $40.

Schematic and board layout are shown below. Preliminary Eagle files can be found here.

The kit is super easy to assemble. It is really impossible to misplace components on the board.
Still, here is some advice:
  • pay attention to the orientation of each of the three integrated circuits, when you insert them in their respective sockets;
  • before soldering the battery holder, put some solder on the big center pad;
  • avoid solder bridges between the USB miniB connector's terminals by wetting their pads (on the bottom side) with a flux pen;
  • it is recommended, for aesthetic purpose, not to solder the FTDI connector to the board; if you need to upgrade the existing software (download from here), you can just hold the 6-pin make header tightly in place while uploading the sketch;