Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
5V power from pc
Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351, hydrolisk1792
-
- Posts: 12
- Joined: February 1st, 2007, 3:56 pm
- Location: Athens
- Contact:
5V power from pc
Hi,
I have found a solution about the power.
First I have used a battery but sometimes I forget to turn off the power at the nght so at the morning the battery was dead.Then I try an AC adaptor 220v to 5v that was better but i had to put it off from the wall because the backlight remained on all the night.
So I solve my problem with this. I thought that the PS/2 port of the mouse (or keyboard) might have power so I search the pins and I find that pin 1(at the schematic looking the connector from the back) has +5v and the pin 2 is the ground.The lcd and the backlight(with a resistor) needs ~10mA so it is safe for te motherboard (You can take up to 100mA).NOW THE LCD SWITCHES ON AND OFF WITH THE COMPUTER.
http://kostassite.gr/forum/download.php?id=39 Here is the schematic.
I have found a solution about the power.
First I have used a battery but sometimes I forget to turn off the power at the nght so at the morning the battery was dead.Then I try an AC adaptor 220v to 5v that was better but i had to put it off from the wall because the backlight remained on all the night.
So I solve my problem with this. I thought that the PS/2 port of the mouse (or keyboard) might have power so I search the pins and I find that pin 1(at the schematic looking the connector from the back) has +5v and the pin 2 is the ground.The lcd and the backlight(with a resistor) needs ~10mA so it is safe for te motherboard (You can take up to 100mA).NOW THE LCD SWITCHES ON AND OFF WITH THE COMPUTER.
http://kostassite.gr/forum/download.php?id=39 Here is the schematic.
Last edited by kostassite on August 29th, 2007, 11:29 am, edited 2 times in total.
-
- LCD Smartie Fanatic
- Posts: 132
- Joined: March 9th, 2005, 2:21 pm
- Location: UK
-
- Forum Supporter
- Posts: 590
- Joined: March 8th, 2006, 1:58 pm
- Location: Scotland
10mA sounds like a rather low current for an LCD plus backlight (even for a 2x16 LCD), unless it's running very dim. 60-100mA is typical for a 16x2 LED backlight. My 4x20 LCD uses up to 200mA for the LED backlight.
PS/2 and USB ports are a handy way to get regulated voltage at low current. With an external supply (especially AC adapters) you need to be careful about the voltage regulation. Some provide poorly regulated outputs that are well above the stated voltage.
I took the power for my LCD from a spare disk drive power connector inside the case. If you do this, it's a good idea to use a fuse of a suitable rating in the +5V wire to the LCD. I used a poly-fuse (self resetting) for my external LCD. USB ports have current limiting built in, and I think PS/2 ports usually have a poly-fuse.
PS/2 and USB ports are a handy way to get regulated voltage at low current. With an external supply (especially AC adapters) you need to be careful about the voltage regulation. Some provide poorly regulated outputs that are well above the stated voltage.
I took the power for my LCD from a spare disk drive power connector inside the case. If you do this, it's a good idea to use a fuse of a suitable rating in the +5V wire to the LCD. I used a poly-fuse (self resetting) for my external LCD. USB ports have current limiting built in, and I think PS/2 ports usually have a poly-fuse.
-
- Posts: 12
- Joined: February 1st, 2007, 3:56 pm
- Location: Athens
- Contact:
-
- Forum Supporter
- Posts: 590
- Joined: March 8th, 2006, 1:58 pm
- Location: Scotland
Hmm, an interesting extension to the project. Ambient light compensation, like some monitors and phones have now.
I've got my backlight under PWM control from Smartie so it's easy to change if I need (which is basically never), but an automatic change would be cool.
A fixed-brightness backlight could be controlled with a photo-resistor and few resistors and transistors. There's probably even a schematic somewhere for it already...
I've got my backlight under PWM control from Smartie so it's easy to change if I need (which is basically never), but an automatic change would be cool.
A fixed-brightness backlight could be controlled with a photo-resistor and few resistors and transistors. There's probably even a schematic somewhere for it already...
-
- Posts: 12
- Joined: February 1st, 2007, 3:56 pm
- Location: Athens
- Contact:
-
- Hardware Genie - Plugin Author
- Posts: 374
- Joined: February 16th, 2005, 10:24 pm
- Location: Michigan
With a photosensor you dont have to go to both extremes (high and off). You can have the photosensor work within a range of half brightness to very very low brightness.
Mattcro, you could make smartie set the highest brightness and the lowest brightness through another command (say chr(254),chr(xx),chr(0-100),chr(0-100)). Then the micro could read the photosensor and vary the brightness between those two points.
Mattcro, you could make smartie set the highest brightness and the lowest brightness through another command (say chr(254),chr(xx),chr(0-100),chr(0-100)). Then the micro could read the photosensor and vary the brightness between those two points.