Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Auto or digital contrast control for graphic LCD?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-AVR Archive
View previous topic :: View next topic  
Author Message
tang

Bascom Member



Joined: 12 Oct 2007
Posts: 41

blank.gif
PostPosted: Sun Feb 03, 2008 5:16 pm    Post subject: Auto or digital contrast control for graphic LCD? Reply with quote

Looking for a way to control LCD contrast automatically or by digital means, in other words, without any electro-mechanical devices like a pot.

Anything out there?
Back to top
View user's profile
mattcro

Bascom Member



Joined: 03 Oct 2007
Posts: 327
Location: Scotland

uk.gif
PostPosted: Sun Feb 03, 2008 7:20 pm    Post subject: Reply with quote

Depending on the LCD bias requirements, you can use a PWM output with an RC filter to provide a variable voltage, or you can try a "digitally controlled potentiometer". These connect to the micro via SPI or I2C bus and have, for example, a 10K total resistance and you can select any of 64 positions for the "wiper", so you can control the contrast in software. Some of these devices will remember the last setting and automatically return to this setting when they power up. Available from various manufacturers like Analog Devices and Maxim.
_________________
If all else fails, read the manual. Even better: read the manual before something fails. If you can't find it in the manual, search the forum.
BascomAVR 2.0.8.5
Back to top
View user's profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> BASCOM-AVR Archive All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum