LOW POWER LCD CLOCK BASED ON AN AVR128DA48

The Liquid Crystal Displays (LCDs) are a type of flat panel display that uses liquid crystals for operation. They are relatively old technology but can be seen in clocks, laptops, computers, calculators, dashboards, and other electronic projects and devices because of their advantages over newer types of displays, including low power, low cost, and readability. Digital LCD watches are quite popular and generally preferred due to their long battery life. David Johnson-Davies recently posted his Low Power LCD Clock in his blog post where he made a very low-power LCD clock, based on an AVR128DA48, capable of running for over three years from a CR2032 button cell or forever from a solar cell.

David used Densitron DG-201208-RP standard LCD for this project. He says,

“I recently bought some Densitron LCD displays on eBay for a few pounds/dollars, and I’d been wanting to try building a low-power clock around them, to see just how low I could get the power consumption.”

The ones used are static displays that can be implemented with independent electrodes for each segment. On the other hand, multiplexed displays are usually implemented with pixels arranged as a matrix consisting of electrically connected rows on one side of the liquid crystal layer and columns on the other side. Each pixel can be activated by intersection. The static display requires 28 individual segment I/O pins, three decimal points, one for colon, and one/two common pin totaling 33-34 pins; plus, there can be some extra display like a minus sign, etc.

There’s one catch; you can’t use a DC voltage to turn on the segments, because this would cause electrolysis to occur which would slowly degrade the display. The solution is to use AC by switching the polarity across the segment at a low frequency; 32Hz is usually recommended. Fortunately, this is easy to do in software.

The processor used is an AVR128DA48 in a TQFP-48 package, running at up to 24 MHz and with 128 KB Flash, 16 KB SRAM, and 512 bytes of EEPROM in 48-pin packages. One can also use the lower memory version of these devices as well as ATmega4809 and its lower memory versions which are pin-compatible. David says that the only restriction is that the pins he has used for I2C, PF2 and PF3, only support slave I2C on the ATmega4809. It spends most of its time in sleep mode, for power saving and is turned On by a 64Hz interrupt from the RTC peripheral. The RTC peripheral also keeps time that is controlled by the onboard 32.768kHz crystal oscillator.

Read more: LOW POWER LCD CLOCK BASED ON AN AVR128DA48


About The Author

Muhammad Bilal

I am a highly skilled and motivated individual with a Master's degree in Computer Science. I have extensive experience in technical writing and a deep understanding of SEO practices.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top