You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.2 KiB
32 lines
1.2 KiB
10 years ago
|
Keyboard Lamp
|
||
|
=============
|
||
|
|
||
|
This is a keyboard lamp with adjustable brightness, that remembers last brightnbess level even when powered off.
|
||
|
|
||
|
I've made it as a replacement for my broken ThinkLight.
|
||
|
|
||
|
It uses ATtiny13, and the schematic is something like this:
|
||
|
|
||
10 years ago
|
Vcc
|
||
|
|
|
||
|
,---------------+
|
||
|
| |
|
||
|
| +----u----+ |
|
||
|
'--| |--'
|
||
|
| ATMEL | Buttons
|
||
|
,--[180R]-|<|---| |--BRT----o/ o---,
|
||
|
| LED2 | ATtiny | |
|
||
|
| -| 13 |--DIM----o/ o---+--- GND
|
||
|
GND | |
|
||
|
,--| |----,
|
||
|
| +---------+ | LED1
|
||
|
| | ,-|<|--[47R]-- Vcc
|
||
|
GND | |
|
||
|
'-[10k]-|< Transistor NPN
|
||
|
|
|
||
|
GND
|
||
10 years ago
|
|
||
|
LED1 is the bright white LED, LED2 is an indicator that the brightness has been saved. You can leave LED2 out if you want.
|
||
|
|
||
10 years ago
|
**Fuses** and other settings can be found in the Makefile.
|