Live data from Hacker News

Microcontroller LCD Initialization (2012)

web.alfredstate.edu

1–10 of 18 posts

Re: Microcontroller LCD Initialization (2012)

#2
in other words power must turn on and ramp time to operating level must be somewhere between 100 micro seconds and 10 milliseconds. this is accomplished easily with power conditioning between hardware and supply voltage. My first digital project is still operating in niagara falls ontario up on the wall in 2 of the more popular museums. the record fastest drumbeat in the world was held by "some guy" and was around 127 beats per minute. the brains of the project was a microcode 16f84, and 17f84. the 16f drove the display and fed alphnumeric while the 17f counted beats on a piezo electric drum pad and compared to the "record" beat. the skin of the finished project was slick, the inside was a fibreglass bread board. $1500 pricetag at time of release for $150 in parts and some brainwork.

Re: Microcontroller LCD Initialization (2012)

#4
post #3

It's amazing that this weird architecture has endured for so many years. These displays continue to be cheap and handy.

yes they are dinosaurs of a superior breed, TFT displays are something else too.

https://en.wikipedia.org/wiki/Thin-film-transistor_liquid-cr...

a neat thing about these LCDs is that there is a display buffer that holds the alphanumeric, but no need for the buffer to write to the display. the buffer can be written to and read from as if its memory [bcz it is!]

Re: Microcontroller LCD Initialization (2012)

#6
post #4
post #3

It's amazing that this weird architecture has endured for so many years. These displays continue to be cheap and handy.

yes they are dinosaurs of a superior breed, TFT displays are something else too. https://en.wikipedia.org/wiki/Thin-film-transistor_liquid-cr... a neat thing about these LCDs is that there is a display buffer that holds the alphanumeric, but no need for the buffer to write to the display. the buffer can be written to and read from as if its memory [bcz it is!]

Yeah, those TFT displays like ILI9341s are robust! You can tear the displays off of their backlights without bothering them at all.

Try it - they're what, $5 each?

https://i.imgur.com/gC8dWLV

Also, what's a good alternative to imgur besides S3 et al? It's getting annoying.

Re: Microcontroller LCD Initialization (2012)

#7
post #3

It's amazing that this weird architecture has endured for so many years. These displays continue to be cheap and handy.

For me it somehow shows a good point: Your architecture can be super weird and clusterfucked, but if it just works, people will use it neverthelesss.

I mean, you don't have to care about the architecture at all. You just throw some simple bits and characters at the screen and it displays that for you. I think the simplicity of that got these displays to the point where they are now

Re: Microcontroller LCD Initialization (2012)

#8
post #3

It's amazing that this weird architecture has endured for so many years. These displays continue to be cheap and handy.

Most of the programs I've seen do what the author calls "Initialization by Instruction" anyway. Bootstrapping and initialization are notoriously tricky to do in hardware, and a lot of us have been bit by this before. Besides, even a compliant power supply (i.e. one that normally meets the electrical requirements, which aren't all that strenuous, to be honest...) can end up being operated in a non-compliant environment.

The cool thing about these things is that most of them are 99% similar, which has helped with endurance more than anything else. It's a weird architecture, yes, but you can often replace a thirty year-old LCD with a brand new one and it'll work, often without any firmware adjustment. That is hard to beat (and, besides, there's hardly any reason to beat it).

Re: Microcontroller LCD Initialization (2012)

#9
post #2

in other words power must turn on and ramp time to operating level must be somewhere between 100 micro seconds and 10 milliseconds. this is accomplished easily with power conditioning between hardware and supply voltage. My first digital project is still operating in niagara falls ontario up on the wall in 2 of the more popular museums. the record fastest drumbeat in the world was held by "some guy" and was around 12…

"127 beats per minute"

This sounded slow to me, turns out it is

Some guy doing 20 beats per second https://www.telegraph.co.uk/news/newsvideo/weirdnewsvideo/10...

Edit: Quoted wrong

Re: Microcontroller LCD Initialization (2012)

#10
Gah I hate these bloody awful displays. You find out regularly that the display's memory isn't organised how you think (linearly) because the early displays were tiny, so writing say a line out on a 40x4 display turns into a nightmare.

The positive bit is once you've hidden all the oddness behind an API (mine is lcd_init(), lcd_cls(), lcd_pos(x,y), lcd_write(str) ) then they're totally fungible.

Post reply on HN