| 1 | === PWM Dimmer === |
| 2 | |
| 3 | This board will provide I2C intensity control for a Luxeon white LED. |
| 4 | Three control options are provided: |
| 5 | |
| 6 | |
| 7 | analog input of BuckPuck |
| 8 | |
| 9 | input of BuckPuck |
| 10 | |
| 11 | (not constant current... 12V supply with limit resistor) |
| 12 | |
| 13 | ==== PCB Documentation ==== |
| 14 | |
| 15 | * [http://joule.bu.edu/~hazen/LED_dimmer/dimmer_pcb_legend.pdf Layout] |
| 16 | * [http://joule.bu.edu/~hazen/LED_dimmer/dimmer_sch_upd.pdf Schematic] |
| 17 | * [http://joule.bu.edu/~hazen/LED_dimmer/dimmer_ExpressPCB.zip PCB Design] |
| 18 | [http://www.expresspcb.com ExpressPCB] |
| 19 | * Assembly Notes: |
| 20 | * Buckpuck mounts on bottom side of PCB (oops) |
| 21 | * Cut trace to U3-6, wire to U3-7 |
| 22 | |
| 23 | ==== Programming ==== |
| 24 | |
| 25 | || Digital Pot || 50 || fb || 00-3f || Pot 1 setting || |
| 26 | || PWM control || 60 || 01 || 00-ff || PWM 0 blink rate [[(n+1)/152_Hz]] |
| 27 | || || || 02 || 01-ff || PWM 0 duty cycle [[n/256]] |
| 28 | || || 60 || 03 || 00-ff || PWM 1 blink rate [[(n+1)/152_Hz]] |
| 29 | || || || 04 || 01-ff || PWM 1 duty cycle [[n/256]] |
| 30 | || || || 05 || 00-0f || Selector: bits 0-1 = white LED; bits 2-3 = red LED || |
| 31 | || || || || || 00=off 01=on 10=PWM 0 11=PWM 1 || |
| 32 | |
| 33 | ==== Parts Documentation ==== |
| 34 | |
| 35 | * Luxeon LXHL-MW1D High-intenisty LED [http://www.luxeon.com/pdfs/DS23.pdf Data Sheet] |
| 36 | * Philips PCA9530 2-output I2C PWM Dimmer [http://www.semiconductors.philips.com/pip/PCA9530D.html Data Sheet] |
| 37 | [http://joule.bu.edu/~hazen/DataSheets/Philips/PCA9530_2.pdf local copy] |
| 38 | * DS3906 digital pot |
| 39 | ([http://joule.bu.edu/~hazen/DataSheets/Dallas/DS3906.pdf Data Sheet] |
| 40 | ([http://www.maxim-ic.com/package_drawings/21-0061I.pdf Package Drawing] |
| 41 | * [http://www.i2ctools.com I2CTools.com] |
| 42 | [http://www.i2ctools.com/Downloads/USB-to-I2C_Hardware_User_Manual.pdf Hardware Manual] |
| 43 | * [http://www.leddynamics.com LED Dynamics] BuckPuck constant-current driver [http://www.leddynamics.com/LuxDrive/datasheets/3021-BuckPuck.pdf Data Sheet] |
| 44 | |
| 45 | |
| 46 | ==== Bit-Bang I2C Interface ==== |
| 47 | |
| 48 | |
| 49 | test program |
| 50 | |
| 51 | {{{ |
| 52 | LS05 pin 14 (Vcc) o ------- |
| 53 | | | | |
| 54 | +--+--+---------------------+--+--+------------+------+-o 1 | |
| 55 | | | | | | | ===.1uF | +5V | |
| 56 | -------- [[R]][[R]][[R]] 3x10K 3x10K [[R]][[R]][[R]] |
| 57 | | | | | | | | | pin 7 o-+------+-o 2 | |
| 58 | | 12 o-+--+ | | 3|\ 4 | | | (Gnd) | GND | |
| 59 | | 17 o-+-----|--|----| >o-------------+--|--|--------------+ | | |
| 60 | | | | | |/ 8 /|9 | | 10 /|11 +----+-o 3 | |
| 61 | | 15 o-+-----+--|--------------o< |------+--|------o< |----+ | SCL | |
| 62 | | | | 1|\ 2 \| | \| | | |
| 63 | | 9 o-+--------|----| >o-------------------+--------------+----+-o 4 | |
| 64 | | | | |/ 6 /|5 | | SDA | |
| 65 | | 11 o-+--------+----------------------------------o< |----+ ------- |
| 66 | | 10 o-+-+ \| 4-pin |
| 67 | | 13 o-+-+--oGND Connector |
| 68 | | 25 o-+-+ ------------------ Part List -------------------------- |
| 69 | -------- | 1 - .1 uF capacitor | 6 - 10K 5% resistors | |
| 70 | 25-pin male D | 1 - 4-pin connector | 1 - 25-pin male D connector | |
| 71 | connector to PC | 1 - 74LS05 open collector hex inverter | |
| 72 | printer port ------------------------------------------------------- |
| 73 | |
| 74 | }}} |
| 75 | |
| 76 | |
| 77 | |