Post Reply 
Generic Calculator Shield for Arduino Photo-journal
03-15-2015, 06:45 AM (This post was last modified: 03-15-2015 06:46 AM by MarkHaysHarris777.)
Post: #27
RE: Generic Calculator Shield for Arduino Photo-journal
Greetings, I decided to handle the LCD back-light problem before continuing. Connected directly to the 5v supply the back-light draws 100 mA (dissipates 500 mW). So, I placed a 2N4401 switching transistor in-line with the back-light; driving it with pwm (pulse width modulation) on pin 10. I set the analogWrite(10, 120) so that the back-light is operating at 18 mA.

[Image: backlight-transistor2.jpg] [Image: backlight2.jpg]

This has really killed two birds with one stone, as it were, because one of the generic calculator functions (as well as contrast) should be to set the display back-light (on|off) with dimmer option.

Cheers,
marcus
Smile

Kind regards,
marcus
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Generic Calculator Shield for Arduino Photo-journal - MarkHaysHarris777 - 03-15-2015 06:45 AM



User(s) browsing this thread: 12 Guest(s)