Close

The bubble display

A project log for dsPIC: from Blink to QEI

a simple project with dsPIC33

jakub-pnkJakub P̵̗̋n̵̻̾k̶͙͘ 02/19/2021 at 19:480 Comments

Bubble displays are characterized by their clever magnification technique. Nothing but power-hungry LEDs await under the smart glasses - they draw up to 90 mA. 

The display measures 20x17mm.

Not much is needed to extend the blink program to drive the HPDL-1414 bubble display. 

There are 12 pins, two of which are used for power and one for a write signal. The remaining 9 pins transmit the data - two to select the digit and the rest to select the character from a set of 64. The display has volatile memory, so it will remember the previously displayed character as long as it is powered. 

Character is made out of 16 individual segments.

I will power the display with 5V. Since the display is smart, it integrates all the necessary things to drive the LEDs, and I can control it with the 3.3V logic from dsPIC.

Looking at the timing characteristics, only minimum timing is specified. Since I'm using an 8MHz internal oscillator, the dsPIC will execute one instruction per 250ns. Therefore, I don't have to use a timer and rely on my setup's relatively low MIPs.

This time, I don't use the custom name from MCC and write directly to the register.

And the display happily counts away.

Discussions